List All Pages
Welcome to our arcade game course.
Game Design School
Arcade Games
Arcade Games
Crazy Bubble
Scratchpad
SetFPS 60
LoadFont "Arial", 1, 20, 0
Do
Cls 0
Print "Lives: "
Print "Score: "
Sync
Loop
SetFPS 60
LoadFont "Arial", 1, 20, 0
Lives = 3
Score = 0
Do
Cls 0...
Stuff I'm working on, notes and other things for the arcade game tutorial.
Shooting / Killun'
Create a target
Create a bullet
Move the bullet
Check for collision between the bullet
If the bullet...
This is your wiki's community portal.
Bulletin Board
Post news here.
Things to do
Expand a stub
Includes
stub include
guide include
GDN ++ :)
If you are allowed to edit pages in this Site, simply click on edit button at the bottom of the page. This will open an editor with a toolbar pallette with options.
To create a link to a new page,...
[[/cell]][[/row]][[/table]]
[[/cell]]
[[cell style="width:30%;font-size:95%;vertical-align:top;padding-left:1em;padding-right:1em;border:1px solid #eee;background:#fcfcfc;"]]
[[table style="width:98%;margin-left:auto;margin-right:auto;"]]
[[row]]
[[cell style="width:68%;vertical-align:top;padding-right:1em;"]]
Please change this page according to your policy (configure first using Site Manager) and remove this note.
Who can join?
You can write here who can become a member of this site.
Join!
So you...
Members:
Moderators
Admins
Game Design School
PlayBasic
PlayBasic
Graphics
Color
Data
Variables
Arrays
Types
Controls
Program Flow
Functions
Scratchpad
Introduction
This is our introductory course. In this course you will learn the basics of PlayBasic, which you will be using throughout the entire course.
Specfically you will learn :
The basics...
What is an Array?
Creating an Array
SetFPS 60
LoadFont "Arial", 1, 20, 0
Dim MyArray(3)
myArray(1) = 1
myArray(2) = 2
myArray(3) = 3
Do
Cls 0
Print "MyArray(1) : " + Str$(...
Bit Depth
Bit Depth determines how many colors your game can display at one time.
Alpha Transparency
Function / Command
Explanation
InkMode
Sets the Ink Mode for special effects based on...
foldunfold
Table of Contents
Mouse
FlushMouse
Mouse
FlushMouse
Without FlushMouse :
SetFPS 60
LoadFont "Arial", 1, 20, 0
Do
Cls 0
If LeftMouseButton() Then leftPressed =...
What is Data?
Data is anything that your game needs to remember as the game is running.
Stats
Game and game object stats are an example of data.
Game stats include : score, lives
Game object stats...
Built-In Functions
Playbasic has built-in functions.
You can use the functions to tell PlayBasic to do something.
User Created Functions
Like subroutines, you can create your own functions.
2D Game Screen
Function / Command
Explanation
GetScreenHeight()
Gets the game window height (in pixels)
GetScreenWidth()
Gets the game window width (in pixels)
SetFPS
Sets the game speed...
Absolute Value
foldunfold
Table of Contents
Conditional Statements
If - Then
If - EndIf
Loops
Conditional Statements
If - Then
SetFPS 60
LoadFont "Arial", 1, 20, 0
Do
Cls 0
If True Then Print...
This is for stuff I'm writing that hasn't found it's way onto a proper page.
Types
SetFPS 60
LoadFont "Arial", 1, 20, 0
Type TPlayer
Name$
HitPoints
EndType
Dim Player As TPlayer
Player.Name$ = "Dracul"
Player.HitPoints = 250
Do
Cls 0
Print "...
SetFPS 60
LoadFont "Arial", 1, 20, 0
myVar = 42
myVar# = 42.24
myVar$ = "Fourty Two"
Do
Cls 0
Print "myVar contains the number :" + Str$( myVar )
Print "myVar# contains the...
Individual Edits
Edited Pages
New Pages
Game Design School
Learn to Make Games
PlayBasic
2D Games
Arcade Games
Recent changes
List all pages
Page Tags
Site Manager
Page tags
Add a new page
edit this panel
something is ..
Related Pages
Backlinks
edit this page
history
talk
According to Wikipedia, the world largest wiki site:
A Wiki ([ˈwiː.kiː] <wee-kee> or [ˈwɪ.kiː] <wick-ey>) is a type of website that allows users to add, remove, or otherwise edit...