Hello Everyone
I’ve finally got around to making another tutorial, a Tower Defense game! This is probably the most advanced (for maths anyway) tutorial yet, but hopefully the best one as well.
Just to quickly sum up the tutorial, it is a very basic tower defense game but it should help you with all the key areas; tower placement, enemy movement and tower firing calculations. There isn’t any tower upgrades in it as i thought i would leave the more interesting parts for you guys to make
If you want to take a look at the tutorial, then please follow the link below (also theres a video there!):
Tutorial: Tower Defense for iOS
The code itself has been made in such a way that it’s very easy to add new levels to straight away. Simply copy and paste some of the “level.lua” files, edit some of the information in them, add as many new levels as you like and then simply change 1 line of code in the “gameInfo.lua” file (line 254) to tell the game how many levels there now are. Its as simple as that!
Please feel free to use the code however you wish and also feel free to share the tutorial with your friends
I hope some of you find it helpful!
Any questions or suggestions for new tutorials then comment or get me on Twitter or Facebook.
Thanks,
Jamie Trinder - Technical Director
T and G Apps Ltd. [import]uid: 69826 topic_id: 29406 reply_id: 329406[/import]