Book pages flipping forward but not backwards

Hello, and thank you for checking out my issue. I followed this tutorial, the middle part about giving the player control over the page flipping. I believe I followed almost everything except two things: adding an extra image for the control explanations. I added that to the bottom of the book pages. And I used a Common Event instead of a standard one.

It will let you flip through the book to the end, but then it won't allow you to go back to the previous pages. It still makes the book1 SE when you press the left button, but the picture stays on the final page. It won't let you go backwards on any of the pages after page 1.

Here's a video of what happens:



What I'm trying to accomplish is a book experience where the player can flip freely through the pages back and forth, so if they get to the end and want to go back to the beginning, they can do that without exiting the book and re-opening it.

I'm using the Item category to create the object that is the book. The item calls the Common Event. Here's what my event looks like:

book_problem_1.png

book_problem_2.png

book_problem_3.png
you can try to mark rabiit = 0 to < 1, and the other > 6
rather than = 0 or = 7 because it its > or < it may take the value better.

but I don't see anything else going wrong, only "pressed" may go
to Input.isTriggered("left") (or right) so it doesn't retrigger.

I found trigger work better than pressed, but that is my opinion.
I cannot see anything else out of the blue, but you may use
cancel => to erase the pictures.

another idea if its 2 pages, per image, => use 1 idea so it just swap,
otherwise, you stack the pictures.

stacking pictures may also be a cause as going left may worked,
but not visible, so use 1 id (picture id 1, page 2, picture id 1, page 3, picture id 1.

see if that works and it may solve your issue already.
My guess is because it looks like you aren't removing the old pictures. And the largest number picture is still on top.
stacking pictures may also be a cause as going left may worked,
but not visible, so use 1 id (picture id 1, page 2, picture id 1, page 3, picture id 1

My guess is because it looks like you aren't removing the old pictures. And the largest number picture is still on top.

The pictures were stacking is my guess because changing the ID numbers all to 1 fixed it.

Thank you both! This forum is always so quick with help.

Original thread: https://forums.rpgmakerweb.com/threads/book-pages-flipping-forward-but-not-backwards.180237/