Shooting in Irrlicht

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Arangol
Posts: 2
Joined: Wed May 24, 2006 1:35 pm

Shooting in Irrlicht

Post by Arangol »

Yes, I'm creating a 3d shooting game.
I would like to know if there is some inbuilt function/class that can help me do it better/faster/easier than with just plain c++ code. Or if anyone knows how to do it c++, can you post a link to a good tutorial or help me out with it because I'm a n00b at c++ (not with 3d graphics and programming). Or maybe you have some book to recommend?
Thanks
Arangol
(w00t 8) first post!)

EDIT: I have the 3d world ready, collision detection, movement and some "NPCs"(they don't move or anything), and health and gui I will add later.
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

If you don't need a real bullet flying yu should have a look at the collision demo (#07)...
Because a bullet flies that fast you couln't see it I suggest you to use a ray cast...
The thing in the demo that places the billbord on the wall...
Do this just if you click the mouse button and check what it hits...
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Evil Game Manic
Posts: 12
Joined: Sun Apr 23, 2006 11:05 pm

Post by Evil Game Manic »

if you want to see how shooting is done, then you can check out the demo that is in the examples or download irrwirzard by area51 if you have irrlicht0.14.0 i think there is a bug so if you do have it then download the new version.
I'm not Game Manic
Arangol
Posts: 2
Joined: Wed May 24, 2006 1:35 pm

Post by Arangol »

I would need a bullet to fly like in the demo. I tried to port the code to my game
(my game is the collision detection test, just running in full screen, and many modifications, new map etc.. but the basic code is the same)
but it didn't work. If anyone could show how to do it with the collision detection example then I would be very grateful.
Post Reply