The Dink Network

Moving sprites + enemies

July 10th 2004, 12:49 AM
duckdie.gif
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?
July 10th 2004, 01:28 AM
custom_fish.png
SabreTrout
Noble He/Him United Kingdom
Tigertigertiger. 
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.
July 10th 2004, 05:24 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
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"
July 10th 2004, 10:36 AM
wizardb.gif
merlin
Peasant He/Him
 
Hah! That's nothing. It took me about 2 hours to figure out what Seth was doing in the brain 16 source.
July 10th 2004, 02:38 PM
duckdie.gif
Thanks.