Tutorial: Defense Game in 200 Lines!

Hello everybody!

This is my first ever attempt at a tutorial, so i apologise in advance for the poor grammar and explanations, but we all have to start somewhere… :smiley:

This tutorial will show you some basic code blocks for collision, movement, health, score and wave systems. The enemies will gradually get faster and more will spawn the further you make it. When you die there is a simple restart screen to start the fun again…

It can be found here on our new website. I would recommend watching both videos at the beginning, just so you know what the tutorial will provide you with, as well as showing what you could achieve if you took the code, added your own images and weapons, and tried to make it into a full iOS game. You can just download the project from the provided links if you don’t fancy reading through my horrendous explanations :slight_smile:

Let me know what you think!
Any feedback on how to improve/ideas for the next tutorial would be great!

** EDIT: heres the latest two tutorials as well :slight_smile: **
Tutorial: Space Shooter in 240 lines!
Tutorial: Making a Slot Machine!
Thanks,
T and G Apps Ltd.

[import]uid: 69826 topic_id: 24762 reply_id: 324762[/import]

Thank you for sharing! [import]uid: 19626 topic_id: 24762 reply_id: 100361[/import]

This was really good. I got a feel for a few new things!

It made perfect sense to me, and I was able to go through it and know exactly what each piece was doing. I spent about 35 minutes with it which for me was more than enough time to get the hang of everything.

Sweet!

thanks for sharing !

ng [import]uid: 61600 topic_id: 24762 reply_id: 100368[/import]

No problem Rob!

35 minutes! Wow i didn’t think anyone would stick around for that long! Thanks a lot for checking it out nicholas, I’m glad you liked it and found it helpful :slight_smile:

Now i have an urge to make a more advanced version with multiple weapons… :smiley: [import]uid: 69826 topic_id: 24762 reply_id: 100372[/import]

This is an absolutely stellar contribution to the community, good for you! [import]uid: 52491 topic_id: 24762 reply_id: 100403[/import]

Thanks alot peach, that’s very nice of you!

All your awesome tutorials gave me the idea to give it a go :smiley: [import]uid: 69826 topic_id: 24762 reply_id: 100434[/import]

Well I’m happy to hear that, always nice to help encourage community spirit such as this :slight_smile: [import]uid: 52491 topic_id: 24762 reply_id: 100507[/import]

Very well done! Very usefull! Excellent contribution and sharing!
Thanks for that,
Rodrigo. [import]uid: 89165 topic_id: 24762 reply_id: 101441[/import]

Thanks for the kind words Rodrigo :slight_smile: [import]uid: 69826 topic_id: 24762 reply_id: 101649[/import]

These are wonderful tutorials. Thank you so much for taking the time to create them. I’m still working through them and the code explanations are extremely helpful as I’m still learning Corona. [import]uid: 78891 topic_id: 24762 reply_id: 101675[/import]

Thanks noevive, I’m glad your finding them helpful :slight_smile:

I should have enough time to start another one this weekend as well! [import]uid: 69826 topic_id: 24762 reply_id: 101798[/import]