- Home /
Creating a next and previous Tutorial
Hello Uniters !
So, basically i want to create a tutorial (GUI) that shows some image of tutorial.. and i could press next and previous..
it's like book tutorial, but the different is, there is no book flipping animation.. its just like if i press next, the image change to the next tutorial image..
i've been lurking around and couldn't find any of good tutorial, all are about book flipping..
so, could someone help me with basic algorithm for this?
You've Already mentioned that your desired behavior is exactly the same as those tutorials ($$anonymous$$us the flipping animation), so do use the tutorial ($$anonymous$$us the flipping animation). I don't see why you have implement something that you won't be using.
Answer by thornekey · Jan 14, 2014 at 06:53 AM
put your images in an array list, then make your gui saying next and previous in and make it cycle between the array
so, i create Gui.DrawTexture inside an array? i've never use any array before, could u point me out maybe? the example for this case i mean
There's loads of examples out there. Arrays store types, and what he means by images are Textures. Once you figure out an array, use the present index to draw in the DrawTexture call, and increment/decrement the index with the prev/next button.