01-02-2020, 10:14 PM
(This post was last modified: 01-03-2020, 05:01 AM by kyonides.
Edit Reason: Changed Screenshot for CR reasons
)
Something Makes Me Think We Are in the Twilight Zone!
At least that's what I think... What about you, guys?
It's true! Now we gotta read backwards!
Nah! I just let you use a new method to draw text in the opposite direction.
No images on the harddisk are needed here!
Guess what? There's still more I need to tell you today!
Now you can load fonts located in several different paths!
Like /usr/share/fonts and many others!
You don't really need to stick with the local Fonts directory!
What I (un)intentionally forgot to mention here is that it's only valid for Linux distros sadly...
Alright, it's a good thing for Linux enthusiasts like your servitor.
I don't know how to convert %WINDIR% into a working path so Windows users gotta wait a little bit longer...
Even so I've got good news for you! You can be saved today!
OK, fine! This is a maker site, I know...
But it's still kind of valid even for the RMXP engine based game projects...
Melana: Kyonides, is it really so hard for you to finally let us know what you're talking about here?
A living pack of wolvish fleas: Let him be! He just need to add some thrill to his story as usual.
Melana: Yeah, you're probably right, DerVVulfman... It gotta be just another awesome feature he included in his engine.
Kyonides: Huh!? I wonder what made you think so in the first place.
I guess I might end up disappointing you, guys, a little bit but not more than that.
It happens that I managed to find a pesky bug and smash it!
You know, it felt really good to exact revenge on it.
Melana: Oh I see... You could say bug fixes are welcome as well.
Kyonides: Glad to read that, dear sweet dreamer!
Especially because it happened right in the midst of bloody battles against those cold assassins better known as phantoms!
Melana: Why do you say so? Did they appear and disappear in battle as real ghosts?
BountyHunterLani: O_O *vanishes in thin air like a ghost then*
Kyonides: Kind of... Even if I didn't notice she had visited my thread earlier today...
Some admin: You gotta have scared her with your beyond the crypt news for sure!
Actually what I really mean here is that we've got other ghosts than the actual white ghosts Aluxes seems to love... slashing in his spare time.
Melana: This is really perturbing, now my dreams will become actual nightmares for sure.
Kyonides: On the contrary, Melana!
DerVVulfman: Then explain yourself!
Well, on Windows but never on Linux distros you were able to witness something "amazing"...
Battle animations except for colored flashes had disappeared!
I've told you there were more ghosts than ever to talk about here.
Don't worry, my fellow adventurers!
It has been fixed permanently!
Melana: But how did it happen?
Furry Wolf: Yeah, I've never seen that on any other engine...
Kyonides: Well, there's a funny story behind it...
I might have had introduced a minimal bug about a couple of months ago that prevent the engine from setting the default sprite's opacity to 255 as usual. You see, originally both the setter and getter functions written in C used a macro that called C++ code to get its value.
BountyHunterLani: Me not understand...
Oh... It means that setting and retrieving the current opacity value depended on an entirely different language, namely C++. I just preferred to load it from Ruby itself and that's where the opacity was set to nil instead of 255 or any other valid value. So I had to manually set it and now it works as expected.
What I find the most curious out of all of this long tale is that it also took me a few days to find it out on my own. We could now say that the length of my current post reflects those days of confusion, dead ends and frustration.
You know what? Loading fonts from other locations on Linux also seemed to be such a pain you know where...
I was supposed to upload the demo like on December 31st, then last night but it only took place today.
By the way, I repeat: "horizontal flip applied on fonts now work on all officially supported platforms!"
Here's a sample script.
Code:
@sprite = Sprite.new
@sprite.set_xy(100, 100)
@sprite.bitmap = Bitmap.new(250, 44
font = @sprite.bitmap.font
font.flip = true
font.name = 'Hack'
font.shadow = true
font.shadow_size = 2
@sprite.bitmap.draw_text(0, 0, 250, 40, "Hacking your PC! :P", 1)
"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