Vehicle graphic bug.

Been working really well lately with my project in regards to the map functions but a new bug has been discovered and I don't know whether it's the program or the method I am doing.


Basically when on command You are teleported to a map while being transparent acting as a screen cursor and upon return to the map origionlly at-all your visuals and such are restored.


However- you are able to enter the map room while in a vehicle also: and this is where it gets awkward.


Seeing there is no "Change Transparency ON/OFF" for vehicles I had decided to use the command to change the vehicle's graphic into none and when returning the graphic is restored to it's origional form. The problem is when you return to the map- yes the vehicle is back, but the player and the party members are on foot following and acting as if they are inside the vehicle, when exiting the vehicle it fixes the issue- but it's horrible to look at all the same. I guess the RPG Maker development team didn't think of having a transparency option made for vehicles or I'm missing something. If anyone can help that would be great!
Please show a screenshot of your events - that sounds as if your command sequence is messed up somewhere.


Did you try to use the change transparency while on vehicle? If I remember correctly it should work the same, no matter if you're in a vehicle or not.
OK, I've got some screenshots, I'll explain each one as I go.


This common event records your current position, changes your graphics and speed transparency etc and teleports you to the map room.


(the different conditional branches are only tests to see whether your in a different part of the city or not and will teleport you elsewhere on the map room)

Spoiler
bug.png



There here is the event on the map room that handles the function of teleporting you back to your recorded position and restoring your settings by activating another commonevent.

Spoiler
bug3.png



This is the common event that the last image relates to in function.

Spoiler
bug2.png



Here is the last common event page that finishes the map execution.

Spoiler
bug4.png



And here is the result when entering map room when inside the vehicle: Going full Flinstone mode

Spoiler
bug5.png
several problems with your really strange event construct.


1) allways make the transfer command the last command of a sequence.


you cannot guarantee that any change done after the transfer command is really executed, and that will affect your first event.


2) no need for the parallel process switched for going back.


Place all those commands from the "Return to normal from map" into the "return to game from map" common event, instead of the switch you used before transfering the player.


Because that is creating timing problems, you should NOT use parallels unless absolutely neccessary.


After these changes, check what happens now and if it is not solved, post the new screenshots here. First step is streamlining your events to make the cause of the problem visible.
The main reason I have such a complex system, ( it actually works pretty well ) is to prevent having graphics briefly disappearing before actually teleporting in which looks broken in doing so. I will be experiementing with your suggestions but I am also having difficulty finding a command that disables vehicle entry/exit. Seems the program does not supply that option...
 is to prevent having graphics briefly disappearing before actually teleporting

I'm not sure that such glitches are not caused by your complexity.


In my experience, the change graphic commands etc are followed extremely fast by the transfer, the player usually can't see any glitch at that.


It it needs more time in your case, that can mean only one of three possibilities


1) the complex sequences, especially the use of parallel processes where not neccessary, cause the engine to spend more time before the transfer than usual


2) something slowed down the entire engine ( could be anything from a plugin problem to simply too many parallel processes with too much lag, but also a background program in windows itself trying to stop MV and more


3) you're on a computer that isn't really up-to-date and simply can't handle the games.


As to 3 - while the RPG-Maker-Games might look like simple games that even the oldest computers can handle, they have the problem that they're using interpreter engines, not compiled engines - that requires a lot more processing than a compiled game. And in case of events, it's even a two-level interpretation of the code.


And in their quest for low power consumption, there were several modern processors that reduced their processing power to drop power consumption, especially if you're working on a device with an Intel Atom Processor or the equivalent that means the GHz number cannot be compared to a regular core5 processor - the atom processor has a lot less processing even if running at the same frequence (and usually they're slower).


So I think you should try to streamline your events for testing how much problems you caused by those workaround - perhaps in a backup of the game to make it easier to switch back if neccessary.

Original thread: https://forums.rpgmakerweb.com/threads/vehicle-graphic-bug.73152/