Time cycle and map transfer issue

Zaha

Villager
Member
Joined
Mar 15, 2019
Messages
26
Reaction score
0
First Language
English
Primarily Uses
RMMV
Hi all

I'm trying to set up a framework for my time cycle which is based on events adding to a 'Hours' variable, and which at certain points tints the screen (which is working well).

I've made 'Night' versions of my maps, and had hoped that adding a simple conditional branch to the transfer points would allow a nice smooth shift for the player see below). However, it only works one way and I have no idea why (something to do with the variables not being read)? For example, enough hours are added to the 'Hours' variable for the time to get to night. The player goes into the Inn and is transferred to the 'Inn (Night)' map. When the player leaves though, it doesn't transfer them to the 'Village (Night)' for some reason, and vice versa.

Any ideas why please?
 

Attachments

  • Night.JPG
    Night.JPG
    49.4 KB · Views: 8

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,355
Reaction score
8,081
First Language
German
Primarily Uses
RMMV
it would help to see the full event (including trigger etc, you cut off that part of the event as well).
especially we need to see how you count up your hours/time and so on.

there are several ways that could have gone wrong, but without full info we would be guessing...
 

Zaha

Villager
Member
Joined
Mar 15, 2019
Messages
26
Reaction score
0
First Language
English
Primarily Uses
RMMV
Ah, sorry! Here's the rest of it
 

Attachments

  • night1.JPG
    night1.JPG
    92.7 KB · Views: 4

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,355
Reaction score
8,081
First Language
German
Primarily Uses
RMMV
and the rest? I specifically asked where the hour variable is defined and controlled

that event will transfer the player to two different maps based on what value the hour is, and if that doesn't work as intended then something is wrong with how the hour variable is handled.
 

Zaha

Villager
Member
Joined
Mar 15, 2019
Messages
26
Reaction score
0
First Language
English
Primarily Uses
RMMV
Cool, just had to take a call :) For each story event, I'll add a couple of hours (see below for an example). They all seem to work as they are interlinked and I've play tested them fine. It's just transfer that doesn't work.

All the links to the tinting, etc also work fine across maps.

I'm not sure how to show you the variable?
 

Attachments

  • event.JPG
    event.JPG
    100.3 KB · Views: 4
  • Hours.JPG
    Hours.JPG
    104.4 KB · Views: 4
  • tint.JPG
    tint.JPG
    88.2 KB · Views: 3

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,355
Reaction score
8,081
First Language
German
Primarily Uses
RMMV
OK, manual time control instead of an automatic counting.

then two things:
first, pleas add a show text command with text "hour is now \V[43]." to the transfer event, so that you can know the number of the hour on each transfer. I suspect that you forgot to remove 24 hours each day and it continues counting up.

second, show the transfer event where you get back from the inn - the one that is not working correct - if you want to solve that problem as well.
 

Zaha

Villager
Member
Joined
Mar 15, 2019
Messages
26
Reaction score
0
First Language
English
Primarily Uses
RMMV
Andar - thank you so much for your help! Just placing that show text command highlighted I had made a really stupid mistake in the night map transfer event. I can't believe it was something some so obvious, but that I couldn't see it.

Once again, thank you for your time and help! :)
 

Latest Threads

Latest Profile Posts

Dragonfly3116 wrote on Redweaver's profile.
i need to ask do you mind sending me a link to tutorial town an legend of ancients Please My new Email is necroboy1973@gmail.com
I Am A Member On The Site Here As Well If Your Still teaching Let Me Know Thanks Joseph
Added store elements.
44JtdpE5n4jQMFkSi7pACW.png

2uqvqT3uCWxcXAhlyZokxg.png

The next step will be to start making props (including distillers).
I just saw one of SigmaSuccor's RPG Maker news videos, it mentioned one of my plugins. Now I kind of wish I'd made a demo project for it, having nothing in that segment but a scroll down the code feels a little underwhelming given what the plugin COULD do. Except I suck at making demo stuff, and my testing project isn't fit for that. :(
Ok, to prepare for the GMTK Game Jam, I'm trying to make a game with the theme "The Cat's out of the Bag" in about 48 hours. I'd make a forum post with a question, but I don't have the time!
Worked over a week on a new BGM, and I'm finally happy with it.

Here are some screenshots of the area it will be used in
EzLHppdVIAMY7DP


EzLHpqsVIAEZ7jt

Forum statistics

Threads
110,517
Messages
1,053,893
Members
143,610
Latest member
WillieRay
Top