Best approach to loading 50 images?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hey Clickers,

    What is the best way to deal with multiple images? I have about 50 images. I could:

    1. Load all images as a frame into one active object. Then call each image.
    2. Create 50 active objects and manipulate each of the 50 objects.
    3. Other, better ways?

    All the user will do with these images is drag,drop,and rotate. The images won't use animation, but need to be manipulated and position on the screen saved.

    Am I on the right track with my thinking? Am I WAY off base?

    TIA

  • Since you want each image to have its own position, you'll need one object for each. These can either be unique objects or duplicates.

    If you use unique objects, you'd have to copy the events controlling it 50 times, so you might want to use duplicates. In that case, each image would be a frame of animation (set the speed to 0 in the direction options). A few events would change the frame number of each duplicate to a unique number out of 49 (animation frames are 0-based in the Expression editor) and the events controlling the object would be scoped (reference the object in the conditions so only the duplicates that match the conditions are affected by the actions).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!