Hi Friends,
If you like the trick please tap on few ads, it will help me continue my work.
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 https://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)
If you like the trick please tap on few ads, it will help me continue my work.
If you like the trick please tap on few ads, it will help me continue my work.
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 https://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)
If you like the trick please tap on few ads, it will help me continue my work.
Tags:
Construct 2, construct 2 tutorial, construct 2 game, construct 2 tricks, game, game development, learn game development, 2d game development, 2d game creator, 3d game creator, hell bullet, bullet, image scale, zoom, learn construct 2, water, create water, water in 2d, create rain, rain in construct 2, rain effect, rain in game, fog in game, create fog in construct 2, construct 2 fog, create smoke in construct 2, construct 2 smoke, construct 2 thunder, thunder, create thunder in construct 2, create lightning in construct 2, lightning, thunder sound, create thunder in 2d game, laser, create laser, Scirra, Scirra Construct 2, tutorial, Construct 2, Scirra tutorial, Scirra Laser, Scirra Laser effect, Laser Effect, Simple Laser Effect, Simple, Construct 2 laser, Scirra Effect, Laser,construct 2, admob, intel xdk, monetize, monetization, intel, ads, construct 2 tutorial, scirra, beginner, guide, redfoc, redfoc tutorial, cocoonjs, cocoonio, cocoon, export, build, tutorial, export to android, export to iphone, export to ipad, cordova, export to cordova, mobile, html5, multi platfrom, game, construct 2 game, admob ads, cocoonads, cocoon ads, cocoon plugin, compile, compiler, admob tutorial, add admob, admob construct 2, image gallery, create image gallery using construct 2, how to create simple image gallery
No comments:
Post a Comment