Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (vicknick, AndrewAMD), 1,292 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Hide Splash Screen? #374803
06/21/11 18:59
06/21/11 18:59
Joined: Oct 2010
Posts: 346
USA
RealSerious3D Offline OP
Senior Member
RealSerious3D  Offline OP
Senior Member

Joined: Oct 2010
Posts: 346
USA
Hello. I am hoping that someone can help me with an issue. When I launch a GameStudio created application or game I get two things that flash by very quickly before the actual game runs: a white box with the loading info and a quick flash of a black, command-box like window. Is there any way to suppress these so that they are not seen at all? I am running the Pro version, by the way.

Why do I want to suppress these? Well, I am building an application via a programming environment that allows me to run a GameStudio compiled game or app within the application itself. This allows me to launch the compiled GameStudio application and display it in a specific place (a designated rectangular area) as if the GameStudio app were a part of the application (sort of like running a game in a window in a browser from the Internet). But the illusion is partly broken because, when launched, the end-user first sees the white startup screen and then the flash of the black window before the actual GameStudio game or app is up and running. If I could suppress these somehow so that they were not seen at all, then this would be fantastic.

Does anyone know if this is possible?

Re: Hide Splash Screen? [Re: RealSerious3D] #374804
06/21/11 19:03
06/21/11 19:03
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
well.. when you own the PRO Edition of 3DGS, you can hide the Startup Screen with the WINSTART commands in a WDL Script (same name as your main lite-c Script).

With Commercial and lower, you can try the Window Overlay Project:
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showgallery&Number=340545


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Hide Splash Screen? [Re: Espér] #374807
06/21/11 19:11
06/21/11 19:11
Joined: Oct 2010
Posts: 346
USA
RealSerious3D Offline OP
Senior Member
RealSerious3D  Offline OP
Senior Member

Joined: Oct 2010
Posts: 346
USA
Okay. Thanks for that. Please forgive my ignorance, but where do I put this code in my WLD script? I tried simply adding the following code:

Code:
WINDOW WINSTART{
  MODE STANDARD;  // always required
  COMMAND "-nwnd"; // no start window
}



But I get an error when I try to run the game. It tells me that WINDOW is an undeclared identifier.

Re: Hide Splash Screen? [Re: RealSerious3D] #374810
06/21/11 19:17
06/21/11 19:17
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
main.c => Your startscript
main.wdl => the wdl file with winstart inside

You start the game with the *.c script ^^


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Hide Splash Screen? [Re: Espér] #374811
06/21/11 19:23
06/21/11 19:23
Joined: Oct 2010
Posts: 346
USA
RealSerious3D Offline OP
Senior Member
RealSerious3D  Offline OP
Senior Member

Joined: Oct 2010
Posts: 346
USA
I am learning to program and am testing all this. I have a main script file called test_level_main.c and another file called winstart.c. test_level_main.c has #include "winstart.c". winstart.c has the code (as above). However, I am getting the same error.

Obviously I don't know what I am doing.

And, yes, I have the Pro edition.

Re: Hide Splash Screen? [Re: RealSerious3D] #374812
06/21/11 19:25
06/21/11 19:25
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
create a wdl with the name: test_level_main.wdl
dont include it
put your window code into that file wink

(afaik it must be in the same folder as the test_level_main.c)

Last edited by Rei_Ayanami; 06/21/11 19:25.
Re: Hide Splash Screen? [Re: RealSerious3D] #374813
06/21/11 19:29
06/21/11 19:29
Joined: Apr 2005
Posts: 4,506
Germany
F
fogman Offline
Expert
fogman  Offline
Expert
F

Joined: Apr 2005
Posts: 4,506
Germany
rename winstart.c to to test_level_main.wdl
Do not include it!
Publish the wdl file
In the published folder you´ll find a wdf file, copy it in your work folder and delete the test_level_main.cd folder

When you now start your game from WED or SED there should be no splash anymore.
The wdf file is needed in the published version, too.


no science involved
Re: Hide Splash Screen? [Re: fogman] #374817
06/21/11 19:46
06/21/11 19:46
Joined: Oct 2010
Posts: 346
USA
RealSerious3D Offline OP
Senior Member
RealSerious3D  Offline OP
Senior Member

Joined: Oct 2010
Posts: 346
USA
For whatever reason, this does not seem to be working for me. I now have my test_level_main.wdl file with the basic window code AND my test_level_main.c code. In WED I have the test_level_main.c code attached to the map. The map compiles and runs fine, but the startup screen is not suppressed.

fogman, I am not sure I follow your instructions. How do I "publish" just the WDL file? If I only attach the test_level_main.wdl file to the map, which only has the window code in it, then when I publish this I do not get a WDF file at all.

Re: Hide Splash Screen? [Re: RealSerious3D] #374818
06/21/11 19:53
06/21/11 19:53
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
File -> Publish -> Check "Starter"


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Hide Splash Screen? [Re: Superku] #374820
06/21/11 19:58
06/21/11 19:58
Joined: Oct 2010
Posts: 346
USA
RealSerious3D Offline OP
Senior Member
RealSerious3D  Offline OP
Senior Member

Joined: Oct 2010
Posts: 346
USA
Thanks, Superku. But now I get a little window with the standard MS min, max and close buttons that flashes for a second.

Page 1 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1