bharling
08-04-2007 12:38:15
Hi all,
I just converted my old pyOgre project to Python-Ogre which was a pleasant enough experience, and one I managed to complete in only a few hours. The main bottleneck was upgrading to OIS from ogre's input system.
It is loosely based on this classic shareware game, and my intention is to do a vaguely similar remake in 3d, but with some new features.
Ye ScreenShots:




So what I have so far is:
Large-scale landscapes created with L3DT, sadly not optimized yet (anyone know how to use PLSM?)
Player character who can run about, shoot and jump. Jump skill can improve with practice, gaining new flip moves and much higher jumps.
Some enemies, consisting of soldiers, b52's, robots (standard ogre ones) and some blackhawk choppers. All have a very basic AI at the moment. Animation system is working nicely though, and easy to expand.
Scenery, plants and simple buildings.
My own custom collision detection (Not Very Great), using octrees.
So, on to my question:
How do you detect a Key-UP is OIS? I've got the keydowns working fine, but my jump system is now broken because it relies on keyUp to play the right animation.
any help or T&C's welcomed
Note: This is really a very part-time project. I hadn't worked on it for ages until i decided to update it to Python-Ogre yesterday. A nice framerate improvement and much prettier shadows have helped my enthusiasm though
I just converted my old pyOgre project to Python-Ogre which was a pleasant enough experience, and one I managed to complete in only a few hours. The main bottleneck was upgrading to OIS from ogre's input system.
It is loosely based on this classic shareware game, and my intention is to do a vaguely similar remake in 3d, but with some new features.
Ye ScreenShots:
So what I have so far is:
Large-scale landscapes created with L3DT, sadly not optimized yet (anyone know how to use PLSM?)
Player character who can run about, shoot and jump. Jump skill can improve with practice, gaining new flip moves and much higher jumps.
Some enemies, consisting of soldiers, b52's, robots (standard ogre ones) and some blackhawk choppers. All have a very basic AI at the moment. Animation system is working nicely though, and easy to expand.
Scenery, plants and simple buildings.
My own custom collision detection (Not Very Great), using octrees.
So, on to my question:
How do you detect a Key-UP is OIS? I've got the keydowns working fine, but my jump system is now broken because it relies on keyUp to play the right animation.
any help or T&C's welcomed

Note: This is really a very part-time project. I hadn't worked on it for ages until i decided to update it to Python-Ogre yesterday. A nice framerate improvement and much prettier shadows have helped my enthusiasm though