Performance question

Player_EPlayer_E Member, PRO Posts: 604
edited November -1 in Working with GS (Mac)
So I have 2 different routes I can go for my level select, but I want which ever one will give best performance.

all my level select images are the same except for the words level 1, level 2, level 3,... etc.

Route 1:
I can make all the level select images with the words on them, so they are one image. This results in 14 different images one for each level.

Total image size for this route would be 1,106KB
Total number of actors on scene would be 14

Route 2:
I can make the level image background separate from the words, so I would have 15 different images. 1 universal background and 14 different word images.

Total image size for this route would be 734KB
Total number of actors on scene would be 28

My question is this, is it worth saving the extra 400KB at the use of 28 actors instead of 14?

Comments

  • UtopianGamesUtopianGames Member Posts: 5,692
    You could make one actor for all the levels and change the art by dragging a new image into it and then do the code change?

    Less actors = faster load times.

    I would have one BG image with all the boxes and level numbers in the image.

    Darren.

    image
  • Player_EPlayer_E Member, PRO Posts: 604
    utopiangames said:
    You could make one actor for all the levels and change the art by dragging a new image into it and then do the code change?

    Less actors = faster load times.

    I would have one BG image with all the boxes and level numbers in the image.

    Darren.

    I ended up going with route 1 and that was exactly what I did
  • UtopianGamesUtopianGames Member Posts: 5,692
    Sounds like a big game...keep us posted on the progress.

    Darren.
  • Player_EPlayer_E Member, PRO Posts: 604
    ive been debating posting a video of my progress, but I dont have enough features added to make me do it. Possibly in a week or two you guys will get a sneak peak ;)
Sign In or Register to comment.