DCupu Eventing - Basic Picture Selection

Kuro DCupu

Trust me, I'm a veteran RMer
Veteran
Joined
Jul 6, 2014
Messages
460
Reaction score
1,437
First Language
Indonesia
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 Profile Posts

Resident Evil: Infinite Darkness :LZSgrin:
I am excite.
Actor2_4 added!

I Didnt Like or Disagree with @Andar Due to Him Saying this when We talk about VX (Not Ace): VX is the worst version of the RPG-Makers as it had only one tileset and is missing many features to improve the game development. It is a very bad choice to base a new project on.
It seems to me that I'm too lazy to make new MZ plugins with my full time job, so I'm porting my easy, simple and small MV plugins instead.
I hope I can port 1-2 such plugins per day, but this will be hard for me :)
just mechin' around this morning - MZ edit, feel free to use, must own MZ

Forum statistics

Threads
103,321
Messages
998,760
Members
134,830
Latest member
Monotaru
Top