Here`s a quick game I made. It took me about 4 hours:
This program shows how to split the screen to make 3 players play at once.
http://www.mediafire.com/?14y4l7xfyxb
I recommend you click 3 Players.
Control player 1:
upkey:forwards
downkey:backwards
leftkey:turn left
rightkey:turn right
spacekey:shoot
Control player 2
right mouseclick:forwards
move mouse down:backwards
move mouse left:turn left
move mouse right:turn right
left mouseclick:shoot
Control player 3
joy up:forwards
joy down:backwards
joy left:turn left
joy right:turn right
any fire button on joystick:shoot
Troubleshooting:
If you have Darkbasic 1.13, you`re fine with this program
If you have any later version of darkbasic, you have to do some adjustments:
find the command "gosub view1"
put a "sync" after it
find the command "if players>1 then gosub view2"
put a "sync" after it
find the command "if players>2 then gosub view3"
put a sync after it
find the command "if players=1 then sync"
replace that line with "sync"
Now your program should work.
Oooooops!!! I accidentally formated drive c.