LoopUpdateCMD
by Kyonides
Introduction
This scriptlet lets you create an update method that will refresh everything on screen while forcing the player to trigger some button to break the loop.
Take in consideration that the loop event command was not meant to be used this way. Thus, there was a need to create a simple way that could let you enable the Input.trigger? method almost as if you were creating a custom scene of your own.
How to Use
Create a loop and leave this script call inside.
Code:
loop_update
It must be the very first thing it processes there.
Now take a look at the screenshots.
Screenshots
XP Script
Code:
# * LoopUpdateCMD XP * #
# Scripter : Kyonides Arkanthes
# 2024-03-11
# This scriptlet lets you create an update method that will refresh everything
# on screen while forcing the player to trigger some button to break the loop.
module LoopUpdate
extend self
attr_accessor :spriteset
end
class Interpreter
def loop_update
Graphics.update
Input.update
$game_map.update
$game_system.update
$game_screen.update
LoopUpdate.spriteset.update
return true
end
end
class Spriteset_Map
alias :kyon_loop_up_cmd_sprtst_map_init :initialize
def initialize
LoopUpdate.spriteset = self
kyon_loop_up_cmd_sprtst_map_init
end
end
VX Script
Code:
# * LoopUpdateCMD VX * #
# Scripter : Kyonides Arkanthes
# 2024-03-11
# This scriptlet lets you create an update method that will refresh everything
# on screen while forcing the player to trigger some button to break the loop.
module LoopUpdate
extend self
attr_accessor :spriteset
end
class Game_Interpreter
def loop_update
Graphics.update
Input.update
$game_map.update
$game_system.update
LoopUpdate.spriteset.update
return true
end
end
class Spriteset_Map
alias :kyon_loop_up_cmd_sprtst_map_init :initialize
def initialize
LoopUpdate.spriteset = self
kyon_loop_up_cmd_sprtst_map_init
end
end
VX ACE Script
Code:
# * LoopUpdateCMD ACE * #
# Scripter : Kyonides Arkanthes
# 2024-03-11
# This scriptlet lets you create an update method that will refresh everything
# on screen while forcing the player to trigger some button to break the loop.
module LoopUpdate
extend self
attr_accessor :spriteset
end
class Game_Interpreter
def loop_update
Graphics.update
Input.update
$game_map.update
$game_timer.update
LoopUpdate.spriteset.update
return true
end
end
class Spriteset_Map
alias :kyon_loop_up_cmd_sprtst_map_init :initialize
def initialize
LoopUpdate.spriteset = self
kyon_loop_up_cmd_sprtst_map_init
end
end
Terms & Conditions
Free for ANY game.
Due credit is mandatory.
Mention this forum in your game credits.
That's it!
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!
Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!
Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE