If yes, maybe you have too many objects on the screen, or that need complex rendering. Consider refining the number of objects by grouping the events as sub-events of one event, with a condition that excludes objects that don't need to be acted upon.(i.e NPCs that are off-screen or objects not in range of the player.)Īfter running the profiler, check if a lot of time is spent in the Rendering step. Are there any groups of events that take a lot of time? If yes, consider checking the events inside this group for costly sections that could be rearranged or changed.Ĭhances are that these events are being applied to a lot of objects. Do you have a lot of logic going on in the events? Launch the profiler and run it on your game.Do you have a lot of particle emitters? Particles can be costly to render, consider reducing the number used.If your game is running slowly, it's a good idea to look at these common consumers: Good optimization will allow the game to work faster, making it more fluid. Game optimization is an important concept of game development. How to troubleshoot poor game performance
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |