GameSalad

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.

Free Download

Comments

  • BlackCloakGSBlackCloakGS Posts: 2,250 GameSalad Employee

    @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?

  • AppTacoAppTaco Posts: 124

    @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.

  • BlackCloakGSBlackCloakGS Posts: 2,250 GameSalad Employee
    edited May 2015

    @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.

  • UtopianGamesUtopianGames Posts: 5,670

    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.

  • ant_ladant_lad Posts: 222

    Cool stuff, thanks

  • AppTacoAppTaco Posts: 124

    :smiley:

    @BlackCloakGS I am free then, so I could do it. :) Thanks for the links. I'll take a look.

  • RThurmanRThurman Posts: 2,688

    @PureEpicStudios -- that is a fantastic demo. Thanks for sharing it!

  • SocksSocks London, UK.Posts: 12,451

    @PureEpicStudios

    Very cool !! :)

  • ArmellineArmelline Posts: 4,355

    Great stuff, thanks!

  • Braydon_SFXBraydon_SFX Dallas, TexasPosts: 8,786

    Cool stuff, Josh! Thanks for sharing!

  • robertkdalerobertkdale USAPosts: 912

    @PureEpicStudios Thank you! :)

  • AppTacoAppTaco Posts: 124
    edited May 2015

    Thanks for the feedback everyone :)

  • sebmat86sebmat86 Posts: 339

    This is super cool! And thank you so much for sharing this!

  • JSprojectJSproject Posts: 724

    @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)

  • BlackCloakGSBlackCloakGS Posts: 2,250 GameSalad Employee

    Just announce that the June 4 GameSalad Meetup will be about this template.

  • Luez_InzaneLuez_Inzane alberto.loya.q@gmail.comPosts: 9

    thank you for sharing!! i will be in the chatroom (GameSalad Meetup)

  • smurftedsmurfted Posts: 386

    I've been working on something like this myself. Then i find this. Excellent..

  • @UtopianGames said:
    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.

    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!

Sign In or Register to comment.