Custom sprite I'm trying to use is the falling spike by dtothefourth which can go in all directions but I can't get it to work at all.
Here's the part to customize;
What I tried;
- Deleted x value after the extra_byte_2/3/4 to insert my value ($40)
- Tried the same as above but starting the line with ! (!$40)
- Deleted the !extra_byte_2/3/4 and wrote my value ($40)
- Wrote my value after x
- Left it as it is and tried inserting with extension
Here's the part to customize;
Code
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; Custom Falling Spike - by dtothefourth ; ; Falling spike that can go in all 4 directions and interact ; with objects ; ; Uses 4 Extra Bytes, set in Extension Box in LM as follows ; ; SD SH TT SP ; SD ; S = Size - 1 (1-8 tiles) ; D = Direction - 0 Down, 1 Right, 2 Up, 3 Left ; SH = Shake Time (Vanilla 40) ; TT = Trigger Distance (Vanilla 40) ; SP = Max Speed (Vanilla 40) ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; !ShakeTime = !extra_byte_2,x ; How long to shake before falling !TriggerDist = !extra_byte_3,x ; How close Mario has to be to trigger (0-7F) !MaxSpeed = !extra_byte_4,x ; Maximum speed spike can fall (0-7F) !Accel = $03 ; How quickly spike accelerates while falling !Collide = 0 ; If 1, will hit objects instead of falling through them !Activate = 1 ; If 1 and collide is set will activate blocks like hitting them with a shell !FarDespawn = 1 ; If 1 don't despawn unless far off screen, mostly if you want to use really wide spikes !WideTrigger = 1 ; If 1 for multi tile spikes check both ends for trigger distance
What I tried;
- Deleted x value after the extra_byte_2/3/4 to insert my value ($40)
- Tried the same as above but starting the line with ! (!$40)
- Deleted the !extra_byte_2/3/4 and wrote my value ($40)
- Wrote my value after x
- Left it as it is and tried inserting with extension