• entries
    115
  • comments
    115
  • views
    104571

x15

Sign in to follow this  
alfith

324 views

I am still working on the DDream level. I added a lot of objects and discovered a huge loss of performance of the game. The game update was taking a lot more time. Too much time. After two minutes of profiling, I found the answer: I was doing collision check for each "dynamic" object. I changed this to "do a collision check on a dynamic object only if it moved" and I have a x15 performance gain on the update part !

Here is a screenshot of a small part of the level with an egyptian atmosphere:

Sign in to follow this  


3 Comments


Recommended Comments

hmm I never thought of doing that, but now it seems obvious and makes a lot of sense. As I was just working on my own collision detection, this couldn't have come at a better time.

awesome!!

Share this comment


Link to comment
Glad it can help.

The style is like this because:
- I am not good enough to do more complicated models and textures
- I like it
I hope a lot of people will like it too.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now