Arena of Honor - Multiplayer FPS with Newton physics
Hi, I want to inform you about the progress of the game.
I recently ported it to IrrlichtNX because of some advanced features I need to use... I still have some problems with the new version. My artist redesigned the menu envirement, and I'm trying to implement it.
I want to post my main problems, maybe someone has a clue for me:
1. (not importent) I don't know how to correctly switch from the game, to my menu. I have different gamestates, and if I change from playgamestate to menustate, I don't update the 3d world and everything, but in the menustate, the guienvirement seems to disable all gui elements.
To disable the display of the 3d envirement, in irrlicht I just did not call smgr->drawAll(); but in irrlichtnx, i'm doing:
smgr->getRootSceneNode()->setVisible(false);
renderwin->removeSceneNodeController(CameraController);
and the reverse for re-entering game.
2. (very importent) my weapon models which i attached to the camera, simply by using setParent, are not working anymore. They are following the camera, but not instantly, so that i they my weapons at different position when i'm moving (i thing they are moved in the wrong frame). And no rotation is done on the weapon models, i mean they appear always at the same view direction of the player ( Thats very bad, and i don't know why... another thing is that the movement when using player physics to move, i always get 0,0,0 when calling camera->getRotation().
I recently ported it to IrrlichtNX because of some advanced features I need to use... I still have some problems with the new version. My artist redesigned the menu envirement, and I'm trying to implement it.
I want to post my main problems, maybe someone has a clue for me:
1. (not importent) I don't know how to correctly switch from the game, to my menu. I have different gamestates, and if I change from playgamestate to menustate, I don't update the 3d world and everything, but in the menustate, the guienvirement seems to disable all gui elements.
To disable the display of the 3d envirement, in irrlicht I just did not call smgr->drawAll(); but in irrlichtnx, i'm doing:
smgr->getRootSceneNode()->setVisible(false);
renderwin->removeSceneNodeController(CameraController);
and the reverse for re-entering game.
2. (very importent) my weapon models which i attached to the camera, simply by using setParent, are not working anymore. They are following the camera, but not instantly, so that i they my weapons at different position when i'm moving (i thing they are moved in the wrong frame). And no rotation is done on the weapon models, i mean they appear always at the same view direction of the player ( Thats very bad, and i don't know why... another thing is that the movement when using player physics to move, i always get 0,0,0 when calling camera->getRotation().
Arena of Honor: http://aoh.arturh.com
2) Unfortunately this is a known problem and to the best fo my knowledge has not yet been fixed. Read my post on the subject on NX forums http://www.irrlichtnx.mmdevel.de/phpBB2 ... .php?t=236
You can do the same thing I did there as a temporary fix, but it gives jerky movement. You could also see if you could get smooth movement, using what magic said. Personally I think it might be a good idea to make scene node controllers inherit from ISceneNodeAnimator, but I dion't know what others would think of that idea.
You can do the same thing I did there as a temporary fix, but it gives jerky movement. You could also see if you could get smooth movement, using what magic said. Personally I think it might be a good idea to make scene node controllers inherit from ISceneNodeAnimator, but I dion't know what others would think of that idea.
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.
Crucible of Stars
Crucible of Stars
the network stuff is really tricky, i can't say why its working now... maybe reading my code can help you, the main file for connecting is menu.cpp, there the server is started and the client waits for gettings connected. I'm checking for for rakClient->IsConnected() return true (then you are connected to the server), and then i wait for the static client data received package.
Btw, i don't know why, but you can't start a server and a client on the same machine (at least it did not worked for me)
Btw, i don't know why, but you can't start a server and a client on the same machine (at least it did not worked for me)
Arena of Honor: http://aoh.arturh.com
I released an updated version of Arena of Honor.
http://aoh.arturh.com
I integrated IrrlichtNX as the main new "feature".
That fixed the problem with misguided bullets while using player physics. I registred my project at sf.net, and uploaded the new version there.
The fix by magic worked completly, but I have one big problem with the new IrrlichtNX version now:
The mouseListener, mouseMovementListener, and MouseWheelListener are not working after starting the game. I really have no idea why, I set my CApp class as the listener, and called the mousePressed() functions f.e. of every active game state. Its working while I'm in the menu, but after starting game, simply no events are fired.
Maybe this has something to do with the camera controller, but I've tried to completly disable the camera controller, and even the camera itself, but the bug is still there...
http://aoh.arturh.com
I integrated IrrlichtNX as the main new "feature".
That fixed the problem with misguided bullets while using player physics. I registred my project at sf.net, and uploaded the new version there.
The fix by magic worked completly, but I have one big problem with the new IrrlichtNX version now:
The mouseListener, mouseMovementListener, and MouseWheelListener are not working after starting the game. I really have no idea why, I set my CApp class as the listener, and called the mousePressed() functions f.e. of every active game state. Its working while I'm in the menu, but after starting game, simply no events are fired.
Maybe this has something to do with the camera controller, but I've tried to completly disable the camera controller, and even the camera itself, but the bug is still there...
Arena of Honor: http://aoh.arturh.com
Its release time again
I fixed most bugs, and I created a nice xml file gui loader.
Now I can work on the gameplay, and the networking. I will integrate a masterserver for aoh, so everybody can find running games.
http://aoh.arturh.com - Version 0.83
I fixed most bugs, and I created a nice xml file gui loader.
Now I can work on the gameplay, and the networking. I will integrate a masterserver for aoh, so everybody can find running games.
http://aoh.arturh.com - Version 0.83
Arena of Honor: http://aoh.arturh.com
Yeah, finaly, i've got it
I implemented the first car into my game.
You can get a pre-release at: http://aoh.arturh.com/aoh_v084.zip
Its the first working version, but it works quite fine
I implemented the first car into my game.
You can get a pre-release at: http://aoh.arturh.com/aoh_v084.zip
Its the first working version, but it works quite fine
Arena of Honor: http://aoh.arturh.com
-
- Posts: 38
- Joined: Mon May 31, 2004 7:55 am
- Contact:
-
- Posts: 448
- Joined: Tue Oct 05, 2004 3:24 am
- Location: Boston, MA
Very nice application. However is the networking implamented I tryed to join a server and it wouldnt work. Whats up?
However I did host a game and played around and it was fun.
Good job!
However I did host a game and played around and it was fun.
Good job!
Irrlicht Moderator || Game Designer
Learn the basics at </dream.in.code>
Learn the basics at </dream.in.code>