- Joined
- Jul 20, 2014
- Messages
- 13
- Reaction score
- 0
- First Language
- English
- Primarily Uses
I want to implement a mechanic that lets the player hit a key that causes the screen to turn sepia and makes hidden objects visible, kinda like Eagle Vision in Assassin's Creed or Detective Vision in the Arkham Asylum games. I've got Yanfly's Button Common Events installed, so when the player hits the 'T' key, this common event runs:
Text:
: Thief Vision activated
Control Switches: #0002 ThiefVisionActive = ON
Tint Screen : (34,-34,-68,170), 300 frames
Control Switches: #0002 ThiefVisionActive = OFF
Tint Screen : (0,0,0,0), 300 frames
I then set up a couple of events to test the hidden object reveal: 3 events, all the same. The first event page is totally blank with no sprite, and the second event page is activated while the ThiefVisionActive switch is on, with a barrel for the sprite. However, when I press 'T', almost nothing happens- no screen tinting, no barrels getting revealed. But I do get the 'Thief Vision activated' text box, so I'm 100% certain that the common event is running.
What am I doing wrong here?
Text:
: Thief Vision activated
Control Switches: #0002 ThiefVisionActive = ON
Tint Screen : (34,-34,-68,170), 300 frames
Control Switches: #0002 ThiefVisionActive = OFF
Tint Screen : (0,0,0,0), 300 frames
I then set up a couple of events to test the hidden object reveal: 3 events, all the same. The first event page is totally blank with no sprite, and the second event page is activated while the ThiefVisionActive switch is on, with a barrel for the sprite. However, when I press 'T', almost nothing happens- no screen tinting, no barrels getting revealed. But I do get the 'Thief Vision activated' text box, so I'm 100% certain that the common event is running.
What am I doing wrong here?



