Web
Analytics
Log In  

1

Cart [#52887#] | Copy | Code | 2018-05-20 | Link
1

P#52561 2018-05-09 14:45 ( Edited 2018-05-20 17:50)

::

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!

P#52639 2018-05-12 05:15

Log in to post a comment

user:
password:

New User | Account Help
:: New User
X
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2018-08-14 14:00 | 0.212s | 1572k | Q:18