Hi, on the advice of a friend I am testing leadwerks, so far all my games have been programmed with Blitz3D, but I need to expand my horizons, especially in graphical limitations, so I am learning how to use Leadwerks.
I spent all week trying to understand how Leadwerks, Lua, Shaders, CPU / GPU works ... hours and hours of youtube and see the forum, and I make my fist steps in Leadwerks in a simple game.
To learn I decided to make a game of a boat, which must defend and attack in a small lake.
Until now, achieve:
- Import objects from 3dsmax
- Assign materials to objects.
- Make a script to move the boat
- Make a script to rotate the turret
- Make a script to change the elevation of the cannon. And when you press SPACE, shoot.
I have a thousand questions to ask, but I want to try to discover it on my own. Although some I think it is better to ask them so I already learn to make the code in the correct way. When I press SPACE I create an ammunition, but how do I do it? And how do I check all the ammunition and move them, according to your SCRIPT. And mainly, where should the code go to review all the ammunition in each loop?
Greetings, Santiago