mk, so, does anyone know how to make things solid so my characters cant move through them? Also does anyone know how to make things shoot? And how can i put AI into it?
Offline
probably the best way to make something shoot. is to have a script involving a variable called gun direction.
this is an idea for the bullets script.
when 'space' pressed:
go to gun
point in direction 'gundirection'
repeat until (touching enemy or edge etc)
move 5 steps.
this of course also requires the gun or character to have a script like this
forever set 'gundirection' to 'direction'.
to make a character solid you actuallt have to program it into the thing that cannot go through it rather than the solid sprite.
Offline