Moving sprites + enemies
I am progressing on my first DMOD and I came across the need to make walking sprites and attacking enemies.
How do you do it?
How do you do it?
How do you mean? If you just want them on screen when Dink gets there, then...
Walking Sprites : Attach brain 16, give them a speed and a basewalk. They will need a script attachedif you are going to be able to talk to them. Oh, and make sure their hardness is set to 1.
Attacking/Enemy Sprites : Simply attach a script (e.g en-pill for a basic pillbug) and make sure the hardness is set to 1 again. Or it will just stand on the spot and trip out.
If you mean waling sprites controlled by scripts (you tell them where to move) then I'm not going to explain it here.
Anywho, just download Dink goes Boating and The Rudiments of Scripting. That should set you on your merry way.
Walking Sprites : Attach brain 16, give them a speed and a basewalk. They will need a script attachedif you are going to be able to talk to them. Oh, and make sure their hardness is set to 1.
Attacking/Enemy Sprites : Simply attach a script (e.g en-pill for a basic pillbug) and make sure the hardness is set to 1 again. Or it will just stand on the spot and trip out.
If you mean waling sprites controlled by scripts (you tell them where to move) then I'm not going to explain it here.

Anywho, just download Dink goes Boating and The Rudiments of Scripting. That should set you on your merry way.
And brain 16-sprites should have a speed of 1 or higher... cost me 30 frustrating minutes to find out why the ruddy hell these people only seem to "look"
Hah! That's nothing. It took me about 2 hours to figure out what Seth was doing in the brain 16 source.