|
Post by dettol on May 5, 2022 17:04:31 GMT
I have an enemy that is homing but he matches my every move, is there a way to give him a small delay without it looking like slow motion.
also how would I go about stitching 4 sprites together to create a giant enemy?
|
|
|
Post by Minilop on May 9, 2022 6:33:47 GMT
In your main loop have a timer like
ADD 1 TO A IF A = 6 LET A = 0 ENDIF
Then wrap your enemy movement code like this
IF A = 0 ELSE
enemy movement code
ENDIF
This would slow the enemy down by 1 in 6 cycles, adjust the A timer until you get the speed you require by altering the number it counts to.
|
|