Log In  
Follow
guruMeditation

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.

5
0 comments



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?

3 comments



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

2 comments