Spike Posted September 30, 2007 Report Share Posted September 30, 2007 Just found with little extension for GM7 while browsing the GM forums. http://gmc.yoyogames.com/index.php?showtopic=301241 This extension will stop the speed reduction in your game caused by tiles. I highly recommend this for anyone with GM7, as it looks like it may have been what was causing my game to run slowly. 1 Link to comment Share on other sites More sharing options...
TRD Posted October 1, 2007 Report Share Posted October 1, 2007 Not a GM user, but from what I've been seeing while playing Recent GM games, this should help alot with the FPS. Good find Spike, Rep up. Link to comment Share on other sites More sharing options...
Damizean Posted October 1, 2007 Report Share Posted October 1, 2007 Tiles aren't much a problem as long as you design your levels with large enough tiles. However, object deactivation really is, and there are better ways to manage that. For example, some time ago, I made a little test that built a list of objects on a quadlist structure and activated/deactivated them by instance creation/destroy. The FPS boost got from 200 to 1700 in a scene with ~10.000 objects The technique consists on splitting the room in grid/quadrant sections and generate a list of objects for each grid cell, containing the x, y and type information of the objects. After this, you only need to create the objects that are within the current visible cell and destroy the objects that are outside. This way, GM probably won't have to iterate through so many objects thus gaining a great perfomance boost. Link to comment Share on other sites More sharing options...
OverbounD Posted October 3, 2007 Report Share Posted October 3, 2007 Ahh figured out my problem. Anyway nice find Spike. Link to comment Share on other sites More sharing options...
Spike Posted October 4, 2007 Author Report Share Posted October 4, 2007 No problem, glad to help. 1 Link to comment Share on other sites More sharing options...
Recommended Posts