Search found 669 matches

by netpipe
Sat Jun 25, 2022 4:37 am
Forum: Project Announcements
Topic: Luna Game Engine
Replies: 57
Views: 32170

Re: Luna Game Engine

by netpipe
Sat Jun 25, 2022 12:50 am
Forum: Project Announcements
Topic: Luna Game Engine
Replies: 57
Views: 32170

Re: Luna Game Engine

looks like i got working compile on macOSX now too, its looking for game scripts so that means its nearly there and python + irrlicht are functioning.
by netpipe
Sat Jun 25, 2022 12:23 am
Forum: Advanced Help
Topic: MacOSX codeblocks compiling
Replies: 12
Views: 3425

Re: MacOSX codeblocks compiling

duplicate post from https://irrlicht.sourceforge.io/forum/viewtopic.php?p=306239&hilit=osx#p306239 I was able to compile irrlicht 1.8.5 with codeblocks only on macosx using clang i did have to comment out archive loading and some zlib files that were still there after. modified the compilers sec...
by netpipe
Sat Jun 25, 2022 12:17 am
Forum: Open Discussion and Dev Announcements
Topic: Irrlicht 1.8.5 released
Replies: 7
Views: 6906

Re: Irrlicht 1.8.5 released

I was able to compile irrlicht 1.8.5 with codeblocks only on macosx using clang i did have to comment out archive loading and some zlib files that were still there after. modified the compilers section to point the llvm-ar path to just ar the first example use the "example copy.cbp" file h...
by netpipe
Tue Jun 21, 2022 11:15 pm
Forum: Beginners Help
Topic: Joystick Event Handler
Replies: 25
Views: 2027

Re: Joystick Event Handler

Amiga still ? it was for linux but the way patches are made it could be for both.
by netpipe
Tue Jun 21, 2022 6:40 pm
Forum: Beginners Help
Topic: Joystick Event Handler
Replies: 25
Views: 2027

Re: Joystick Event Handler

yes, in the example i posted it will not follow mouse at all. the joystick axis values are random each time but stay fixed for some reason instead of only reading 0's to make it more compatible. we can get rid of the check in the main loop // if(joystickInfo.size() > 0) because there is already one ...
by netpipe
Tue Jun 21, 2022 1:22 pm
Forum: Beginners Help
Topic: Joystick Event Handler
Replies: 25
Views: 2027

Re: Joystick Event Handler

/** Example 019 Mouse and Joystick This tutorial builds on example 04.Movement which showed how to handle keyboard events in Irrlicht. Here we'll handle mouse events and joystick events, if you have a joystick connected and a device that supports joysticks. These are currently Windows, Linux and SD...
by netpipe
Tue Jun 21, 2022 1:21 pm
Forum: Beginners Help
Topic: Joystick Event Handler
Replies: 25
Views: 2027

Re: Joystick Event Handler

yes i get what i thought were stray floats with no joystick connected but the arrow flys off in same direction every time -0.6662190.882839-0.6662190.882839-0.6662190.882839-0.6662190.882839-0.6662190.882839-0.6662190.882839-0.6662190.882839-0.6662190.882839-0.6662190.882839-0.6662190.882839-0.66621...
by netpipe
Tue Jun 21, 2022 7:38 am
Forum: Beginners Help
Topic: X11 IrrlichtDevice window and display
Replies: 4
Views: 240

Re: X11 IrrlichtDevice window and display

viewtopic.php?t=52786 , incase anyone needs the extra info to get it working
by netpipe
Tue Jun 21, 2022 4:28 am
Forum: Beginners Help
Topic: Joystick Event Handler
Replies: 25
Views: 2027

Re: Joystick Event Handler

i only used the joystick demo from 1.8.4 on line 190 // if(joystickInfo.size() > 0) // { comment out that and run it with no joysticks attached to see what i noticed the cursor gets wild data and goes off screen. line 214 add printf("%f",moveHorizontal); helps debug the numbers seems like ...
by netpipe
Mon Jun 20, 2022 11:36 pm
Forum: Beginners Help
Topic: Joystick Event Handler
Replies: 25
Views: 2027

Re: Joystick Event Handler

it looks like we would just use this code again from the devicecreate constructor

for (u32 joystick = 0; joystick < ActiveJoysticks.size(); ++joystick)
{
if (ActiveJoysticks[joystick].fd >= 0)
{
close(ActiveJoysticks[joystick].fd);
}
}
by netpipe
Mon Jun 20, 2022 8:56 am
Forum: Beginners Help
Topic: Joystick Event Handler
Replies: 25
Views: 2027

Re: Joystick Event Handler

IsButtonPressed() worked for me. i was wondering though if there should be a device->deactivateJoysticks () so that it does not generate junk data messages for me after checking if joysticks are present.
by netpipe
Mon Jun 20, 2022 7:15 am
Forum: Beginners Help
Topic: Key Binding or Forwarding help?
Replies: 12
Views: 849

Re: Key Binding or Forwarding help?

can the EKA_MOVE_FORWARD be triggered without the keyboard ? for joysticks if (CursorKeys[EKA_MOVE_FORWARD]) pos += movedir * timeDiff * MoveSpeed; maybe irrlicht needs a joystick version with variable movespeed or sensitivity to try it would need a vertical and horizontal movespeed to make it more ...
by netpipe
Thu Jun 16, 2022 8:49 am
Forum: Code Snippets
Topic: TextArea GUI Element [v1.0]
Replies: 37
Views: 98747

Re: TextArea GUI Element [v1.0]

is this really in irrext svn ? i did not find it there.