DCupu Eventing - Basic Picture Selection

Kuro DCupu

Trust me, I'm a veteran RMer
Veteran
Joined
Jul 6, 2014
Messages
308
Reaction score
1,170
First Language
Bahasa
Primarily Uses
RMMV
This eventing tutorial works with most RPG Maker.

Hello All! RPG Maker already have a powerful command series Show Pictures to call. Some people are just too lazy to make use of its full potential. I will try my best to guide you through this tutorial.

What is this about?
Ever like the idea of making choices using pictures? This tutorial is just about making possibly the most Basic Picture Selection and most friendly way using event. Understanding of this tutorial is one of the requirement for the Animated Character Selection.

Requirement
  • Basic knowledge of how event works.
  • Difficulty level : Adept

What are you going to create
basicpictureselection.gif

basicpictureselection.png

Event Structure
  • Initial : Initiating operators value and show pictures.
  • Process : Input and Navigating.
  • End : Erase all used pictures.
Operators
  • Variable 1 (index) : For navigating through pictures. Remember to initiate the starting value
  • Self Switch A : Triggered ON at the initial AND after Directional button in Process. Immediately turned OFF for awaiting further input.
Input
  • Directional button : Only Left and Right is accessible in Process to activate Self Switch A which are necessary for navigating. You can change it to Up and Down to your order.
  • B button (cancel) and C button (ok) : Immediately end the Process by breaking the loop. You might want to put something to differentiate both outcome here.

INITIAL
You simply show all the necessary pictures in an ordered manner. Set the variable to your starting index value (which is 0 in this tutorial) and turned ON self switch A, so it could immediately select your starting index.

PROCESS
Includes all the necessary Input and Navigation. What's happening here is, when player pressing directional button it will turned ON self switch A which will operate the navigation inside the condition.

END
After escaping from the above loop, you just need to erase all the used pictures.

You show pictures then trap the player inside a loop so they could navigated throught it. Inside the Process, you change the pictures tint based on which index you are on. The loop is break when the player is inputting the confirm button or the cancel button.

Points to be noted
  • If you want the event to wait for the player input, it's necessary to trapped them inside a loop first.
  • Always leave breathing space (at least wait 1 frame) when using loop.
  • You need to update the variable condition AND its operation for each picture choices inside the navigating process.
    example : if you have total 5 choices, you need to make each condition when the index variable hit 0, 1, 2, 3, and 4 to tint their representative picture. Also you need to change the modulo operation to Variable %= MaxChoices.
  • You can turn this event into a Common Event for easy access. If you do that however, make sure the event where you call it did not use self switch A. The self switch in Common Event using the same self switch on the event you called the common event.

Using RMMV
RMMV is unable to modulo a negative number. While updating the index value, you might want to avoid using Variable -= 1 operation. Use Variable += (MaxChoices - 1) instead. The modulo should work it over.
example : if you have total 5 choices, the indexing operation should be Variable += 4 AND Variable += 1.


For the last, let me know if there's something you don't understand or what would you like to suggest to improve this tutorial I made.
 
Last edited:

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

Latest Threads

Latest Posts

Latest Profile Posts

I hope you all are keeping safe. <3 If you need a shoulder or an ear, I have two of both and am more than willing to listen & support you! Times are weird.
My dad, super frustrated by seclusion, asking me how I live like this. I shrug. "It helps to not like what is outside."
Apparently it's not just people who are hit by corona virus. My phone has set itself to English language on its own. Not that I'm complaining... :D
I got a new computer and can't find my product activation key for MV, what do I do ;-;
buinguyenhoangtho wrote on fizzly's profile.
Hello @fizzly, i would like to use your asset/ resource for my project ( is maybe commercial ). May i have your permission? Thanks you !

Forum statistics

Threads
95,443
Messages
929,163
Members
125,681
Latest member
Diputus
Top