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 / Can I make my own Game Engine using DBP?

Author
Message
DreamyAbaddon
12
Years of Service
User Offline
Joined: 9th Mar 2014
Location:
Posted: 9th Mar 2014 07:12
The title says it all.
I'm about to study game programming and designing with a friend starting with DBP for the first time and I would like to know:

"What's a game engine?"
"Can I make my own Game Engine using Dark Basic Pro?"
"What advantages do I have for writing my own Engine?"
"Does DBP have it's own engine I can use? If so, what are they?"


Thanks!
Chris Tate
DBPro Master
17
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 9th Mar 2014 10:00 Edited at: 9th Mar 2014 10:05
Well done for asking; my answers to you:

"What's a game engine?"
A software engine is a system of functions and configurations used to make use of hardware to provide consistent functionality. In this case a game engine is a system of functions and configurations used to provide consistent fun.

"Can I make my own Game Engine using Dark Basic Pro?"
Yes. DBP is a programming language shipped with development tools that can build a game engine.

All video games have a game engine; and often combine physics and rendering engines and can be derived from a parent engine as a child. This is the case with the Source engine, which is derived from the GoldSrc engine, which in turn is derived from the Quake engine.

"What advantages do I have for writing my own Engine?"
Many, however I will only touch on a few.
* It is a good way to learn about video game infrastructure; and knowledge of such infrastructure helps you learn how to make solid games
* If you manage to create a darn good engine, those you permit to use it for making games can make do so your way, through your terms; giving you some power to influence the industry
* It is a good way to understand how to make use of a game engine; since it tends to be easier to understand your own game engine
* Others can use your game engine to build games or derived engines; which gives you more exposure and potential
* You get to optimize your engine for your target audience and target hardware
* You get to cater the engine to your style of development. Check out this 2D engine by SelfishGames. Check out my 3D engine here. Check out evolveds lighting engine here. Different engines for different styles and purposes.


Those a just a few benefits; however note that building one is a long term investment. It will take time, but once complete, it should help you produce what you want much more seamlessly than without it, otherwise it is useless.

"Does DBP have it's own engine I can use? If so, what are they?"

I'm not quite with you on this question.

Chris Tate

Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 9th Mar 2014 10:55
Quote: "Does DBP have it's own engine I can use? If so, what are they?"

Yes it does, the FPSC code was released and contains everything needed to create a first person shooter right out of the box. With modifications, you can create many other game types too.

BatVink
Moderator
23
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 9th Mar 2014 11:30
I think it is worth adding that DBPro is a game engine. It handles putting 3D and sprites onto the screen with shaders etc. It also has plugins for physics, artificial intelligence and other features.

However, you can still create a more focused game engine on top of all this. For example, I have created a library of effects for creating animated HUDs. There is massive scope for creating an engine inside DBPro and calling it your own.

Derek Darkly
14
Years of Service
User Offline
Joined: 22nd Sep 2011
Location: Whats Our Vector, Victor?
Posted: 9th Mar 2014 15:19 Edited at: 9th Mar 2014 15:27
I've been using DBPro for about 3-4 years, and I have seen examples of every type of game imaginable around here.

If you can dream it up, it can be made.
These are some test screens from various projects of mine, if you can see them:

















666GO†O666
Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 9th Mar 2014 18:35
Quote: "DBPro is a game engine."

Technically, it isn't. It's still just a programming language.
Engines provide full support for everything a game needs to run. (Like the unreal engine.)
DBPro just provides you with the ability to create a game engine.

MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 10th Mar 2014 04:49
I remember this being debated in the past...

There are a few good books on the market which detail game engines and how to piece them together, they mainly focus on C/C++ but you can always apply the theory onto any other language; DBPro included...

Welcome to the forum DreamyAbaddon

DreamyAbaddon
12
Years of Service
User Offline
Joined: 9th Mar 2014
Location:
Posted: 10th Mar 2014 07:08
Thank you everyone for being awesome and very helpful!
I am planning to make my own game engine now.

However, as a beginner who has never programmed before:

Is it best for me to start off learning how to build a game engine first so my programming skills are better when making my game?

or

should I take the path of using an existing game engine in DBP language to create games while learning to increase my programming skills?

Which path do you think is best for me to start out with?
Thanks!
BatVink
Moderator
23
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 10th Mar 2014 08:36
If you write in a modular fashion (i.e use functions for significant parts of your game) then you'll find that you are building up a reusable game engine library as you code.

tiresius
23
Years of Service
User Offline
Joined: 13th Nov 2002
Location: MA USA
Posted: 14th Mar 2014 10:13
Start out by creating many small simple games, incorporating new concepts (high scores, save game files, etc) as you go along. Pick a genre you love to play (RPG, sports, puzzle) and simplify them.

If you want to learn wood construction you build many bird houses to start. Don't begin on your own house.

Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 14th Mar 2014 12:31
Quote: "Start out by creating many small simple games, incorporating new concepts (high scores, save game files, etc) as you go along. Pick a genre you love to play (RPG, sports, puzzle) and simplify them.

If you want to learn wood construction you build many bird houses to start. Don't begin on your own house."


Good advice.



Powered by Free Banners

Login to post a reply

Server time is: 2026-07-06 04:29:19
Your offset time is: 2026-07-06 04:29:19