Log In  
Follow
guruMeditation
SHOW MORE

Mujilseo

My first game for the Pico-8.

Cart #mujilseo-0 | 2024-02-08 | Code ▽ | Embed ▽ | No License
5

I thought I'd like to create a player character that does not have clearly defined boundaries. The player is made up of multiple objects. They can change polarity to be attracted by, or repelled by, blocks and enemy objects within the game.

P#141290 2024-02-08 15:41

SHOW MORE

screen={{},{}}

for y = 1,18 do
for x = 1,18 do
screen[x][y] = 1
end
end

Trying to create a 2 dimensional array and fill the grid with a value of 1. But I'm getting and error.

Can anyone help me with this please?

P#140499 2024-01-23 17:17

SHOW MORE

Hey there, I'm just starting here with Pico-8, trying to understand the syntax.

I just want to create 2 one dimensional arrays numbered 1 to 10, and fill them with the value 63. But I can't seem to figure out how. Can anyone assist with this please?

x={}
y={}

for i = 1,10,1 do
x[i] = 63
y[i] = 63
end

P#140368 2024-01-20 19:26

Follow Lexaloffle:          
Generated 2024-02-22 18:02:05 | 0.072s | Q:11