ACLS:SPSET 0,SPCOD:MVX=199:MVY=119
WHILE 1:BTN=BUTTON()
DEC MVY,!!(BTN AND #UP)-!!(BTN AND #DOWN)
DEC MVX,!!(BTN AND #LEFT)-!!(BTN AND #RIGHT)
DEC MVZ,!!(BTN AND #B)-!!(BTN AND #X)
SPOFS 0,MVX,MVY,MVZ:VSYNC 1
WEND
the !! just converts the result into 0 (if it's 0) or 1 (if it's not 0) so it moves the same speed in all directions
0そうだね プレイ済み