Code: Select all
Controls
Arrow keys to move
Left click to shoot a cube
Backspace to add tower. The towers change their X position every time they are made so they do not spawn inside each other.
'N' prints the amount of cubes in the world
Mouse to lookhttp://www.mediafire.com/file/mcqffyizjzz/Irrlicht.dll
The demo:
http://www.mediafire.com/file/z5dizwmte ... etdemo.exe
I have not posted the code because it is sloppy and I do not want to cause problems for new coders.
However, I would be glad to help anybody who wants it. Feel free to ask how something works.
If enough people want it, I will tidy the source and post it.
Edit: I uploaded the source. Look down a couple of posts.