Skip to content

Instantly share code, notes, and snippets.

@cosme12
Last active December 11, 2016 22:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cosme12/1f5a96b9e80d9861e90bd8bb8847ba1e to your computer and use it in GitHub Desktop.
Save cosme12/1f5a96b9e80d9861e90bd8bb8847ba1e to your computer and use it in GitHub Desktop.
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
@cosme12
Copy link
Author

cosme12 commented Dec 11, 2016

@Kadaryan aca tenes un ejemplo. Apreta ESC y abri el editor de codigo y pegale esto. Apreta ESC y en la consola pone RUN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment