Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / How would you switch screens?

Author
Message
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 26th Apr 2008 17:33
In guitar hero, it has where you select the player, and place and guitar you will play. How would you get it so that you see one screen at one time, then it goes to another screen?

If I am not being clear enough please tell me. This is hard to explain...

~~Its not about what you know, its about how you figure it out.~~
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 26th Apr 2008 19:03
Not being clear enough. Physical Screens... like multiple monitors?

programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 26th Apr 2008 19:21
Uhm..... Not like multiple moniters, but like....... You know in your game that you made? The beggining scene where it says IRON INFANTRY, then it changed to the game part. That is what I am talking about.

How did you do that?

~~Its not about what you know, its about how you figure it out.~~
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 26th Apr 2008 20:06
Ahhh....

here's dbpro code snippet from that

`-------------------------------------------------------------------------------------------------
` SPLASH
`-------------------------------------------------------------------------------------------------
Set dir "tmedia"
`set display mode 1400, 1050,16
set display mode 1024, 768, 32
`set display mode 800, 600, 32
`set display mode 1400,1050,32
sync on:color backdrop 0:cls:sync:sync rate 0
set dir "logo"
load bitmap "IronInfantryLogo_Flat.jpg",0
set dir ".."
create bitmap 1,1,1
set current bitmap 1
sync

Might need to sync 2 times... I don't here though.


this part you only care about top line, but I pasted my "about to play" code anyways... that occurs after everything like models are loaded.

`-------------------------------------------------------------------------------------------------
` Get Screen REady
`-------------------------------------------------------------------------------------------------
set current bitmap 0
Cls`Clear screen
iSkyBlueColor =RGB(80,100,150)
`iSkyBlueColor =RGB(164,190,230)
iDarkSkyBlueColor=RGB(31,62,118)
iOrangeSunSet=rgb(210,104,40)
iGrayDayColor =RGB(200,200,200)
iGreenHorizonColor = RGB(23,69,12)
`iSkyColor = iSkyBlueColor
iSkyColor=iOrangeSunSet
`iFogColor = iDarkSkyBlueColor
iFogColor = 0


`HIDE light 0
`color light 0,iOrangeSunSet
position light 0,0,1600,0
set light range 0,16000

fog On
backdrop On
fog color iFogColor
color backdrop iSkyColor
fog distance 15000`30000 ` 15000`5500
Set ambient light 50
autocam off
set camera range 1,100000 ` 34000` 16000`34000`28000 ` 16000 ` 8000
set camera fov 35


`---from Gamecreators
color backdrop rgb(175,200,255)
fog on
fog color 175, 200, 255
fog distance 15000`1000


fog off
`-------------------------------------------------------------------------------------------------



programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 27th Apr 2008 00:05
ok, thats what I needed, thanks

~~Its not about what you know, its about how you figure it out.~~
Zuka
16
Years of Service
User Offline
Joined: 21st Apr 2008
Location: They locked me in the insane asylum.
Posted: 27th Apr 2008 02:37
This is what Jason did, translated to Dark GDK, for anyone who needs it.



I don't need an oven to make my cookies.
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 27th Apr 2008 04:18
yeah, that makes more sense.....

~~Its not about what you know, its about how you figure it out.~~

Login to post a reply

Server time is: 2024-09-29 19:27:49
Your offset time is: 2024-09-29 19:27:49