How to make a scene from a diary?

TheBreaker24998

Villager
Member
Joined
May 18, 2020
Messages
25
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,124
Reaction score
10,634
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
461
Reaction score
1,438
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

I FINALLY DID IT! 5 years making my very first game and I just officially released it on STEAM..... OMG..... I can say I finished a game! The feelings!!!!!
Stream will be live shortly! I am going to be playing some Among Us! Feel free to drop by!
Ami
tv program always get the ratings (it's the reason why drama series has 1000+ episode),also full and nonsense of censorship (weird blur, a scene getting cut because the unconvenient viewer,but it unconvenient to me either. you never see what the original is)

i know the reason is to take cover the viewer from the negative thing,but i just laughing and mocking of them that they're always suck :guffaw:
Star Chart Idea - Just something I am working on.
My sister learned spanish the old fashioned way and saw my way of conjugating. I don't use the formal method and just wing it. I thought her heart might explode. Apparently, different words use different endings. Weird part is even though I never learned the difference, I still can tell when the endings "look wrong".

Forum statistics

Threads
104,456
Messages
1,006,411
Members
135,964
Latest member
Musixim
Top