Real Time Strategy Game - Individual Actor Enemy Targeting/Pathfinding Mechanics - Free Template
Hello everyone,
An RTS game is where you lead your army into battle and where large battles take place. I've always enjoyed these types of games such as Starcraft 2 or Age of Empires, and I've always wanted to make one of my own.
Recently I was dreaming up how I could create a simplified RTS game using GS (kind of like ICE by ice cold muffin) but I always got stumped on how to get each individual "warrior" to target the closest enemy "warrior" to him instead of all the "warriors" attacking the same enemy.
I finally got around to giving it a try in GameSalad and it actually turned out fantastically. So I decided to share the raw mechanics with the GS community. I hope you all find some use for it. As you can see in the demo video below, this mechanic can probably be used in so many other app types besides RTS.
Comments
@PureEpicStudios That is pretty cool. This would make a good GameSalad meetup group presentation if you are interested in talking in more detail about how the template works.
Have you tried our new a star path finding behavior in 0.14?
@BlackCloakGS I would be interested in giving a presentation on the details, as I am quite fascinated with it myself. When is the next meetup?
I did hear about the A* path finding behavior but I haven't gotten around to trying it out yet. But I am looking forward to maybe integrating it into this template, as I think they would work well together. (be able to target an enemy and then find its way around obstacles to the enemy.) I may even make a tutorial on how to use the behavior after I learn, because I haven't found one yet.
AppTaco LLC
http://www.apptacostudio.com/
https://www.facebook.com/apptacostudio
@PureEpicStudios I am still looking for a presenter for next month June 4th if you are interested? Here is the doc to our new path finding behavior and the video that goes with it. I agree path finding would allow you enemies to traverse obstacles to get to there target.
Nice work, I'm also a big fan of RTS games Warcraft 3 is still my fav
Made this a while back because of wc3.
Cool stuff, thanks
@BlackCloakGS I am free then, so I could do it. Thanks for the links. I'll take a look.
AppTaco LLC
http://www.apptacostudio.com/
https://www.facebook.com/apptacostudio
@PureEpicStudios -- that is a fantastic demo. Thanks for sharing it!
@PureEpicStudios
Very cool !!
Great stuff, thanks!
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
Cool stuff, Josh! Thanks for sharing!
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
@PureEpicStudios Thank you!
Big Smile Games Play Happy!
Check out our other GameSalad exclusives.
Thanks for the feedback everyone
AppTaco LLC
http://www.apptacostudio.com/
https://www.facebook.com/apptacostudio
This is super cool! And thank you so much for sharing this!
@PureEpicStudio cool stuff, great job (again) man and thanks for sharing
If you do the June presentation I will listen to it for sure (the recorded version, not really an option for me to watch/listen to it live since it's 2AM in Sweden with a workday a few hours later)
Just announce that the June 4 GameSalad Meetup will be about this template.
thank you for sharing!! i will be in the chatroom (GameSalad Meetup)
I've been working on something like this myself. Then i find this. Excellent..
Hi! Warcraft 3 is my favorite too! If you are interested in this game I want to share with you information about it. Few weeks ago I found one page about Warcraft III: The Frozen Throne. In this page are a lot of useful information, so you can check it! Let me know what do you think, thanks, Ben!