The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 871 - File: showthread.php PHP 7.4.33 (Linux)
File Line Function
/showthread.php 871 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loadscreen text colours
#1
I've been fixing the implementation of side specific loadscreen text colours yesterday. Then I stumbled upon a stupid problem - singleplayer loadscreens are drawn before the rules are read! So I had to move the whole rules loading to an earlier point in the process, which introduced a chicken-and-egg problem - I can't draw the loadscreen until I have parsed the rules, and rules' parsing takes a noticeable amount of time, waiting that long without a loadscreen looks wrong and broken. Unfortunately, the game draws the entire loadscreen in one burst and then just updates the progressbars afterwards. If I want to update it to, say, load the background and stuff first, then parse the rules and draw the text in the right colour, I need to do some serious recoding. Not to mention that would also be unfamiliar to ordinary users...

Putting up additional status messages like "Reading rules...", "Reading scenario...", "Loading AI...", "Placing objects on map..." during the load is easy, actually, as long as I don't make too many of them - vertical space is limited.

So, thoughts on what I should do about the loadscreens?

Oh, and here's a sample of what the status messages look like - I'm running a new testing country so background/strings don't make much sense, w/e.

[Image: loadstatus.png]

Worth playing: 1 | 2 | 3
Reply


Messages In This Thread
Loadscreen text colours - by DCoder - 16.08.2009, 10:16:23
RE: Loadscreen text colours - by Tempest - 16.08.2009, 12:00:41
RE: Loadscreen text colours - by pd - 16.08.2009, 14:44:00
RE: Loadscreen text colours - by DCoder - 16.08.2009, 20:28:46
RE: Loadscreen text colours - by Blade - 17.08.2009, 11:35:39



Users browsing this thread: 1 Guest(s)