about looping BG or other design elements
Jaxter
Member, PRO Posts: 398
How is possible to loop some elemts in game. for example: http://gamesalad.com/game/play/5734 here is sand ( about 1000pix long yellow slide) but it is ending after 5 min gameplay.. are here some solutions.. ?
Comments
There may well be other more efficient solutions, just my thoughts.
http://i289.photobucket.com/albums/ll232/Magicraoul/sanddemo.gif
My worry with this approach is that although it is simpler to set up, and it runs fine... even that sample is about 30 jpegs made into that gif, so yes, I'd say MB would be an issue. Also even more images would be needed to make a nice 'smooth' flow, rather than the rather jittery result I got. I really don't know enough about the weigh off between loads of images, or constantly spawning new instances...
Give your sand actor a move behavior to move left. The sand will then 'loop'
You may need to adjust when actors are destroyed though.