can someone tell me why I am getting nil when printing out the stars px and py values?
local stars={} for i=0, 16 do add(stars,{x=rnd(128),y=rnd(128),px=x,py=y,c=7}) end --px and py are equal to x and y drwmenu=function() if btn(2) then menuind-=1 end if btn(3) then menuind+=1 end menuind=mid(0,4) for v in all(stars) do print(v.px) --prints nil print(v.py) --prints nil line(v.x,v.y,v.px,v.py,v.c) --line(v.x,v.y-128,v.px,v.py,v.c) --v.py=v.y --v.y+=8 if v.y > 127 then v.y-=128 end end if (time()-last > 1) then rectfill(0,112,127,120,1) print("press start!",0,114,7) if (time()-last > 2) then last=time() end end end |


does yield() work outside of coroutines and inside functions?
I feel coroutines are a pain to setup and update when it would just be easier to call yield inside a function
not to mention the tokens required to setup coroutines and call/update them
function wait(t) for x=1,t do yield() end end function test() wait(2) print("test") wait(2) end function _update() test() end |




Wrongkynd is a creepy top down horror and action game in a gory and gloomy atmosphere.
It was created by me originally for the Gorejam of July 2019.
You are the archdemon Tluk'itral and have managed to enter into our universe.
You exist only to devour human beings by dozens.
Note: The sounds may lag sometimes if you play online on lexaloffle website.
2019 - Atygeek - All rights reserved






Simple Rick Brick
This very simplistic game was made for CIS102 at Bellevue University. I can honestly say that my experience in the PICO-8 community has been phenomenal and want to give shout out's to all the programmers, developers, and designers out there! I've loved video games for a long time now, but from the spectator side. It's overwhelming to learn just how much time, effort, and energy is placed into these games.
pico dictator 1.00
This is a pico-8 demake of one of my childhood memories, the turn based strategy game "DICTATOR" for the Sinclair ZX Spectrum.
I didn't recreate it 100% but instead tried to recreate the look and feel of the game (I added some more graphics etc). The internal engine for the game rules though should be nearly identical.
In DICTATOR you are the ruler of the African banana republic Ritimba and you need keep the different factions of the country - the army, the peasants and the landowners - happy while working tightly together with your secret police. Other parties you need to manage are the guerillas, the neighbor Leftoto, the Russians and the Americans.


Just a small test that I made for fun. I've always been interested in programming some sort of graphing calculator, but never attempted it. Well, this is one step closer. I made a viewer that draws 14 different functions. You can also zoom in and out to get a better view of the function.
It would be cool to make something that actually allowed you to input your own function, but that is a project for another day. I also wanted to add option to move around the coordinate system, but lack of buttons made that difficult.
Anyway, I hope someone gets something out of this. At least I had fun coding it. :)


hello! i have made a tool to make pico 8 music composing easier
see it in action: https://twitter.com/maplesbian/status/1148878267316932608
get to the good stuff: https://github.com/Lana-chan/it2p8.py
have fun







feature request: a keyboard shortcut to switch tabs/pages of the sprite editor. Something like a Page Up/Down.
(if this already exists, someone please let me know!)
holding W technically works but it takes foreverrrr :)
edit: WHOAA I just discovered you can hold Shift + Q/W to go up/down which is a much better workaround! Still I think if there are tabs which are selectable via mouse, they should also be selectable via keyboard somehow.