Printing 0?
Posted: Wed Aug 27, 2014 3:20 pm
amount = #objects
love.graphics.print("Number of objects: "..amount, 10, 20)
I add amount to the end of adding 4 objects into the scene, it still says 0, why?
love.graphics.print("Number of objects: "..amount, 10, 20)
I add amount to the end of adding 4 objects into the scene, it still says 0, why?