Enjoy BYOND? Contribute today!
Day and Night
Apr 7 2008, 8:58 am
I figured out that putting your day, night, and general weather routines into the base world event cycle is not a good idea. Well, unless you like huge CPU use....
Apr 7 2008, 10:00 am
Apr 7 2008, 10:29 am
Yeah, I made that mistake before, it was when I had a crappy computer with a CPU that viewed GHz as some sort of god. Crashed.
Apr 7 2008, 11:02 am
It was a screwup. Weather and time were supposed to be their own little datums calling their own little update procs. Somehow, I managed to have the routine called from the main event loop. I think I was testing something goofy at one time and never fixed it. So I go to run the project and my CPU use goes redline. I profile and see the main event loop is just gorging on resources. Quick peek in there and I find my error. Since I hadn't posted in a while, I just stuck a note about it up here.
Apr 8 2008, 6:01 am
Does this mean Myth is no longer a text game?
Apr 8 2008, 8:09 am
No, it is still very much text. The weather and time cycle affect things like room conditions and visibility (things get dark after sundown and characters can't see without a light source, for example).
Apr 11 2008, 10:36 am
Ah, good... I thought the lag was caused by graphical adjustments.
Copyright © 2013 BYOND. All rights reserved.
Terms of Service