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.

Newcomers DBPro Corner / is it possible (compiling games from engine)

Author
Message
da power pwnerer
18
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Pittsburgh, PA
Posted: 9th Jul 2007 18:03
i am working on a game engine right now and i want it to compile standalone executables. i was wondering how i would do this. if someone could help, i would be very grateful

Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 9th Jul 2007 19:01
You mean compile your DB programs, or games made with your engine?

da power pwnerer
18
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Pittsburgh, PA
Posted: 9th Jul 2007 19:18
make games with my engine

Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 9th Jul 2007 19:22
It's probably possible. Not so much in DBPro, and would take alot of experience I'm pretty sure.

It sounds like you want to make a proper game engine that handles graphics and everything. There's no point in that, since DB is a game engine itself, and will compile for you. The only thing you would do that you could consider an engine is things like level loading etc.

da power pwnerer
18
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Pittsburgh, PA
Posted: 9th Jul 2007 19:26
ok... lol j/k thanks for the info

wickedly kick it
18
Years of Service
User Offline
Joined: 13th Jul 2006
Location: Fort-worth Texas
Posted: 9th Jul 2007 19:59
that is possible, but it will be hard. You will need to know darkbasic pretty well. and like Zotoaster said, DBP is like an engine.

102
da power pwnerer
18
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Pittsburgh, PA
Posted: 9th Jul 2007 21:37 Edited at: 9th Jul 2007 21:42
ya I will be putting all of my efforts into this project to make it happen. in a few days i will post it in the w.i.p forums

TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 9th Jul 2007 22:02 Edited at: 9th Jul 2007 22:03
To do what you want, you would need a compiler and you would not be allowed to supply the DB compiler with your engine without prior arrangement with TGC.

The best you could hope for is to create an interpreter - but that means no exe's I'm afraid.

TDK_Man

da power pwnerer
18
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Pittsburgh, PA
Posted: 9th Jul 2007 23:07
ok thanks. i was thinking about making an editor and engine and then once you finish your game you click like a build button and it tells you your finished code, ready for dbp

da power pwnerer
18
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Pittsburgh, PA
Posted: 9th Jul 2007 23:18
which i just realized is an interpreter lol

Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 10th Jul 2007 00:48
I would also recommend a Virtual Machine (VM). Basically, you make a compiler, that turns regular source code into very simplified "bytecode", then the VM simply interprets that code. It's two relativelly simple processes, but it sounds like you might want it.

da power pwnerer
18
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Pittsburgh, PA
Posted: 10th Jul 2007 01:26
awesome thanks for the help

Login to post a reply

Server time is: 2024-11-25 15:12:55
Your offset time is: 2024-11-25 15:12:55