Munkis' Invisible Timer snippet
Version: 1.0 Author: munkisRelease Date: 01/07/2011Exclusive Script at RPG RPG RevolutionIntroduction A (really) small script that lets you flip an in-game switch to render the timer invisible, in case you're feeling sneaky
Features You can flip an in-game switch to render the timer invisible.
Script CODE
#------------------------------------------------------------------------------
# * Munkis' Invisible Timer snippet V 1.0
# * Made by munkis
# •”•••••••••••—
# •‘ FEATURES •‘
# •š•••••••••••
# * Lets you flip an in-game switch that makes the timer invisible, in case
# you're feeling sneaky;)
# * Aliases update method of Sprite_Timer.
# * V 1.0: Initial release
#------------------------------------------------------------------------------
module MNK_Timer
INVISIBLE_SWITCH = 7
end
class Sprite_Timer < Sprite
alias munkis_timer_update update
def update
munkis_timer_update
if $game_switches[MNK_Timer::INVISIBLE_SWITCH] == true
self.visible = false
else
self.visible = $game_system.timer_working
end
end
end
CustomizationThe only thing to customize here is what in-game switch gets flipped.
Compatibility I don't know of any other scripts that mess with Sprite_Timer, so there shouldn't be any issues. Even so, this script aliases the update method, rather than overwriting it.
Screenshot Kinda hard to take a pic of something invisible
DEMO Shouldn't be necessary for a script this small.
Installation Place in MATERIALS, above MAIN.
FAQQ: ZOMG teh scriptz doesn't werk!!!
A: First of all, be more specific. Second, all reports typed in chat-speak or 1337-speak will be ignored.
Terms and Conditions I don't mind this script being posted or linked on other sites
AS LONG AS YOU GIVE CREDIT!!! Same goes for using this in your project. Contact me if you want to use this in a commercial project.
CreditsCredit me (munkis).
This post has been edited by munkis: Jan 7 2011, 04:13 PM