O'Reilly logo

DarkBASIC Pro Game Programming, Second Edition by Joshua R. Smith, Jonathan S. Harbour

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Writing Some DarkBASIC Code

I’d like to give you some experience playing around with DB. You should now have a basic grasp of what makes a computer program tick—even if you don’t have a clue exactly how to put it to use yet. In other words, you have some theory but nothing useful yet! In this chapter and those that follow, you will be able to apply the Input-Process-Output model to game programming. First, I’ll start with some basic concepts that will be useful in every DB programming project, regardless of the subject. You were introduced to several example programs in the previous chapter, but I’d like to start at the beginning nonetheless.

In most cases, DarkBASIC is located in the Windows Start menu under Program Files > The Game Creators ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required