This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-05-31 15:10:54

RacerZmanx1
Scratcher
Registered: 2009-01-01
Posts: 54

AI help

I don't know if this is 'advanced', but it seemed advanced to me, so I posted it here.

Anyways, I'm making an Advance Wars-style game (http://uk.ds.ign.com/objects/949/949669.html) and I need help programming an AI. I'm kinda in a hurry, so uncomplicated help would be best, but, if complicated is whats needed, I'm all ears.  smile

The main difference that I have is that I'm not using 'squares' to move. I'm setting each unit a distance to move, and then letting the player/AI move it in any direction they wish, until it runs out of 'movement points' for that turn. Attacking is done by 'if distance to [unit] is less than [range]'. Any more questions, feel free to ask, and I'll add the answers to them here.


Fight for what is good, fight against what is bad, and be as epic as the entire Pokemon series while doing so.

Offline

 

Board footer