Search found 17 matches

by cemedias
Wed Dec 08, 2010 4:11 am
Forum: Beginners Help
Topic: Scene events in Irrlicht?
Replies: 2
Views: 260

Scene events in Irrlicht?

Hello all, I have a quick question for you. I was wondering how to go about handling user events from inside the scene. For example, if the player collides with a specific object, say a door that signifies the end of a level, I want to catch that event then end the current scene and start the next. ...
by cemedias
Thu Oct 21, 2010 4:51 pm
Forum: Beginners Help
Topic: Animate irrEdit lights
Replies: 8
Views: 454

Thanks for the help ruggjack. I will try irrEdit 1.5 tonight. My only question is will irrEdit 1.5 work with irrlicht 1.7? The ambiera website says it is only compatible with irrlicht 1.5. In regard to your edit, I tried manually creating my animator for the light but I figured that once I finish th...
by cemedias
Wed Oct 20, 2010 9:35 pm
Forum: Beginners Help
Topic: Animate irrEdit lights
Replies: 8
Views: 454

Actually, I think I narrowed down the source of my problem. I decided to compare the text of my level.irr file with the example.irr file from example 15, and my file doesn't have any animators listed. For instance, the example.irr file has: <animators> <attributes> <string name="Type" valu...
by cemedias
Wed Oct 20, 2010 9:13 pm
Forum: Beginners Help
Topic: Animate irrEdit lights
Replies: 8
Views: 454

Ok, apparently the problem is coming from how I am calling loadScene. The game starts with a simple GUI with two buttons, one to begin the game and the other to quit. In my onEvent, I have this code: case EGET_BUTTON_CLICKED: switch(id) { case GUI_ID_PLAY_BUTTON: { guienv->clear(); loadScene("l...
by cemedias
Wed Oct 20, 2010 8:19 pm
Forum: Beginners Help
Topic: Animate irrEdit lights
Replies: 8
Views: 454

Thank you for the reply. I'm really confused. Because that's what I did. I set the behavior on one of the lights in my scene on irrEdit to Fly in Circle, and it works in the editor and it's level tester, but when I load the scene into my game it only shows the level with static unmoving lights. All ...
by cemedias
Wed Oct 20, 2010 6:32 pm
Forum: Beginners Help
Topic: Animate irrEdit lights
Replies: 8
Views: 454

Animate irrEdit lights

I made a level in irrEdit and I uploaded it into my game using loadScene() from the scene manager. Does irrEdit support exporting dynamic lights to .irr files, and if so, how do I animate the lights from my .irr level in my code? Does irrEdit support exporting animations to .irr scenes that can be l...
by cemedias
Mon Oct 11, 2010 9:09 pm
Forum: Beginners Help
Topic: Accessing IrrEdit scene nodes
Replies: 4
Views: 621

Thank you for the helpful replies. I managed to access the camera with the following code: camera = static_cast<ICameraSceneNode*>(smgr->getSceneNodeFromId(397221078)); device->getCursorControl()->setVisible(false); cameraFPS = smgr->addCameraSceneNodeFPS(0,100.0f,0.5,-1,keyMap,9,true,0.1f,false,tru...
by cemedias
Sun Oct 10, 2010 3:48 am
Forum: Beginners Help
Topic: Accessing IrrEdit scene nodes
Replies: 4
Views: 621

Accessing IrrEdit scene nodes

I wrote a basic program to load a scene from IrrEdit. I'm having trouble figuring out how to access the scene nodes from my .irr scene. For example, I placed a FPS camera in my level with IrrEdit, and I want to be able to load the scene into my code and run it without having to manually create the c...
by cemedias
Tue Jun 26, 2007 2:14 am
Forum: Beginners Help
Topic: EKA_JUMP_UP problem
Replies: 13
Views: 1490

Please, if anyone knows why this isnt working i would appreciate it.
by cemedias
Fri Jun 22, 2007 7:19 pm
Forum: Beginners Help
Topic: I Need Some Basic C++ Tutorials
Replies: 9
Views: 870

http://www.cplusplus.com/. I suggest going to your local overstock store or library and checking out some books there. Books really are a lot better than tuturials.
by cemedias
Fri Jun 22, 2007 4:57 pm
Forum: Beginners Help
Topic: EKA_JUMP_UP problem
Replies: 13
Views: 1490

bump :)
by cemedias
Fri Jun 22, 2007 4:20 am
Forum: Beginners Help
Topic: EKA_JUMP_UP problem
Replies: 13
Views: 1490

Thanks for your posts. I did what you said Dances, but then it does what I described in my first post, when the camera jumps continuously like the jump button is stuck. Here is some code : Keymap and Camera code: irr::SKeyMap keyMap[9]; keyMap[0].Action = EKA_MOVE_FORWARD; keyMap[0].KeyCode = KEY_UP...
by cemedias
Fri Jun 22, 2007 12:03 am
Forum: Beginners Help
Topic: EKA_JUMP_UP problem
Replies: 13
Views: 1490

I have one more question. Is there anyway I can use my FPS camera, and make it so that when I hold down the spacebar it only jumps once?

BTW: sorry for the tripple post.
by cemedias
Thu Jun 21, 2007 11:48 pm
Forum: Beginners Help
Topic: EKA_JUMP_UP problem
Replies: 13
Views: 1490

Ooops. I'm really sorry, I fixed it. I just realized that I had some code in the OnEvent() to make it jump, and I forgot to remove that before I made my keyMap to do it. But it works now. Thanks.
by cemedias
Thu Jun 21, 2007 11:40 pm
Forum: Beginners Help
Topic: EKA_JUMP_UP problem
Replies: 13
Views: 1490

EKA_JUMP_UP problem

I'm having a problem with a FPS camera I put in my game. When I press space to jump, it doesnt stop jumping (as if the space key were stuck [which it isn't]) I made a custom keyMap for the camera, heres the code: irr::SKeyMap keyMap[9]; keyMap[0].Action = EKA_MOVE_FORWARD; keyMap[0].KeyCode = KEY_UP...