Save-Point
What's up, RMers? - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Games Development (https://www.save-point.org/forum-4.html)
+--- Forum: Development Discussion (https://www.save-point.org/forum-17.html)
+--- Thread: What's up, RMers? (/thread-395.html)



RE: What's up, RMers? - kyonides - 06-04-2018

How many times have I told you that its lead developer hates Ruby? Tongue sticking out Plus calling the Time class methods is time consuming according to some commentators' or knowledgeable rubyists' statements, IIRC...


RE: What's up, RMers? - DerVVulfman - 06-04-2018

BASTICHES!!!! THEY TOOK MILLISECONDS OUT OF THE TIME CLASS!

EnterBrainless stripped down the Time Class for use in their engines, so you cannot compare different TIME calls down to the millisecond. JERKS! But ReGaL's not using a stripped down version. Winking

Still, if a replacement for the old Wait system is wanted, it would take a lotta work n research.... dangit. Sad


RE: What's up, RMers? - DerVVulfman - 06-05-2018

(06-04-2018, 03:11 AM)DerVVulfman Wrote: BASTICHES!!!!    THEY TOOK MILLISECONDS OUT OF THE TIME CLASS!

I GOT IT!!!!!    THEY HID IT!!!!

Code:
time = Time.now

ms = time.to_f.to_s.split(".").last[0..2]
p time.strftime("%H:%M:%S.#{ms}")

They disabled the tv_usec and usec properties which made immediate calls to retrieve the Milliseconds from the time class.    BUT...  the above code shows that the milliseconds STILL EXIST!!!   I can still retrieve the data!

Now the fun part is to see about making the most UBER accurate wait system for RPGMaker which can be set to the millisecond!!!  Um... wait...  Erm,  to 1/1000th of a second may be too much.  So instead of the millisecond, how does a centisecond  (1/100th) sound? 


RE: What's up, RMers? - kyonides - 06-05-2018

Pffffft, PC's or OS's need milliseconds not centiseconds to make calculations... Sarcasm Don't try to break anything, wulfo!  Laughing + Tongue sticking out


RE: What's up, RMers? - DerVVulfman - 06-05-2018

RPGMaker's own wait system is nothing more than a counter timer system which can be slowed down by a lotta processes running in the game. And it assumes the odd 40 or 60 units per second.

Using a means to read the system time down to 1/100th of a second in this way means a lot more accuracy. And I'm reading the timer, not setting it.

Trust me, setting the timer with a Win32API in Ruby is hella hard (if not near impossible). And trust me, I did research on it. Winking


RE: What's up, RMers? - kyonides - 06-05-2018

Win32API for Ruby 2.x has been deprecated and should not be used anymore... Tongue sticking out

On the article below, it might not be clear who would be first, the chicken or the egg, from a programming point of view. Confused

https://www.quora.com/In-a-game-program-do-bullets-check-if-they-hit-an-enemy-or-do-enemies-check-if-they-are-hit-by-a-bullet


RE: What's up, RMers? - DerVVulfman - 06-05-2018

Deprecation or depressed? Bored. Still, some things are still only available this way.

Entertaining topic. In the RPGMaker lines, you actually send attack data to the 'Target/Victim' and check its stats to see if the attack data hit the victim. So you do see the victim get hit first. Even the ABSs gotta run a test based on the victim, though hits are usually guaranteed if on target.


RE: What's up, RMers? - Steel Beast 6Beets - 06-06-2018

Has anyone else encountered this annoying bug in RMXP?

I try to test my game but when booting the project my characters are stuck walking up north. It's like the up arrow is permanently pressed.

It's really bothersome to say the least. It gets fixed once I reboot my computer, though. Thinking about that, perhaps it's just my PC that's acting...


RE: What's up, RMers? - DerVVulfman - 06-06-2018

Wow.... It's been a long time since I heard of that issue.... my old days in RMXP.Org (circa 2005-2006). But it turned out to be her PC too. Hell, I gotta admit that I encountered it myself. But I was running a copy of RMXP on a Pentium III laptop I used for traveling/temporary purposes. Yes, I said Pentium III. Don't let the 'minimum requirements' discourage you. Tongue sticking out


RE: What's up, RMers? - Steel Beast 6Beets - 06-06-2018

My computer is like 7 or 8 years old. Which in technology time is, like, a century more or less. I reckon. I'm still running Windows 7 for Christ's sake. But again, from what I've heard/read about the latest Windows entries, methinks that's for the best...

I haven't been hit with his bug in years. I had actually forgotten about it until yesterday when I remembered "yeah, that is a thing that used to happen quite a lot back in the day". I don't know what could have triggered it again.