A question about game design, please help

i want to make a 2d rpg game

  1. The design resolution is 1136*640.
  2. The map consists of two layers, each layer is made of different bricks, there are about 165 bricks in the screen.
  3. There are about 460 grids (game logic coordinates) within the visible range of the screen.
  4. Each role consists of hair, clothes, weapons, wings, halo, a total of 5 sprites.

Question: I think the engine limits the maximum number of sprites to 1024. Without changing the above settings, the visible range of the screen will be filled with characters (460 roles in total, 2300 sprites), can this be achieved? If yes To achieve, what method should be used?

You can adjust the maximum number of tiles (sprites as you say) in game.project

image

but,the sprite Max is 1024,and i need 2300 sprites.

image

Go to game.project and find sprite settings, you can increase the number there.

When it exceeds 1024.

ERROR:GAMEOBJECT: The game object instance could not be created since the buffer is full (1024).
ERROR:GAMEOBJECT: Could not spawn an instance of prototype /main/sprite.goc.

There is setting for that as well XD.
image

ok… thanks

how to show “fps”? can u tell me?

Only way I know is via https://github.com/britzl/defold-metrics

thanks,
and when i release to windows,why sprites not display?




That’s odd! Is this the same if you try another project?

问题就在这里,
profiler.enable_ui(true)