Jump to content
  • Advertisement
  • entries
    117
  • comments
    119
  • views
    106152

x15

Sign in to follow this  
alfith

432 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
I love the graphical style you're using. Very clean & everything is easy to identify.

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
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!