|
This is a small collection of mostly game example source codes. These source codes are made available to help PlayBasic programmers kick start their game programming journey.
Looking for more source code / tutorials & media, then remember to visit the PlayBasic Resource board on our forums.
Found #3 items in Beginner category
Shoot The Alien
|
By: Kevin Picone Added: March 10th, 2010
|
Category: All, Beginner, Games
|
This example is for of the CleverCoder challenge #19. The challenge was to create a space invader styles game, but limited the number of aliens to one.
The code is bit long that need be really, as the code draws simple polygons to shape to represent the Alien / Player & Bullets. The polygons are then merged to shapes for collision detection between the various character types. I've tried to divide everything into groups of functions to separate everything as much as possible. Which in turn creates a little extra code, but is less error prone in longer projects.
I've included two versions of the code, one is for the users using PlayBasic V1.63 Learning Edition, the other is for V1.64 retail users. The V1.64 version just takes advantage of some of the new compiler and graphics features found in retail editions, such as math operators and VSync support.
|
|
|
Download:
Login to Download
|
|
Lunar Lander
|
By: MonkeyBot Added: October 27th, 2009
|
Category: All, Beginner, Games
|
A Simple (unfinished) Lunar Lander remake by Monkeybot using randomly generated landscapes.
Use cursors for sideways movement and Space bar to thrust
|
|
|
Download:
Login to Download
|
|
Viewing Page [1] of [1]
Want More Source Codes?:
Release Type:
The source code & tutorials found on this site are released as license ware for PlayBasic Users. No Person or Company may redistribute any file (tutorial / source code or media files) from this site, without explicit written permission.
|
|