Hey! I've checked your comment on the 'putinbox' function, it seems like you have defined a draw() function, you're just not calling it. To do that, put this in your main _draw() function :
for b in all(bigbox) do b.draw(b) end |
The reasoning for this is while _update() and _draw() are built-in functions and they get called every frame automatically, user-defined functions need to be defined with
function funcname() ... end |
and they need to be called by
funcname() |
Hope this helped! Cheers!
[Please log in to post a comment]