Position Tracking doing strange things to my text boxes

● ARCHIVED · READ-ONLY
Started by omega1227 3 posts View original ↗
  1. Hey everyone, I need some help, if you please.

    I'm creating a pac-man like mini-game and I've run into an odd problem. So I have a Common Event, set to a switch (seen in the top picture). This tracks the x and y of the player and compares it to the x and y of the ghost (he's trying to catch you). When the coordinates cross, it turns off the common event and activates a battle switch. (Event seen in the second picture) This autoruns a battle process and then selects a self switch of A or B depending on if you win or lose.

    The problem happens sometime between the GO switch turning on (to start the game) and the end of the battle. As you can see in the final picture, the text box is completely squished. This now stays like this until I shut down the game and restart. I have no idea what the variables and switches have to do with the text box, but there it is.

    A few notes: I'm using position tracking because in the pacman game, I have coin events which the player collects. The enemy events can't move through the coins without having the "through" tag on. But, with the "through" tag on, they can't touch the player to start the battle.

    So, any suggestions? Or is there any information I'm missing? Any help would be greatly appreciated. Thanks!

    rpgmvxah.jpg
  2. One guess:

    Your're using Yanfly's message system script and forgot to configure it correctly.

    Yanfly's Message Script is NOT plug n' play, it needs its switches and variables configured correctly - and because you didn't configure them correctly, the variable for the text box width was set to zero by something else in your game.
  3. Well, I wasn't sure what the adjust in the script, so I just changed the variables I was using and... VIOLA! It worked. THANKS!!!!

    I spent forever setting up this game and I was pretty much done, then this happened. So, it's quite the relief. Thanks again.