Log In  
:: Unfold ::


Math isn't my strong side, so not sure if there is a simple solution to this or how to solve it really but I'm sure its a piece of cake for someone here.

If I'd want to limit the line drawn with this snippet of code to say 10px from 64,64:
function _draw()
h = stat(32);
v = stat(33);

How would that math look?

P#94247 2021-06-30 18:28

:: Unfold ::

Unsure if this is a bug or what exactly.

I'm on linux, using a NES controller with USB adapter (original NES with adapter, not a NES clone with USB).

In the controls mennu pico 8 says "1 joysticks detected"
but there is no response when i press the buttons on the controller.

Am I missing settings? Is it not compatible? Is it a bug?

P#94198 2021-06-29 10:18

:: Unfold ::

Hi everyone

Found pico 8 roughly a week ago, and its been a pure pleasure to play with. Best 15 bucks spent in a long time.

I've decided to make a port of the old but fun game Oils Well from the C64.
Attached is my cart of my progress so far.

Cart #sopidesige-0 | 2021-06-28 | Code ▽ | Embed ▽ | No License

P#94092 2021-06-26 15:59 ( Edited 2021-06-28 18:41)

:: Unfold ::


I was going to try to upload my work so far of a cart, but when selecting the exported .png I get the following error from the forum:
Not a valid cart. Please try again.

It has label.
Am I doing something wrong, or is there an issue with the site?

P#94042 2021-06-25 21:33

:: Unfold ::


Could someone kindly tell me how to for loop through each char of a string? I'm unsure how this is done with pico 8.

P#94031 2021-06-25 19:23

:: Unfold ::


I'm wondering about arrays, I cant seem to find any way to delete specific IDs/keys. I don't know if the functionality is lacking or I'm missing it.

eg to do;
del(step[count(step)-1]) to remove the last entry to an array

And in extent, how do I access a specific ID/key in an array?

I'm trying to do eg;
h = step[count(step)-1].h;
v = step[count(step)-1].v;

to get key from array looking like;
step = {h=INT,v=INT}
step = {h=INT,v=INT}
step = {h=INT,v=INT}

Say I'd want the last, or second to last entry, how would this be done?

P#93966 2021-06-24 14:22

:: Unfold ::

I'm just curious to know what the reasoning is for choosing 128x128 resolution, if there is one?
Looking at computers like C64 or the NES, the resolution is quite low in comparison.

P#93919 2021-06-23 22:18

:: Unfold ::


I watched a tutorial the other day which showed there is an alternate pallet in the pico 8, but it wasn't as straight forward to use as just using the editor. Are there any plans on adding the second pallet to the editor? And in extent, may be the possibility to modify the pallet via the gui?

P#93876 2021-06-23 06:54

:: Unfold ::

Just curious, are there any plans to integrate functionality for handling sockets to pico8? I can't seem to find anything on it so I'm assuming there is no support at this moment anyway.

P#93851 2021-06-22 16:12

Follow Lexaloffle:          
Generated 2023-12-11 14:48:28 | 0.068s | Q:18