So remember how we could not have mini games in our loading screens?!?!

So remember how we could not have mini games in our loading screens?!?!

Post just about everything that isn't directly related to Spring here!

Moderator: Moderators

User avatar
Floris
Balanced Annihilation Developer
Posts: 609
Joined: 04 Jan 2011, 20:00

Re: So remember how we could not have mini games in our loading screens?!?!

Post by Floris »

welll... not that we cared about patents before... or did we?

if so... any cases or examples of what patents the spring rts engine respects?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: So remember how we could not have mini games in our loading screens?!?!

Post by smoth »

Spring as an engine or a community. Either one is very broad
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: So remember how we could not have mini games in our loading screens?!?!

Post by smoth »

In case you think this post is somehow random....

search.php?keywords=Patent+namco&terms= ... mit=Search
gajop
Moderator
Posts: 3046
Joined: 05 Aug 2009, 20:42

Re: So remember how we could not have mini games in our loading screens?!?!

Post by gajop »

For multiplayer games I'd much rather have chat going while loading takes place, but patents expiring is always a good thing. +1
User avatar
AF
AI Developer
Posts: 20686
Joined: 14 Sep 2004, 11:32

Re: So remember how we could not have mini games in our loading screens?!?!

Post by AF »

The engine's 10 years old, if our loading screens on a machine with an SSD are long enough we can play a minigame I'd be worried
User avatar
Silentwings
Moderator
Posts: 3695
Joined: 25 Oct 2008, 00:23

Re: So remember how we could not have mini games in our loading screens?!?!

Post by Silentwings »

They can be made longer, if needed ;) I'm with chat.
hokomoko
Spring Developer
Posts: 592
Joined: 02 Jun 2014, 00:46

Re: So remember how we could not have mini games in our loading screens?!?!

Post by hokomoko »

gajop wrote:but parents expiring is always a good thing.
You're a sick person.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14657
Joined: 17 Nov 2005, 02:43

Re: So remember how we could not have mini games in our loading screens?!?!

Post by Forboding Angel »

gajop wrote:For multiplayer games I'd much rather have chat going while loading takes place, but parents expiring is always a good thing. +1
You're a bad, bad, man. STRANGER DANGER! STRANGER DANGER!
gajop
Moderator
Posts: 3046
Joined: 05 Aug 2009, 20:42

Re: So remember how we could not have mini games in our loading screens?!?!

Post by gajop »

Somebody must've edited my original post! :|
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: So remember how we could not have mini games in our loading screens?!?!

Post by smoth »

Silentwings wrote:They can be made longer, if needed ;) I'm with chat.
WE CAN DO THAT!??!
User avatar
Silentwings
Moderator
Posts: 3695
Joined: 25 Oct 2008, 00:23

Re: So remember how we could not have mini games in our loading screens?!?!

Post by Silentwings »

Yep, just mine bitcoins in unitdefs_post :p

I don't think you can actually control the duration, though. And I think luaintro doesn't know when its about to get kicked out so it can't e.g. fade out music.
8611z
Posts: 169
Joined: 08 Jul 2015, 20:20

Re: So remember how we could not have mini games in our loading screens?!?!

Post by 8611z »

you can, it knows
gajop
Moderator
Posts: 3046
Joined: 05 Aug 2009, 20:42

Re: So remember how we could not have mini games in our loading screens?!?!

Post by gajop »

8611z wrote:you can, it knows
Can you control it really?
All I see is that there's a callin which gives you current load progress.
I guess you could make things 'fade out' in Finalize, but it would be kinda hacky.

There doesn't seem to be a "wait with leaving LuaIntro for a few more seconds" callout/callin return?
gajop
Moderator
Posts: 3046
Joined: 05 Aug 2009, 20:42

Re: So remember how we could not have mini games in our loading screens?!?!

Post by gajop »

Additionally, I wish we could do some widget/gadget loading during the loading screen as well.
The game should really be 100% loaded once it starts, and not just the engine stuff.
PS: For chat we'd also want sockets + lua tables transferable from LuaIntro to game state.
8611z
Posts: 169
Joined: 08 Jul 2015, 20:20

Re: So remember how we could not have mini games in our loading screens?!?!

Post by 8611z »

...some widget/gadget loading during the loading screen...
this happens and is one way to control loading times
gajop
Moderator
Posts: 3046
Joined: 05 Aug 2009, 20:42

Re: So remember how we could not have mini games in our loading screens?!?!

Post by gajop »

Busy waiting or what?
Can you give more concrete info/examples how one would delay loading by a few seconds/frames?
User avatar
Silentwings
Moderator
Posts: 3695
Joined: 25 Oct 2008, 00:23

Re: So remember how we could not have mini games in our loading screens?!?!

Post by Silentwings »

For clarity, since this suddenly became a serious discussion, my suggestion of artificially controlling loadtime by bitcoin mining a la

Code: Select all

while curTime<startTime+30 do
  Spring.Echo("Hi Hooo Hi Ho Hi Ho Hi Hoooooo")
end
is not a serious one ... hang detection spams stacktraces, unresponsive, etc etc.

Unfortunately LoadProgress can't be used reliably to control/discover how much time remains of luaintro, it only provides the current loading "stage" in text form and the durations are non-deterministic (due to hardware level caching, etc).
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: So remember how we could not have mini games in our loading screens?!?!

Post by smoth »

would be neat if we knew progress of stages, I always liked the TA:K loading screen that showed what it was loading at different stages.
8611z
Posts: 169
Joined: 08 Jul 2015, 20:20

Re: So remember how we could not have mini games in our loading screens?!?!

Post by 8611z »

Are you speculating about "hang detection spams stacktraces, unresponsive, etc etc." or did you try it? I noticed no such problems with bitcoin miner in gadget. (not in defs) It gives nice control because gadgets/widgets are loaded as one of the last steps.
Yes, LoadProgress only provides the current loading "stage" in text form but they always happen in the same known order, that is good enough to track progress or trigger things that do not need to be super-precise. (like some animation or music) It is of course bit hack but so was much else in modding. It stays very limited to one area (loading) so I find it more amusing than anything.
Post Reply

Return to “Off Topic Discussion”