Real Time Strategy Game - Individual Actor Enemy Targeting/Pathfinding Mechanics - Free Template

AppTacoAppTaco Member Posts: 125

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 Member, PRO Posts: 2,250

    @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 Member Posts: 125

    @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 Member, PRO Posts: 2,250
    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 Member Posts: 5,692

    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 Member Posts: 222

    Cool stuff, thanks

  • AppTacoAppTaco Member Posts: 125

    :smiley:

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

  • RThurmanRThurman Member, Sous Chef, PRO Posts: 2,881

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

  • SocksSocks London, UK.Member Posts: 12,822

    @PureEpicStudios

    Very cool !! :)

  • ArmellineArmelline Member, PRO Posts: 5,406

    Great stuff, thanks!

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273

    Cool stuff, Josh! Thanks for sharing!

  • robertkdalerobertkdale USAMember Posts: 912

    @PureEpicStudios Thank you! :)

  • AppTacoAppTaco Member Posts: 125
    edited May 2015

    Thanks for the feedback everyone :)

  • sebmat86sebmat86 Member Posts: 339

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

  • JSprojectJSproject Member Posts: 730

    @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 Member, PRO Posts: 2,250

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

  • Luez_InzaneLuez_Inzane alberto.loya.q@gmail.comMember Posts: 9

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

  • smurftedsmurfted Member, PRO Posts: 586

    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.