Wednesday, 25 November 2015

ProjectX - Problem solved!

The performance problem is solved. Problem was in the tilemap object whereby I made the level. So every tile have it's own hitbox and GDevelop computes the collision with all the hitboxes of the object when player is near. So when the big level is one tilemap object and every (A LOT) hitboxes get active = game slows down.

Problem solver was break up the level into smaller parts, so less hitboxes are activated while playing the level. There was a lot of an extra work, but it was worth it!

Thanks Victor from Gdevelop forum!

No comments:

Post a Comment