プレイ日記
jody jodymcdougle
how might i script this cat to be controlled by the d-pad? example¦ when arrow buttons are pressed correctly: up shows his back on screen, left shows his face facing left, etc.
2そうだね
プレイ済み
返信[1]
親投稿
Scott B. 9by9isacraftings
Try BUTTON() and the Help function and a couple of IFs.
0そうだね
プレイ済み
返信[2]
親投稿
Scott B. 9by9isacraftings
And, if you don't know how to use a sprite, use SPSET and SPOFS with the help function.
0そうだね
プレイ済み
返信[3]
親投稿
KuroHana elijahpwg
@LOOP WAIT 1 IF BUTTON()==1 THEN Y=Y-1 IF BUTTON()==2 THEN Y=Y+1 IF BUTTON()==4 THEN X=X-1 IF BUTTON()==8 THEN X=X+1 SPSET 0,(Sprite number) SPOFS 0,X,Y GOTO @LOOP
1そうだね
プレイ済み
返信[4]
親投稿
KuroHana elijahpwg
Unless you mean this (In screenshot)
1そうだね
プレイ済み
返信[5]
親投稿
jody jodymcdougle
thank you, merry christmas!!
0そうだね
プレイ済み