Hi Friends,
Sometimes we need image gallery in our games so I am going to tell you simplest and fastest trick to create an image gallery. Just follow simple steps below or download free capx for help. If you find any difficulty then see full demonstration in the video here youtu.be/bjOday00gNQ
Step1: add image sprites like I showed in video
Step2: add direction arrow sprites
Step3: Create Global variable index
Step4: subtract 1 when user taps on left arrow
Step5: Add 1 when user taps on right arrow
Step6: When index value is less than 0 set index variable value to no. of images-1 bcz index starting from 0 instead of 1
Step7: here set index% (no. of images in gallery)
[img=18453]