Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

PICO-8: Top-Down Adventure Game Tutorial

A beginner-level tutorial for making a top-down adventure game in PICO-8. · By MBoffin (Dylan Bennett)

help me

A topic by zenjigames created Dec 22, 2021 Views: 213 Replies: 2
Viewing posts 1 to 3

what is the symble beetween the x and the 8 and the y and the 8 in this function:

function draw_player()

 spr(p.sprite,p.x?8,p.y?8)

end

Developer

That's an asterisk! Shift-8. In coding, * is used for multiplication.

so when i run it it says "ERR :45: attempt  to index global 'p' 

(a nil value)   


ps i am on liko 12 a pico clone so this could be the problem