Log In  

Cart #wiggleroom-0 | 2019-05-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

_
Catch the wiggling pixels. As you move through the rooms the pixels will wiggle more and more erratically.

Controls 🕹

  • X to start
  • move with arrow keys

Strategies 🤔

  • To catch a wild wiggling pixel one must become a wild wiggling pixel

This is the first game I've ever posted to pico8.

It might not be much, and it may be a little more annoying than it is fun, but it does just scrape in at exactly 560 characters to get in to the TweetTweetJam2.

Any advice on how to improve my rudimentary code (or make a better game) would be appreciated 🙏

function _init()
x=64
y=64
ex=64
ey=44
l=3
s=1
r=1
c=100
t=15
o=true
p=print
b=btn
pc=6
end
function _update()
cls()
if o==true then
p("wiggle room \151",34,54,pc)
if (b(5)) then o=false end
elseif o==false then
c-=1
if (ex==x and ey==y) then 
ex=20+flr(rnd(80))
ey=20+flr(rnd(80))
r+=1
t=15
p("\143",x-2.5,y,8)
end
pset(ex+flr(rnd(r)),ey+flr(rnd(r)),8)
pset(x,y,pc)
p("\138"..r,2,2)
p("\147"..t,111,2)
if (b(0)) then x-=s end
if (b(1)) then x+=s end 
if (b(2)) then y-=s end
if (b(3)) then y+=s end
if c<=0 then
t-=1
c=100
end
if t<=0 then _init() end
end
end
P#64541 2019-05-18 11:23 ( Edited 2019-05-18 12:07)

1

I feel like that wiggling square is running away from our square xD

P#64545 2019-05-18 12:05

It is very skittish:D

P#64588 2019-05-19 21:12

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 04:37:59 | 0.011s | Q:19