Hi guys
I am trying to make a shooting game using defold
when i control the role to shoot the bullets ,i occured a problem that the sprite buffer was not enough ,i can increase the buffer size ,but i think it will cost to much memory?
so i try to detect the bullet ,when it goes out the screen ,the game will delete it
but i found two ways to get screen size is gui.get_height() and render.get_height(),and the width ,too
there is a error says this two function only call by the GUI instance and render.
is there any other way i did not find out to do this?
thanks!