PDF Download


This is the first part of our tutorial series. In this tutorial we’re going to make our first program. So open up DarkBASIC Professional and we’ll get. The best way for beginners to learn a programming language is through simple tutorials that get them to use and understand basic commands by making simple . DarkBASIC Tutorials We built DarkBASIC so you could easily write your own games and programs.

Author: Zulkiktilar Kikree
Country: Tanzania
Language: English (Spanish)
Genre: Technology
Published (Last): 25 October 2016
Pages: 98
PDF File Size: 5.55 Mb
ePub File Size: 12.11 Mb
ISBN: 555-2-31405-115-9
Downloads: 18298
Price: Free* [*Free Regsitration Required]
Uploader: Nikoll

Place these lines of code inbetween the sprite command and the sync command. You should see our player image drawn onto the top left corner of the screen. This is an outstanding option for you tuhorial you want to learn how to program and how to make video games.

Okay, now we’ve learned dqrkbasic about changing text values it’s darknasic to write your own text adventure. All of those games start with the same basic concept of map scrolling, how you use it is what defines the actual style of the game you are trying to create.

First, of all you need to understand what a “sprite” is, yes I know I mentioned it but not has in depth as I need to now, again that was just a basic example. Or how about a Mario-style platform game?

A sprite is a 2d character that is used in games.

Make video games with DarkBASIC

It will show how to create a simple address book, how to save the data to a file, and read the data back into the array. In other languages Add links. Try running the program now. DarkBasic is the answer for you! This tutorial will explain to you how a pixel-scrolling map works, complete with a working example at the end.


This is very important when programming games. It constantly repeats everything inside the loop over and over again starting from top to bottom.

The transparentcy ranges from 0 to So what exactly does this code do? To find out more, including how to control cookies, see here: I have a youtube channel with over Project Videos!

You cannot use load bitmap and use that as an image for your sprite, you can only use images loaded by the load image command. Books on Programming Amazon.

The rgb must be separated by brackets and then a comma for the transparency value. My name is Will and if you have questions or would like to contribute projects or ideas you can contact me.

You might want to learn an easier language that gives you the concepts and ideas of programming while giving you the ability to create video games.

From Wikibooks, open books for an open world. The game loop is where our game starts to happen. This line of code is telling the computer to load an image from the computer.

DarkBASIC Programming – Wikibooks, open books for an open world

Using these above values you should be able to make nice colors. What may not be so easy after reading the code below is what the random numbers are for. Use sync on, to turn the framerate over too you and away from the computer. This is the first part of our tutorial series. The first line is a comment. Plus you’ll learn how to clear the screen in various colors, and oh boy you’re gonna enjoy this lesson.


What do I need to do to get started? Making great video games darkbaisc you learn how to program If you want to learn how to make video games and you think that you want to learn how to program then there is an excellent opportunity for you to do both. First you will learn about the principles of programming, then advance onto media and 3-D topics with further study. Oh boy, oh boy, oh boy!

What’s the RGB for?

DarkBASIC Programming

Before we start I’d just like to thank everybody for visiting this wikibook, taking time to read it and for knowing when I google “DarkBASIC Programming” I see my book on the first page. Go directly to the list of top sellers. Your darkbaslc question may be what is a sprite?

Well, the if statements are checking to see if the argument after it is true or not. Read the introduction to the website. Want to Learn how to make a video Game but not sure where to start? Beware some turns lead to doom, turorial lead to a way out.