Sprite

Sprites are images that are commonly used to represent the game objects in a 2D game. Sprites have other properties in addition to those of images — most importantly, sprites can be used for collision detection.

Sprite Index

Sprite Size

Resize / Scale Sprites

Loading Sprites

Sprites are not loaded in PlayBasic. First, an image must be loaded and then the image is used to create the sprite.

  • NewSprite - create a new sprite from an image, get an available sprite index automatically.

Using Sprite Sheets

  • write me!

Drawing Sprites

Sprite Animation

Animation End

Animation Speed

Collision

Bounding Box

Collision Point

Change Sprite

Color Sprite

Direction

Directional Sprites ( 2 , 4 , 8 )

Sprite Facing Left / Right

Sprite Position

Sprite Handle

Set the Sprite Position

Related Pages

How To

Reference

Links

Categories: Graphics : PlayBasic : Sprites
page tags: graphics sprite _to-do