I’m using LIBgdx. My game seems to be pretty intensive in the future. Actually I’m interested how to not overload my system?
- I’m wondering how many sprites can be drawn simultaneously on the screen? (For a normal computer. I’m having about 15000 right now)
-Should I care about cheking whether I see a sprite on the screen? - How many objects should I have in my game?
-Imagine I have a tiled map.
-Can I have a separate object for every tile? (Now I’m making a list of objects. I have about 15000, but need more for bigger world)
-Or should I better have some arrays, where every array stands for a certain property of my object?
For Example, let’s take Minecraft. There’s a huge world. Millions of blocks. The world lives all the time around you. Especially when there’s a lot of players.
-How does he draw them?
-How does he update the world?
-How can I make the chunk System?
P.S. Can Eclipse check how much that or that action takes? I understand I can put System.nanoTime(); but in NetBeans there’s a special tool for it.