I am making a game with a ball and i would want to make a change ball menu, where you could buy or earn new ball styles (new colours, forms... etc)
How can i make this without using a lot of memory.
I was thinking about a animation, but I thinks it takes a lot of memory.
If you but x , => ball set animation x
anyway to do this without animatons?
How do I make on start of the game not to load all layouts and theyr objects (almost 100 layouts) and yo load just the start menu layout and when you press "Start" than to load them.
Is there a way?
I just want to start the game faster.
I would think that having multiple animations might make the code cleaner, unless you are going to families instead.
But having a menu where you select the ball you want to use from those you have earned/bought would be the easiest way I'd say, an then either have it set a global variable that references a particular animation or sprite in the family to display.
As for the start of the game, it may come down to how you have designed the game. Depending on how it is made, you could store each level as a text file then read them in and have the game set them up accordingly (using arrays and setfromJSON expression)
Develop games in your browser. Powerful, performant & highly capable.
emoaeden OK thanks for help