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 (AndrewAMD, Nymphodora), 1,558 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Splash Screen creation #273002
06/20/09 22:23
06/20/09 22:23
Joined: Apr 2009
Posts: 113
Netherlands
D
Dreher Offline OP
Warez Victim
Dreher  Offline OP
Warez Victim
D

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
O
Ottawa Offline
User
Ottawa  Offline
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Hi!

You can do your splash screens with 2 panels.


Hope this helps!
Ottawa laugh

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
D
Dreher Offline OP
Warez Victim
Dreher  Offline OP
Warez Victim
D

Joined: Apr 2009
Posts: 113
Netherlands
Originally Posted By: Ottawa
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 wink


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
D
Dreher Offline OP
Warez Victim
Dreher  Offline OP
Warez Victim
D

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 laugh


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
D
Dreher Offline OP
Warez Victim
Dreher  Offline OP
Warez Victim
D

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 Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Thats easy! Spalshscrenn;
Code:
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
L
lostzac Offline
Member
lostzac  Offline
Member
L

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


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