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 Professional Discussion / Aggressive Project, can DarkBasic Do?

Author
Message
SuperDMon
23
Years of Service
User Offline
Joined: 23rd Jan 2003
Location:
Posted: 9th Sep 2003 22:20
My company is quoting a project that is, in essence, a first person 3D walkthrough of a maze. The user would be able to pick up items as he/she went along, and when time expired they would be lead out of the maze. Simple enough... however!!! Most of the data in the application (the maze and the items) would be dynamically generated (from a web-based database).

Other users could also log in and see what player1 was seeing, but not interfere or interact. I've already looked into Shockwave and created a sample interactive maze with Shockwave3D. It's the multi-player part that is scaring me away from Shockwave. Do I have a reason to be scared?? Is this something that Shockwave 3D should be able to handle, or is DarkBasic better suited? Time-frame for completion is probably 4-6 months. I'm a pretty experienced programmer (rexx, php, asp, javascript) and artist (Lightwave 3D, Flash, Director, Photoshop, etc..).

I'm really looking forward to reading your responses!

Thanks!

Charles
David T
Retired Moderator
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 9th Sep 2003 22:53
In theory you could write a server application using DBP that will take all incoming messages from the clients and update a database, probablby via PHP? (I know TCA has an sql plugin though: http://www.codingarea.co.uk)

If you don't want to have a server then there may be some way to use a web browser plugin to send data to a php script, updating a database and so on.

However if you want to make other users able to see what users are seeing, that'd be hard. The best way to do that would be to have a client application which gets info about the maze a user is viewing, then reconstruct it on their machine for the viewer to see.

c:/dos
c:/dos run
run dos run
SuperDMon
23
Years of Service
User Offline
Joined: 23rd Jan 2003
Location:
Posted: 9th Sep 2003 23:56
Thanks for the link to the SQL plugin. Also this client wants a possible 100 people to be able to log-in and view the action. Can DarkBasic support that many concurrent users?

Once again, the users would not need any type of interaction, the would only see things through a following camera behind the main player. Again I stress.. I'm not sure if a lot of this is possible. I know Shockwave Multiuser server can support a maximum of 2000 connections, but obviously you are not getting the 3D quality of DarkBasic Pro.

Charles
David T
Retired Moderator
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 10th Sep 2003 00:03
DB can have up to 256 players in a multiplay game.

c:/dos
c:/dos run
run dos run
SuperDMon
23
Years of Service
User Offline
Joined: 23rd Jan 2003
Location:
Posted: 10th Sep 2003 16:31
Can someone join a multiplayer game when it is already in progress? How hard is that to code? If someone can join in at any time, and be mapped to a camera that follows the player then I think DarkBasic should be able to handle this project.

I really appreciate your info!
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 10th Sep 2003 16:35
Yes it can.

I have a very basic Chat example (written as an example a few months back) that I need to update. I can post the code when I'm done so that you can look at/appropriate it
zircher
23
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 11th Sep 2003 03:04
Please do, I have a back burner project that needs chat support and I'd like to see how others that done it in DBP.
--
TAZ
Andy Igoe
23
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United Kingdom
Posted: 11th Sep 2003 11:24
DBP can do this, my first thoughts too where using the SQL plugin from TCA.

DB can support connections mid game. The player would act as the server, i'd most likely store the current server address' in the SQL database.

Pneumatic Dryll
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 11th Sep 2003 12:00
It would be best to use SQLite, as then you wont have to worry about whether the correct database system is installed, and whether the table is already present etc...


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 11th Sep 2003 15:41
That's not usually a problem with a commercial project though
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 11th Sep 2003 17:59
True, but some users are apt to change things they shouldnt...


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester

Login to post a reply

Server time is: 2026-07-25 08:12:29
Your offset time is: 2026-07-25 08:12:29