• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Legacy GM How to solve the game run out of lag

  • Thread starter Tran Thi Huyen Trang
  • Start date
T

Tran Thi Huyen Trang

Guest
Hello GMC, I trying to make the game with the big room ( height: 6000 and width: 6000) including many objects (about more 400 objects) and then i run the game, it is so lag. Now, I still want to keep the same room and all objects but how i can solve this problem? Thanks.

Regards,
 
S

spoonsinbunnies

Guest
well instance_deactivation for anything that dosent move outside your view and only activating it right before its inside your veiw is a great start, if you use pathfinding, have one global object that creates the grid and reference that grid when setting a path, with so little information I cant tell you more advice. theres actually a whole thing about optimizing the news if you scroll back.
 
Top