Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi,

I decided to try this, but I'm afraid I am not having much success. 
I get there error:

Runtime Error Line 19 Tab 0
  drawing(0,0)

Attempt to call global 'drawing' (a nil value)
in _draw line 19 (tab o)
at line 0 (tab 0)

What am I doing wrong here?

I am basically pasting in the Lua code after all my test code and then all I have in _update() is a button check to then set a flag to make the image draw in my _draw() function by called drawing(0,0)


Cheers,


Roy

Weird, I will see, what can be wrong, wait a minute pls

(1 edit)

It's okay! I got it working. I just renamed the function from drawing(x,y) to something else and it worked. Weird.
I am using Pico8 0.2.0I

It's an excellent tool! Thanks!