4 registered members (ozgur, Ayumi, VHX, monarch),
1,161
guests, and 4
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Splash Screen creation
#273002
06/20/09 22:23
06/20/09 22:23
|
Joined: Apr 2009
Posts: 113 Netherlands
Dreher
OP
Warez Victim
|
OP
Warez Victim
Joined: Apr 2009
Posts: 113
Netherlands
|
Hi there,
Some kind-of noob questions regarding Splash Screens (Loading Screens) and Camera Positions.
Ok here we go:
I'm about to release a Simulation tomorrow, and I want to have 2 splash screens being shown for like 10 seconds before the actual game starts, yet I don't know nor could I find on something on how to do it!
Thanks so much!
Last edited by Dreher; 06/21/09 12:00.
A7 7.77
|
|
|
Re: Splash Screen + Camera Positions
[Re: Dreher]
#273012
06/20/09 23:13
06/20/09 23:13
|
Joined: Apr 2006
Posts: 737 Ottawa, Canada
Ottawa
User
|
User
Joined: Apr 2006
Posts: 737
Ottawa, Canada
|
Hi!
You can do your splash screens with 2 panels.
Hope this helps! Ottawa Ver 7.86.2 Pro and Lite-C
|
|
|
Re: Splash Screen + Camera Positions
[Re: Ottawa]
#273015
06/20/09 23:17
06/20/09 23:17
|
Joined: Apr 2009
Posts: 113 Netherlands
Dreher
OP
Warez Victim
|
OP
Warez Victim
Joined: Apr 2009
Posts: 113
Netherlands
|
Hi!
You can do your splash screens with 2 panels. Well, never used that before but as far as I know, there is a tutorial about Panels, so I will check that out! Thanks
A7 7.77
|
|
|
Re: Splash Screen + Camera Positions
[Re: Dreher]
#273025
06/21/09 00:32
06/21/09 00:32
|
Joined: Apr 2009
Posts: 113 Netherlands
Dreher
OP
Warez Victim
|
OP
Warez Victim
Joined: Apr 2009
Posts: 113
Netherlands
|
The Tutorial does explain some stuff, but not how to create a 'Loading screen / Splash screen' that shows for like 10 seconds, before starting the actual game :S Also need these camera positions fixed, OR a limited Free Cam
A7 7.77
|
|
|
Re: Splash Screen + Camera Positions
[Re: Dreher]
#273087
06/21/09 12:01
06/21/09 12:01
|
Joined: Apr 2009
Posts: 113 Netherlands
Dreher
OP
Warez Victim
|
OP
Warez Victim
Joined: Apr 2009
Posts: 113
Netherlands
|
Update: Camera positions are fixed, I've became a code from someone else, so just the Splash screen creation is left!
ISO help XD
A7 7.77
|
|
|
Re: Splash Screen + Camera Positions
[Re: Dreher]
#273090
06/21/09 12:09
06/21/09 12:09
|
Joined: Feb 2009
Posts: 3,207 Germany, Magdeburg
Rei_Ayanami
Expert
|
Expert
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
|
Thats easy! Spalshscrenn;
BMAP* Splash = "splash.bmp";
PANEL* splash_pan =
{
bmap = splash;
pos_x = 0;
pos_y = 0;
layer = 20;
}
function show_splash()
{
//put here what must happen that your splash screnn show
set(splash_pan, SHOW);
wait(-10);
reset(splash_pan, SHOW);
}
Just call show_splash in main. Please! Hope you understand it.
|
|
|
Re: Splash Screen + Camera Positions
[Re: Rei_Ayanami]
#273093
06/21/09 12:39
06/21/09 12:39
|
Joined: Jul 2005
Posts: 187
lostzac
Member
|
Member
Joined: Jul 2005
Posts: 187
|
Here is what I use for my splash screens in you want a fade effect
#define OUT 0 #define IN 1
function fade_screen(PANEL* pFade, var* vBool) { if(vBool == OUT) { while(pFade.alpha > 0) { pFade.alpha -= 2.5 * time_step; wait(1); } pFade.alpha = 0; reset(pFade,SHOW); } else { set(pFade,SHOW); while(pFade.alpha < 100) { pFade.alpha += 2.5* time_step; wait(1); } pFade.alpha = 100; } }
to use this you just call this in main
fade_screen(YOUR_PANEL, IN);
Hope it helps
John C Leutz II
|
|
|
|