01-06-2023, 01:34 AM
Modifications Are Unavoidable!?
Well, I didn't expect to update the engine, but, there's always a but, I was trying to play some game that depended on another engine. Since I couldn't stay put, I had to check out whether or not my own engine could handle it. The sad truth was that it couldn't.
What happened there was that they had included weird methods like Graphics.delta, System.platform and System.user_language. I couldn't find any reason why I shouldn't include them as well, leading me to the moment when I simply looked for ways to implement them as well. One of those method simply made me rename an existing module and the other one forced me to include some new SDL2 header file to grab that information from the current OS.
Then another of those strange moments took place. I realized that there were games like Warcraft that simply told you that pressing ANY button would let you go to the next scene. I already had a method, namely Input.trigger_any?(button1, button2, etc.) that could do something similar but not identical.
What if I could fully implement it in HiddenChest?
So I took a moment to analyze the Input class in C code and found out it would be extremely easy to add that desired feature! Obviously, defining the corresponding Ruby binding function for the Input module was a piece of cake!
This means that now we have several new methods:
- Graphics.delta (N microseconds)
- System.platform ("Windows" or "Linux")
- System.user_language ("en" or "es" or "de" or "fr" or "ja")
- Input.trigger_any? (For gamepads, mice and keyboards)
- Input.trigger_buttons?(btn1, etc.) (the old Input.trigger_any? behavior)
One day I'll be able to update my GitHub code to include all of the latest additions and other changes made to HiddenChest's source code.
"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