first of all THX for your help!
well.. i'm no expert in programming but i got most of my experience in Java-coding (e.g. with the Slick-GameEngine) so my biggest lack should be handling pointers and stuff.
so what i did before the main loop was creating objects like this:
Tank firstVehicle = new ...
Search found 3 matches
- Sun Oct 16, 2011 1:28 pm
- Forum: Beginners Help
- Topic: RTS Game: Question about Creating Objects
- Replies: 5
- Views: 826
- Sat Oct 15, 2011 7:21 pm
- Forum: Beginners Help
- Topic: RTS Game: Question about Creating Objects
- Replies: 5
- Views: 826
RTS Game: Question about Creating Objects
Hey Folks! I'm currently working on a RTS-Game (C&C-like) and i'm stuck at one point:
I got a class called "Vehicle" for vehicles like Tanks and for testing purposes I create two or three Vehicles just before my game-cycle in the main-method. But i have absolutely no idea how to create more Objects ...
I got a class called "Vehicle" for vehicles like Tanks and for testing purposes I create two or three Vehicles just before my game-cycle in the main-method. But i have absolutely no idea how to create more Objects ...
- Mon Oct 10, 2011 6:24 pm
- Forum: Beginners Help
- Topic: Question about sceneNodes
- Replies: 8
- Views: 519
Question about sceneNodes
Hey everyone, i'm doing my best to program my first RTS-Game with the Irrlicht engine.
Here is my problem:
I got a class "Vehicle" and every Vehicle gets a pointer on a scene node, which is e.g. a Tank or a Rover...
now i want to select one Node with my cursor ( by using a ray and the ...
Here is my problem:
I got a class "Vehicle" and every Vehicle gets a pointer on a scene node, which is e.g. a Tank or a Rover...
now i want to select one Node with my cursor ( by using a ray and the ...