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 / Other platforms for dark basic pro=playstation,xbox

Author
Message
Daniel wright 2311
User Banned
Posted: 20th Nov 2011 04:24
So, game engins like the latest game Skyrim Built there own game engine just for that one game,there own code. But the game runs on xbox,playstion and windows pc. Well, HOW???

If it's there own code,there own engine how do you all think they did it? I have seen one of there videos and In the video the main programer said they dont use but the code in there engin in all platforms,so How?

This is something that should be looked at for dark basic pro as this is a game engine and If I could look to Having my great game played on a system like xbox or playstation I would create something hugh.

my signature keeps being erased by a mod So this is my new signature.
Dar13
18
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 20th Nov 2011 05:58
DBPro uses DirectX as the primary graphics(2D and 3D), sound/music, and networking engine. DirectX, somewhat unfortunately, doesn't run on PlayStation 3 or Xbox 360.

The Skyrim developers probably abstracted their game code away from the individual libraries they had to use for the various platforms, possibly similar to how the OGRE 3D graphics engine does it.

To make DBPro to be like Skyrim would be a massive task, requiring an entire rewrite of the engine. Although, AppGameKit is pretty close to being DBPro on several platforms(minus the 3D graphics of course).

enderleit
19
Years of Service
User Offline
Joined: 30th May 2007
Location: Denmark
Posted: 20th Nov 2011 06:54 Edited at: 20th Nov 2011 07:09
Most game-engine code can be written in C/C++ to be completely portable between platforms. This code is fairly high-level and doesn't have anything platform-specific in it. It then interacts with a part of the engine that handles platform specific tasks like graphics, sound, etc... The platform specific parts is written specially for each platform, but in a way that it can interact with the game-engine in the same way on each platform. Which means it has all the same functions, with the same parameters, but the code they execute are special to each platform...

Was that understandable?



Daniel wright 2311
User Banned
Posted: 20th Nov 2011 07:02
Quote: "Was that understandable?"


yes

Quote: "DirectX, somewhat unfortunately, doesn't run on PlayStation 3 or Xbox 360."


I know xbox has dirrect x 10 comadability but am not shure if its engine works as diret .x or not. Ill have to reshearch this,but you would think as easy as dark basic is it would be nice to incorerate the code to work with linux code.

my signature keeps being erased by a mod So this is my new signature.
enderleit
19
Years of Service
User Offline
Joined: 30th May 2007
Location: Denmark
Posted: 20th Nov 2011 07:12 Edited at: 20th Nov 2011 07:15
Just because it is easy to use doesn't necessarily mean that the code that makes up DarkBasic is simple.

Windows and Linux does things in VERY different ways, so it would require a very BIG rewrite to make it Linux compatible.

Daniel wright 2311
User Banned
Posted: 20th Nov 2011 07:24
Quote: "so it would require a very BIG rewrite to make it Linux compatible"


Then I say do the rewrite, it might take a long time but why not do it?

it would make the engine more popular and give people like me a chance to make something published.

my signature keeps being erased by a mod So this is my new signature.
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 20th Nov 2011 13:32
Quote: "I know xbox has dirrect x 10 comadability"

No. DirectX is a brand name, like Windows. Neither Windows or DirectX versions on the XBox or XBox360 are the same as Windows or DirectX on the PC, and of course, neither work at all on the PS3 or the Wii or on native Linux.

Quote: "Then I say do the rewrite"

Excellent idea. Here's the source code: http://code.google.com/p/darkbasicpro/source/browse/

Go to it. Once you have something workable, let us know

Daniel wright 2311
User Banned
Posted: 20th Nov 2011 20:12
Quote: "Go to it. Once you have something workable, let us know "


Thanks for the link my friend,ill look into the

code.

my signature keeps being erased by a mod So this is my new signature.

Login to post a reply

Server time is: 2026-07-10 18:21:20
Your offset time is: 2026-07-10 18:21:20