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.

DarkBASIC Discussion / Can I make a game with a splitscreen?

Author
Message
DCP
18
Years of Service
User Offline
Joined: 16th Jun 2006
Location:
Posted: 16th Jun 2006 09:30
Can I? Thanks
Neil19533
21
Years of Service
User Offline
Joined: 30th Aug 2003
Location: England
Posted: 16th Jun 2006 10:34
Yep, make a second camera to follow the second character. Then use: "set camera view" which will set the camera where ever you want on the screen.

Any spelling mistakes are totally In tensional.
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 16th Jun 2006 14:35
You can't make a second camera in DB classic. Split screen requires copying the bitmap, but it would probably be very slow.

hyrichter
21
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 16th Jun 2006 15:21
Pincho's right. There is only one camera with DBC. I haven't tried this, but between syncs, you could rotate the camera wherever you want, grab a screenshot of it and then texture a plane(plain in DB) with it. But it might be a little slow.

Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 16th Jun 2006 17:24


Not advisable to use multiple screens in DBC though...

It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 16th Jun 2006 19:01
That's very interesting, and very easy to do.

DCP
18
Years of Service
User Offline
Joined: 16th Jun 2006
Location:
Posted: 16th Jun 2006 21:52
Is it easier to make a splitscreen game in Dark Basic Pro.?
Wandering Swordsman
18
Years of Service
User Offline
Joined: 14th Jun 2006
Location:
Posted: 17th Jun 2006 01:04
Quote: "Yep, make a second camera to follow the second character"
Are you saying... That DBP allows multiple cameras to be active simultaneously? Picture in picture? (Or split-screen?)

When I dream,
I carry a sword in one hand,
a gun in the other...
Heckno
20
Years of Service
User Offline
Joined: 8th Sep 2004
Location: Palm Coast, FL
Posted: 17th Jun 2006 07:33
Quote: "Are you saying... That DBP allows multiple cameras to be active simultaneously? Picture in picture? (Or split-screen?)"


thats what he's saying.... I use a second camera for rpg maps, view is top down on the world from high above...
Spiffty50
21
Years of Service
User Offline
Joined: 8th Apr 2004
Location: UK
Posted: 17th Jun 2006 10:04
I'm thinking that you need Dark Basic Professional to do split screens...

Sooooo much
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 17th Jun 2006 13:56
Quote: "I'm thinking that you need Dark Basic Professional to do split screens..."


What? After someone just posted the DBC code?

Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 17th Jun 2006 16:59 Edited at: 17th Jun 2006 17:17
I'll try to come up with some small "game"like code using wasd and arrowkeys to move 2 players separately...

EDIT:


I have to say it looks pretty good to me...

It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.

Login to post a reply

Server time is: 2025-05-25 08:26:10
Your offset time is: 2025-05-25 08:26:10