Questions tagged [pico-8]

PICO-8 is a fantasy programmable game console for making, sharing, and playing tiny games and other computer programs (cartridges, or "carts"). The console provides simple built-in tools for creating your own cartridges. Game code is written in a slightly modified version of Lua. PICO-8 is a commercial product, developed by Lexaloffle Games.

Filter by
Sorted by
Tagged with
2
votes
2answers
45 views

how to display current time as a static value in lua/pico8

Pico8 has a function time() that when called displays the current time from start of program. i.e. print(time(),0,0,14) --prints time at (0,0) with colour 14 However the function doesn't stop and ...
0
votes
2answers
40 views

var=time() vs time()=var pico8/lua

time() is a preset function in pico8 gameengine. I don't understand whatsoever why I get an error when I write: time() = var But it's fine if I write (where var is any variable) var = time() What ...
1
vote
1answer
25 views

Confused why draw code is clearing, pico-8 api demo

In the API demo when they do the example of how to draw a colour pallette at the top of the screen: I notice the commands don't work when used inside the draw function. When used inside of draw they ...
4
votes
1answer
363 views

How can I generate infinite boundary walls in PICO-8?

I have drawn one tile and I would like to use it in a very small shoot'em'up I am writing for fun and learning. My aim would be to build something like Xenon 2 (vertical scrolling, a spaceship ...
6
votes
2answers
858 views

Imitate a textured sphere in 2D

I'm writing planet generator, using pico8. I got surface generation done: And the last thing to do is to map the texture onto a sphere. Pico8 has no triangle function. So my question is, how do I ...