The Dink Network

Reply to Re: Multiple Brains?

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
May 17th 2016, 08:01 PM
wizardg.gif
leprochaun
Peasant He/Him Japan bloop
Responsible for making things not look like ass 
A simple way to do that would be to load the sequence you want to repeat into the four walk cycle spots and then give it brain 9. The issue of this is that the animation will reset upon changing directions.

A different way would be to create an enemy and give it brain 9. Then give it sp_nodraw so it isn't seen. Give this all the enemy things you need: hp, defense, strength, etc... Then create the brain 6 sprites you want to use within the enemy sprite script.
Then what you want to do is constantly fetch its x and y coordinates of the invisible enemy and then set the coordinates of the drawn enemy to be the same.

Do you understand that or should I go into further detail.