Log In  

What are the actual steps one must follow to begin scripting in Voxatron? This question came after reading vox_api.txt (https://www.lexaloffle.com/vox_api.txt).

P#88282 2021-02-28 02:59 ( Edited 2021-02-28 03:16)

Is it possible to configure the camera such that it follows the player in a game?

P#88281 2021-02-28 02:56 ( Edited 2021-02-28 03:02)

Defining a 2-player game in the editor is not clear. Has anyone tried this? Thanks!

P#88280 2021-02-28 02:55 ( Edited 2021-02-28 03:02)

Room type has been set to liquid. How do I define block-shaped props such that they appear to float, can support the weight the player, and bob up and down when the player stands on them?

P#88279 2021-02-28 02:53 ( Edited 2021-02-28 03:03)

Is there a way to evaluate a function call stored as a string, say "cls(2)"? I tried


but nope; no such beast.

P#86427 2021-01-13 16:34

How does one create a door, then link 2 instances of it across rooms? I've read the docs but an overview of what makes a door is not enough. Step-by-step, up to date instructions would really help. <nudge> @zep. :)

P#76494 2020-05-13 12:16 ( Edited 2020-05-13 12:17)

Cart #the_getaway_wip_1_2-1 | 2020-06-01 | Code ▽ | Embed ▽ | No License

You owe money to some bad people. You have a few minutes to pay it back. Grab the money bags and drop them at the safe house. Don't get caught. Don't run out of gas.

Inspired by Getaway!, a crime-themed game designed by Mark Reid and published for Atari 8-bit computers in 1982.



  • up/down/left/right: drive/steer
  • x : speed boost



  • easy level debt reduced to 2000$, with a due date of 2 minutes.
  • money bags sometimes appear closer to your location
P#74275 2020-03-28 15:34 ( Edited 2020-06-01 02:38)

I have a controller connected to my laptop. To configure pico-8 for it, I did : launch Gamepad Tool > Copy Mapping String > append string to sdl_controllers.txt > relaunch pico-8. This works well.

Now, I would like to use the controller's shoulder buttons as replacements for the d-pad's dpleft (btn 0) and dpright (btn 1), respectively. Can this be done at all? Note that this is not for exported (to html) games but rather to those launched from the pico-8 console.

To be clear, I'd like to control a pico-8 game using a gamepad's shoulder buttons.

GamepadTool mapping string, as entered in sdl_controllers.txt is this:
03000000bd12000015d0000000010000,Tomee SNES USB Controller,a:b2,b:b1,back:b8,dpdown:+a1,dpleft:-a0,dpright:+a0,dpup:-a1,leftshoulder:b4,rightshoulder:b5,start:b9,x:b3,y:b0,platform:Mac OS X,

P#71408 2019-12-26 02:50 ( Edited 2019-12-26 03:43)

Here's my 558-char TweetTweetJam3 entry, including memory poked sfx (thanks to @eruonna for documenting that).

Cart #jammerboard-1 | 2019-11-17 | Code ▽ | Embed ▽ | No License

P#69964 2019-11-17 11:40 ( Edited 2019-11-17 23:58)

How do I create a middle c note in sfx 0 programmatically? I'm not sure on the formula to calculate the offset from 0x6000.

P#69938 2019-11-16 14:03 ( Edited 2019-11-16 14:04)

I want to control my pico game via html element event handlers. Given that, what memory address (pico8_gpio offset) must I poke at if I want to simulate a btn(0) event? Also, what's the offset for simulating additional player actions, say, btn(0,1)? Thanks.

P#46446 2017-11-18 10:25 ( Edited 2017-11-19 00:21)

Is there a shortcut for editor code tab switching? Couldn't find it in the docs.

P#45762 2017-11-01 05:44 ( Edited 2017-11-01 20:34)

(This may sound convoluted)

Is it possible to invoke an embedded ("export html") pico-8 program's functions from an external javascript file?

In this particular case, I wrote a .js app that fetches remote data asynchronously (via ajax). I then want to map that data to a sequence of pico-8 program function names, invoking each one in turn at regular intervals.

P#32515 2016-11-15 13:51 ( Edited 2016-11-16 18:49)

I often browse the pico-8 forums on my mobile. On my phone (Samsung S4), I have to squint like a maniac because the contents of the pages are not rescaled by the browser, which they would be if the following viewport meta was on each page:

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />

Can the person responsible for these forums (and web site in general) add that so that I can go back to "squintless" reading. :)


P#25567 2016-07-19 15:19 ( Edited 2016-07-20 02:30)

Hi all.
The following code doesn't work -- players don't get drawn.
What am I doing wrong?
Thanks in advance.

players = {}

function make_player(col)
  local p = {}
  p.x = 0
  p.y = 0
  p.color = col
  return p

function draw_player(p)

function _init()
  players.home = make_player(1)
  players.visitor = make_player(8)

function _draw()
  foreach(players, function(p) draw_player(p))
P#14559 2015-09-24 10:12 ( Edited 2015-09-25 01:57)

Could someone explain how glitch effects similar to Benjamin Soulé's Mr.Beam were done? No code as much as an overview.

Thanks in advance.

P#13533 2015-09-01 22:44 ( Edited 2015-09-02 04:55)

Follow Lexaloffle:        
Generated 2021-02-28 04:21 | 0.123s | 4194k | Q:70