Game Getting Slower as it progresses

EastboundEastbound Member, BASIC Posts: 1,074
Hey I'm making a game where you destroy a tower of blocks, and then move to a next scene of blocks etc.

Even though the levels aren't being filled with loads more blocks or anything that should cause a slow down, the game is. Any ideas as to why?

Comments

  • butterbeanbutterbean Member Posts: 4,315
    There are several things that could be causing slowdown:

    1) Are your images to the power of 2 rule? 2,4, 16, 32, 64, 128, 256, 512, and no larger than 1024? .png files are more memory than jpeg, but jpeg does not allow for transparency

    Also go to punypng.com to compress your images even further to save space

    2) Are you spawning multiple items on screen? If you are, are you destroying them once the leave the screen?

    It's not easy making a game smooth, and having to look at all the issues is difficult, but these are just some of them that could be causing slowdown....

    And I'm sure there are individual instances for each project as to why there could be slowdown as well, if in fact, the rules above have been followed
  • EastboundEastbound Member, BASIC Posts: 1,074
    And should the memory required be getting higher as each level progresses?
  • EastboundEastbound Member, BASIC Posts: 1,074
    EDIT: Ignore this
Sign In or Register to comment.