Jump to content


Member Since 02 Mar 2009
Offline Last Active Feb 27 2016 03:31 AM

#4938316 Turgon's TDS AI 2.0

Posted by turgon on 20 January 2016 - 01:01 AM

Much thanks to all the dedicated supporters of this project. The upcoming GMC forum reboot will I think provide the perfect opportunity for the latest and greatest AI update!


Whether the AI is ready or not by the time the new forum launches, you have my word that I will release an updated demo at that time!

  • 3

#4933312 Turgon's TDS AI 2.0

Posted by turgon on 11 January 2016 - 09:19 PM

Your patience will be rewarded! I just need a little more time to polish things up.

  • 2

#4931665 GMC "Fresh Start"? - Your feedback wanted

Posted by turgon on 08 January 2016 - 08:16 PM

Option 1 all the way. There is tremendous value to be found throughout all this forum, and I think if option 3 was picked the old content would eventually be lost since it would no longer be part of the active community.

  • 1

#4895952 The Pet-tastic GMC Jam 20 Discussion Topic

Posted by turgon on 23 October 2015 - 11:44 PM

Anyone like Pacman Caveman?



  • 3

#4895747 The Pet-tastic GMC Jam 20 Discussion Topic

Posted by turgon on 23 October 2015 - 06:08 PM

I bet the theme was pyrotechnic all along.

  • 1

#4895207 The Pet-tastic GMC Jam 20 Discussion Topic

Posted by turgon on 22 October 2015 - 08:44 PM

For any of the teams working together on this jam, check out Slack, Trello, and Asana for great (and free) team collaboration tools. My company uses them all the time with clients to great success.

  • 2

#4895147 The Pet-tastic GMC Jam 20 Discussion Topic

Posted by turgon on 22 October 2015 - 06:40 PM

That handicap is pretty cool since it really opens the doors to everyone having alternate endings based on what happens during the game!

  • 2

#4892353 The Pet-tastic GMC Jam 20 Discussion Topic

Posted by turgon on 16 October 2015 - 11:27 PM

Please be pyrotechnic lol.



  • 2

#4824956 [Closed] - Help me Design a Monster!

Posted by turgon on 16 June 2015 - 08:54 PM

Shout out to Zerb Games for generously contributing pixel art to this discussion! I don't think anyone actually thanked him for that lol which is a little sad.

  • 1

#4824520 Turgon's TDS AI 2.0

Posted by turgon on 16 June 2015 - 03:11 AM

Turgon's TDS AI 2.0


Never stress about the AI in your top down shooter again! This versatile AI engine will transform your mindless hordes of enemies from sitting ducks into vicious killing machines.


Six years ago I posted this TDS AI script, which has been downloaded over 15,000 times. Now version 2.0 is revving up for release! The old code has been completely scrapped in favor of a new, more robust code base.






This AI can do it all:


- Stealth AI (line of sight, patrol, investigate suspicious sounds, call for help)

- Battlefield AI (eliminate enemies, take cover, flank, protect teammates)

- Assassin AI (search and destroy specific targets, sneak around)

- Objective AI (capture the flag, hold the fort, multiple objectives at once)

- Bodyguard AI (protect the asset, lead to safety)

Zombie AI (use at your own risk...)

- Unlimited Teams (10 v 10 v 10 v 10 v 10... shooting match! Plus the player of course)

- Epic Line of Sight (sight cones, gradual vs instant turn around, hears gunshots, footsteps, and allies calling for help)

- It Learns! (avoids areas of frequent teammate deaths, etc.)

- Unique Personalities (aggressive, passive, cunning, mindless, etc.)

- Weapon Strategy (sniper behaves differently from bazooka, from machine gun, etc.)

Squads (squad leaders issue orders to subordinates, coordinate flanking attacks, etc.)

- Adjustable Difficulty (from harmless to lethal. AI in demo is 'easy')



You can help!


The AI is currently in Alpha state; many features have been implemented, and there are plenty left to add. The demo features the most stable features for testing and feedback. Let me know what other features you would like added, as ultimately my goal is to help you make great games!



Cool, let's see the demo!



- Mouse

- Space (debug mode)

- Enter (new level)


----- Download -----




  • 2

#4822818 One Hit Point Legends [Held in one's arms]

Posted by turgon on 13 June 2015 - 12:08 AM

TehPilot have you ever thought about making this into an actual multiplayer videogame? It is a very cool idea, kudos.

  • 1

#4817772 Eye-Pleasing Water (Art Critique)

Posted by turgon on 04 June 2015 - 03:34 PM




Wow, impressive! I think the transition between the deep and shallow water needs some work, it's too drastic a shift in textures right now.

  • 1

#4817428 2 same objects collides, one moves, one stays?

Posted by turgon on 03 June 2015 - 11:42 PM

Puckswack12's solution would work to an extent, but it isn't ideal because the object with the higher sver will *always* be the one that moves.


Fix this problem by adding a randomization of sver like this:

sver = random( 100 );
if ( collision ) {
     if ( sver >= other.sver ) {
          // randomize sver again for future collisions
          sver = random( 100 );
          // bounce away
     else {
          // stay put

  • 1

#4793024 The Potatotastic GMC Jam #18 Games Topic

Posted by turgon on 24 April 2015 - 11:17 PM

Sadly not finished in time. I'll try to get it in done in the couple weeks for those interested.

Previous Screenshots:

  • 4

#4792303 The Potatotastic GMC Jam 18 Discussion Topic

Posted by turgon on 24 April 2015 - 01:17 AM

Colonial would be a really fun theme!

  • 1