- ICE Program not running (Edited)
- 02 Dec 2018 08:15:31 pm
- Last edited by SomeCoolGuy on 17 Dec 2018 08:58:18 pm; edited 6 times in total
Compare this to line 3:
Code:
Code:
[i]IMAGE // Name of file
20->X->Y // Sets X and Y to 20 (not important)
/*
New problem: it's compiling, now the repeat block's not running... I think it's the
DefineSprite turning into "minY" in the TI-BASIC editor...
*/
// Line 3 here
DefineSprite(16,16,"2222222266066066AA0AA0AA5555555590999909101111018800008844444444")->FRUIT
det(0 // Turns on graphics mode
Repeat getKey(15) // Arrow key input, stops when clear is pressed
f getKey(4) //Up
Y+5->Y
End
If getKey(1) //Down
Y-5->Y
End
If getKey(2) //Left
X-5->X
End
If getKey(3) //Right
X+5->X
End
det(57,FRUIT,X,Y // Renders FRUIT sprite
End
det(1 //Returns to normal