How do I use images efficiently

  • What is more memory and speed efficient, 50 images in one animation object and referenced by frame number or 50 seperate PNG images? In case of creating a puzzle, i use now 2 animations for placement of the puzzle pieces. Then when overlap occures i compare the animation frames of the one on the background and the one dragged over. Is that the way to go?

    Thanks for your help.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I don't think there are any different really. 50 images are 50 images. You could probably argue that making 50 individually images would have a bigger impact since it would have to take the objects into account, but I think that would be such a little impact that it would be a lot more efficient to just reduce the image size by 1 pixel.

    Anyway not 100% sure, its just what I think

    [quote:2o9onqn3]Then when overlap occures i compare the animation frames of the one on the background and the one dragged over. Is that the way to go?

    Yeah that should work fine.

  • Cool, thanks

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)