8BP (= 8bits of power) is a set of RSX commands (commands that are directly integrated into BASIC) that helps you to create games in Locomotive BASIC for the Amstrad CPC. It features new commands for sprite handling, animation, scrolling, music (based on the WYZTracker), etc. With only 8kb of code, it is very small and leaves 24kb to be used by your BASIC program. You can download the latest version from GitHub, read the (spanish) development blog or participate on the technical discussions in the CPCWiki forums.
Main features
- 32 sprites with clipping, overwrite, ordering (4 order types) and collision detection (mode 0 and mode 1)
- 4 modes of sprites sorting, based on Ymax or Ymin, partial or complete
- sprite/image flipping (mode 0 and mode 1)
- animation sequences, and macro-sequences. Any sprite can change automatically its animation sequence depending on its parameters Vy,Vx
- multi-directional scroll (based in command MAP2SP)
- allows in-game music based on WYZtracker 2.0.1.0 tool (commands MUSIC and MUSICOFF)
- layout ( which is a kind of “tile map”), with collision detection
- only takes 8 KB, leaving 24 KB for BASIC programs. 8BP reserves 8KB for sprites and 1.4KB for music, but your BASIC program can have up to 24 KB length
- STARS command for sand effects, rain, snow and stars planes
- commands for move N sprites at the same time (such as MOVERALL, AUTOALL, ROUTEALL…)
- routing sprites through user-defined routes, simplifying game logic. These routes can be loopings, jumps, complex trajectories or whatever
- inks animation command (RINK) for racing cars games, bricks. etc
complete sprite editor included (SPEDIT) - customizable mini character set for printing in mode 0 (using command PRINTAT)
- Pseudo 3D capability for “pole position” style games (racing games, tanks, etc)