Fangames > Programming Questions

Little Spike Thing question

<< < (2/2)

lawatson:
Holy mother of typos I think I'm about to give myself an aneurysm looking at some of the typos and missed parts of code.

First, use this create event instead for spikes:
Downward spikes:

tY=y-32;
tX=x;

Upward spikes:
tY=y+32;
tX=x;

Leftward spikes:
tY=y;
tX=x+32;

Rightward spikes:
tY=y;
tX=x-32

Next up, to fix the held-down thing, change the keyboard_check_direct to keyboard_check_pressed. I am actually not sure how it works out, though. You see why all these errors come up because I don't actually test code which I write for other people ;;

PikachuLPer:
Thanks now its works  :atkHappy:

Navigation

[0] Message Index

[*] Previous page

Go to full version