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 / New and Aspiring.

Author
Message
JordanBrookes
14
Years of Service
User Offline
Joined: 27th Oct 2011
Location:
Posted: 28th Oct 2011 03:57
Hello all.
I don't really know if this is the right place to put this but it involves darkbasic pro.

I am really into game design I am fascinated by it and would like to learn how to do it myself

Problem is I do not know where to start... How I should go about it.
Or even what code to start with and how I could possibly learn that code...

I have no experience at all. Any help would be really appreciated

Thank you for taking the time to read this.
Lucas Tiridath
AGK Developer
17
Years of Service
User Offline
Joined: 28th Sep 2008
Location: Kings Langley, UK
Posted: 28th Oct 2011 06:05 Edited at: 28th Oct 2011 06:10
Hi there JordanBrookes. Welcome to the forum!

Starting out coding can certainly be daunting and I'm pretty sure everyone here remembers how it feels to start out. If you have no experience and are willing to throw a little money at the problems, I would suggest you look in to buying these books. The are excellent and extremely clear. You may experience a few issues because they use a slightly over version of DBP but they really excel because they don't just teach you DarkBASIC Pro; they start from the beginning and teach you to code. Much of what is covered in the first book will, in fact, be applicable to most programming you do, regardless of language. I say this having started with them myself.

There are as many ways to learn to program as there are programmers so I'm sure you'll find the way that suites you. The way I approached it and still approach learning new languages is to read through an explanation so that I understand the concepts, not making any effort to learn any specifics. For example, it is important that you know that variables are used to store values in a program but it is not important that you know that variables can be declared like so:



Once you have the concepts, I find the best way to learn is to simply start coding. If you know what you need to do (for example declare a variable) it's a breeze to open your big old coding book and look up how it's done - or just type the question in to Google or this forum's search bar. Through writing your own programs, you will use these structures so frequently that you'll eventually not need to look them up but in the mean time, you can still write great programs. As I say, the key is knowing what you're looking for.

Another way that a lot of people learn is through the tutorials available here on the forum. Personally I've not used them but I've heard that they're very good. Just have a look in the tutorials sticky thread.

Quote: "Or even what code to start with and how I could possibly learn that code..."

By this, do you mean what programming language? Or what program to start work on?

If you mean what language, then I would say that DarkBASIC Pro is a really great place to start. It is simple and yet powerful and so is an excellent place for newcomers to programming to start. Well, in my opinion anyway. I know that my uni's Computing Science department disagrees and starts freshmen on assembly language and works up but I know that had I started that way, I would simply have given up. DBP is accessible and that is what matters at this stage. One thing I would add to this is that a lot of people I know worry about what language they learn when they start on the principle that it will take a long time to learn so the decision is important. I disagree. Learning to program takes a lot of effort; learning a new language does not. Once you understand the principles of programming, you'll be able to quickly pick up other languages as and when you need them. I would therefore really not let the decision bother you. Just run with what takes your fancy and if that's games, then DBP should be for you.

If you mean what program to start on, I'd say that you should probably start with the examples in the books or the tutorials; whichever you decide to go with. Then just work on a game that you fancy making; preferably not an MMORPG although I know that's always the temptation . Truth be told, even if it turns out the project you pick is too big or you don't code it right and you end up abandoning the 3000 lines of code you've hammered out, it's not the end of the world. In fact, by working on that project, you've written 3000 lines of code that you probably wouldn't otherwise have written and you will have learnt a hell of a lot in the process.

OK I'll stop rambling now. Hope some of that helped and please do keep posting here as you learn. When you start working through tutorials and the like and run in to problems, just post over on the Newcomers to DBPro Corner board and lots of people will be on hand to help. I wish you all the best in your programming journey. And if you can persevere through the first learning process, I can assure you that everything from there on will be easier and it will be well worth the effort.

OK I'll really stop rambling now .

Hodgey
16
Years of Service
User Offline
Joined: 10th Oct 2009
Location: Australia
Posted: 28th Oct 2011 06:09
@ Lucas: And yet in all of that you forgot about TDK's tutorials

Lucas Tiridath
AGK Developer
17
Years of Service
User Offline
Joined: 28th Sep 2008
Location: Kings Langley, UK
Posted: 28th Oct 2011 06:12
Quote: "@ Lucas: And yet in all of that you forgot about TDK's tutorials"

True that! As I say, I've never used the tutorials much here do I don't know much about them but I've heard they're very good. Anyhow good work posting the link .

Chris Tate
DBPro Master
17
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 28th Oct 2011 13:40
And don't be shy to post up any further questions. Let us know what you intend to develop in the future.

After reading TDKs tutorials you should be pretty much ready to make a start.

There are also command based reference guides, a memblock guide, data-type guide and a Top 10 resources article for handling the development while working solo; on my website, via my signature banner.

Quel
17
Years of Service
User Offline
Joined: 13th Mar 2009
Location:
Posted: 28th Oct 2011 14:57
For starting as a new guy to all this, the Dark Basic Classic pack was awesome. It came with various decent example games, and i could spend endless hours of changing them here and there to find out what does what. Pro doesn't really have those... You could try finding some games here on the forums which come with the source files. Or may i suggest the 20 lines codes also here on this forum, though you may not find uncompressed (not 20 lines) codes for all of them. Which is not a newby compatible format :-|

The point is that you shouldn't look at it as some mystical otherworldly stuff.

Step 0: you need some good logic born with you, Step 1: learn the chosen languages main commands and mechanics, just what they really do technically, Step 2: with your awesome brain, and your fresh new knowledge, it's gonna do wonders.

Without been born to do such things - i consider myself somewhere between being born to do this, and born to be a farmer - i doubt anybody can tell you some 'godly truth', or 'The Answer' which will guide you to professional game making with ease.?

-In.Dev.X: A unique heavy story based shoot'em ~35%
-CoreFleet: An underground commander unit based RTS ~15%
-TailsVSEggman: An Sonic themed RTS under development for idea presentation to Sega ~15%
JordanBrookes
14
Years of Service
User Offline
Joined: 27th Oct 2011
Location:
Posted: 28th Oct 2011 18:57
Thank you for all the information guys I am trying out this tutorial right now.

When he says to type in the examples however...

I type print and when I run the program it cuts off again straight away...

The program pops up but then shuts as soon as I go to read it...
Rich Dersheimer
AGK Developer
17
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 28th Oct 2011 20:28
Hi Jordan, welcome to DarkBASIC Pro!

When you run a program, you must put some code at the end to keep the program from ending. Maybe a loop, or a command like



Otherwise, the program just ends and the game screen vanishes.

JordanBrookes
14
Years of Service
User Offline
Joined: 27th Oct 2011
Location:
Posted: 29th Oct 2011 16:24
Thank you rich

Sorry for asking such basic questions.
I have never had any programming experience tbh... The most I have ever done is mess around in notepad

Login to post a reply

Server time is: 2026-07-11 12:00:47
Your offset time is: 2026-07-11 12:00:47