Graphics Guide

Graphics in Game Programming

Graphics is a sub-category of game programming that deals with anything visual. Anything drawn or displayed on the game screen falls under the graphics category.

Drawing Frames

The text and graphics of a frame can be cleared away using Cls.
After the text and graphics of a current frame have been drawn to the screen buffer, they can be displayed using Sync.


Sprites are commonly used to represent game objects in 2D games.


Colors are usually defined by numbers, such as hexadecimal numbers, as they are in HTML.

Shapes / Primitives

Primitives are basic shapes that are dynamically drawn. PlayBasic can to draw and handle vector shapes, which can be used to create old school vector arcade games.

Text Output


Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution 2.5 License.