← Return to game
Log in with itch.io to leave a comment.
runtime error, line 20: attempt to call global 'p' (a table value) :(
yup! Cheaper than calling stop()
You could change h to an int: h=false becomes h=0, h=true becomes h=1 and testing if h is true become testing if h>0. That way, you get down to 547 characters (546 if you remove the first line break), plenty enough to close the game properly :D
You're not wrong! This is something I did for my new golf game so I think I will revisit this one and tidy it up more :)
Cart has now been updated in light of these changes, hope you enjoy the new version!
It's more satisfying this way!
Well done, that's a fun game :)
← Return to game
Comments
Log in with itch.io to leave a comment.
runtime error, line 20: attempt to call global 'p' (a table value) :(
yup! Cheaper than calling stop()
You could change h to an int: h=false becomes h=0, h=true becomes h=1 and testing if h is true become testing if h>0. That way, you get down to 547 characters (546 if you remove the first line break), plenty enough to close the game properly :D
You're not wrong! This is something I did for my new golf game so I think I will revisit this one and tidy it up more :)
Cart has now been updated in light of these changes, hope you enjoy the new version!
It's more satisfying this way!
Well done, that's a fun game :)