How to make a scene from a diary?

TheBreaker24998

Villager
Member
Joined
May 18, 2020
Messages
28
Reaction score
2
First Language
Español
Primarily Uses
RMMV
I am trying to make a scene where the player must read a diary, but the diary has several pages, therefore it is a set of several images in which, when the player presses a button, it goes to the next image and so on, but I am having trouble doing it, like for example if I put it on the action button, the buttons do not execute, and if I put it in automatic process, when the button is pressed, it changes the image, but it automatically goes to the last image, in other words, it is 3 images, and when the button is pressed to go to the next image, the second image is skipped and it goes to the third image automatically, how can I do this event?
 

Poryg

Dark Lord of the Castle of Javascreeps
Veteran
Joined
Mar 23, 2017
Messages
4,125
Reaction score
10,639
First Language
Czech
Primarily Uses
RMMV
Simple.
Code:
if Action button is pressed:
    if variable timer is 0:
        set variable timer to 5
        swap the page
   else
       if variable timer > 0:
      decrease variable timer by one
else
    if variable timer > 0:
       decrease variable timer by one
You need to have some sort of timer to have time to unpress the key. This loop does it.
 
Last edited:

Kuro DCupu

Trust me, I'm a veteran RMer
Veteran
Joined
Jul 6, 2014
Messages
480
Reaction score
1,467
First Language
Indonesia
Primarily Uses
RMMV
........
Don't think too hard. If it's only one way, you can just use transparent empty message box:
1593667231946.png
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top