RPG Maker Forums

So, I want to display 3 images that appear directly behind the main character as part of my game's original battle system .  As I don't know scripting, I'm doing this all with events.

What it is supposed to do:

  • When a player touches an enemy on the field, the game game detects the direction the player is facing and the enemy moves one square away from the player and then faces the player.  Thus leaving a one square gap between them and then activates a common event called: "Where Battle Begins".
  • Next, the common event "Where Battle Begins" grabs the player's current coordinates (X, Y) and then does an if and statement to check which armor the player currently has equipped (so far, I only have one programmed). 
  • When it detects what armor the player is currently wearing, in this case the starting armor for the character Marx.J/Milun.J (Depending on if you play it in English or French), it sets off a new common event in this case called: "Marx/Milun .J - Base"
  • The Common Event: "Marx/Milun .J - Base" then does various things with several variables to find the coordinates for a picture that is to appear directly 1 up and 1 left from the character, followed by a picture that appears directly 1 up from the character and another that is 1 up and 1 left.  (I'm using this as a example because so far, I've only used it for the character facing down.  The idea is that if the character were facing up, left or right, the locations for the pictures would chanoge.  Either way, the pictures must adapt to appear wherever the character might be at any given time and regardless of facing direction).
  • I'll 'elaborate' more by adding some pictures:

The images (in order are):

  1. Picture of event/enemy that the player has to touch to activate the common event that starts the battle.
    PictureTrouble_Part1.png
     
  2. Picture of the initial common event.  Again, the one that starts the battle.
    PictureTrouble_Part2.png
     
  3. Picture of the common event that is supposed to place the images.
    PictureTrouble_Part3.png
     
  4. Picture of the command that is supposed to place the first of the "Show Picture".
    PictureTrouble_Part5.png
     
  5. Picture of the command that is supposed to place the second of the "Show Picture".
    PictureTrouble_Part6.png
     
  6. Picture of the command that is supposed to place the third picture, also using "Show Picture".
    PictureTrouble_Part7.png
     
  7. Picture of the images as they appear in game.  They all appear, but above one another instead of how they need to be.
    PictureTrouble_Part4.png
     
  8. How I want them to appear.
  • P = Player, A = Attack Icon, S = Weapon Skill Icon, R = Run Icon
    PictureTrouble_Part8.png
     
As always, thanks in advance everyone for any help I can get :) .

 

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,549
Members
137,837
Latest member
Dabi
Top