39 lines
1.1 KiB
Markdown
39 lines
1.1 KiB
Markdown
{{{
|
||
"planted": "6/20/2021",
|
||
"repotted": "12/1/2025",
|
||
"last_tended_to": "12/10/2025",
|
||
"nobreak": "true"
|
||
}}}
|
||
|
||
|
||
* Just finished my second submission for #TweetTweetJam 6! Fly a toy plane around a child's playroom in a demo written in just 560 characters. (two tweets!)
|
||
Play Plastic Skies at https://valeradhd.itch.io/plastic-skies, or by copying the source code from the replies below!
|
||
#pico8
|
||
|
||

|
||
|
||
<div class="code"><p>
|
||
j=0k=0⬇️=12➡️=0h=32l=0r=rnd
|
||
o=print
|
||
poke(0x5f2c,3)p=split("✽,------,__🅾️__,웃,●,●,★,-★-")c=split("6,8,2,10,8,8,2,2")::_::
|
||
h+=(⬇️-12)/32l+=➡️>>10j-=cos(l)/30k-=sin(l)/30
|
||
for i=0,999do
|
||
x=r(64)y=r(64)t=l+(x-32)/256
|
||
if y>h then
|
||
d=24/(h-y)
|
||
u=j+d*cos(t)v=k+d*sin(t)
|
||
circfill(x,y,1,(u+v\1)%2>1and 10 or 12)
|
||
else
|
||
t-=1/8
|
||
u=2w=h-12*cos(t%.25-1/8)
|
||
if(y>w)u=4
|
||
u=t%.25<.03and 1 or u
|
||
circfill(x,y,1,u)end
|
||
end
|
||
b=btn()⬇️+=b\8%2-b\4%2➡️+=b\2%2-b%2for i=1,#p do
|
||
w=o(p[i],0,-9)x=32-w/2y=30+(i*⬇️-➡️*#p[i]/2)/16for j=1,#p[i]do
|
||
x=o(chr(ord(p[i],j)),x,y,c[i])y+=➡️/16end
|
||
end
|
||
flip()goto _
|
||
</p></div>
|
||
|