Log In  

Cart #tweetormergame-0 | 2021-06-25 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

Another PICO-8 Tweetcart, this time a bit more complicated and optimized.

Source code:

x=60
y=123
mx=0
my=0
b=0
s=0
g=0
::_::
cls(1)
x+=mx
y+=my
mx*=.7
if (y<122)then my+=0.3end
if(y>123)then my=0y=123end
if(y>122)then g=1else g=0end
?"\f7웃\vm●",x,y
if(btn(⬅️))mx-=s
if(btn(➡️))mx+=s
if(btn(❎))s=.9b=3.5else s=.7b=3
if(btn(🅾️))and g>0then my-=b end
flip()goto _

P#94004 2021-06-25 00:18


[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2022-05-04 01:13:53 | 0.006s | Q:15