Last active
December 11, 2016 22:35
-
-
Save cosme12/1f5a96b9e80d9861e90bd8bb8847ba1e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x = 64 | |
y = 64 | |
function _update() | |
if (btn(0)) then x=x-1 end | |
if (btn(1)) then x=x+1 end | |
if (btn(2)) then y=y-1 end | |
if (btn(3)) then y=y+1 end | |
end | |
function _draw() | |
rectfill(0,0,127,127,5) | |
circfill(x,y,7,8) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Kadaryan aca tenes un ejemplo. Apreta ESC y abri el editor de codigo y pegale esto. Apreta ESC y en la consola pone RUN