SakeTami
Symbolsloth
Symbolsloth

patreon


SPLAT! That's a bug gone! Ep: 1

This is a series I've decided to make to document bugs I've run into and how I've squashed them. Sometimes a lot of time gets taken up by bugs and eventing.

The town bus drama.

Some keen watchers of this patreon will know that in Retale 2 there is going to be an entire town for you to explore. And with that town you'll be able to buy clothes and get all sorts of outfits you can wear and dress up in.

I also wanted the player to be able to use a bus to get to other areas not just confined to the town and visit other places in the world!

My first idea was to change the actor sprite to a bus, then change it back to the original. However, this posed a huge problem. If I changed the players sprite to a bus it would then mean I'd have to revert back the players sprite to what they were currently wearing.

This would mean a lot of conditional branches and a needlessly large event. The answer?

https://imgur.com/a/Wh539Dq

With the help of a user from RPG maker Forums and some of my own personal eventing, I was able to squash this problem in a few easy steps.

The Solution 

An event command I've not used before! Enable Transparency! This means the system will completely render the player invisible. I then set up a separate event to represent and show the bus. Then with some wait triggers and the bus having its own move route set. We give the illusion of the player moving, when in fact they're just standing, all in the while the player will be able to keep his sprite presets so they wont have to keep equipping outfits! Hooray!

We can break down the event like this:

> Player hits the choice to go to Head Office

> The event then calls the bus to come onto the screen while simultaneously hiding the player with transparency being set to ON for the player.

> The bus event is set to play as soon as its switched on, with this the move route plays.

> I give the event that triggers the bus exactly 360 frames of time while the bus moves on screen before transferring the player to the new map

and then you have...

https://imgur.com/a/wtd0qml

(Also a sneak peak at the new window skins)


More Creators