API Examples

This collection of tutorials will teach you the basics of building games with Pixel Vision 8.
This collection of tutorials will walk you through each of Pixel Vision 8's APIs and give you step by step instructions to write a demo that shows how to use them.

Table of Contents

Introduction
Installing the Example Files
API Examples Disk
876 KB
Color
Color
ColorsPerSprite
PaletteOffset
ReplaceColor
TotalColors
Drawing
DrawPixels
DrawRect
DrawSprite
DrawSpriteBlock
DrawSprites
DrawText
File IO
AddScript
LoadScript
ReadAllMetadata
ReadMetadata
ReadSaveData
WriteSaveData
Input
Button
InputString
MouseButton
MousePosition
Music
PauseSong
PlaySong
RewindSong
SongData
StopSong
Rendering
BackgroundColor
Clear
Display
DrawTilemap
RedrawDisplay
ScrollPosition
Sounds
IsChannelPlaying
PlaySound
Sound
StopSound‌
Sprites
MaxSpriteCount
Sprite
SpriteSize
TotalSprites
Tilemap
Flag
RebuildTilemap
Tile
TilemapSize
UpdateTiles
Utilities
CalculateDistance
CalculateIndex
CalculatePosition
CharacterToPixelData
Clamp
NewCanvas
NewPoint
NewRect
Repeat
SplitLines
WordWrap

Join The Club

The Fantasy Console Club is free to join and offers exclusive access to updates, tutorials, and more. By joining, you'll get a free copy of Pixel Vision 8, it's documentation, and a collection of API example tutorials to get you started, which is everything you need to start making 8-bit games.
Become A Member Today

Help Support Pixel Vision 8

Pixel Vision 8 is still in development. Currently, it is offered as "early access" and may contain bugs, unexpectedly crash, or have missing features. These early access builds help get feedback, identify bugs, and stress test the tool-chain. Join the dedicated Discord server for support and sharing with the community.
Join The Discord Server