Crow Boy(demo)

Side-scrolling beat-em-up demo for Commodore 64

View the Project on GitHub de-mux/c64-crowboy-demo

(video)

This is a demonstration of a side-scroller involving a character that can run and jump around. It was started a while back as a college project, but was eventually abandoned. I decided to put the source online after fixing some bugs and other issues, in case anybody finds it useful. The code is not the cleanest ever, but can be freely used as a basis for other projects. If you do decide to use any of the code, please share a link. Bug fixes/improvements are also welcome.

Currently, only PAL is supported. The game will still run in NTSC mode, but graphics and sound may not behave properly.

Build

This project requires a POSIX system, DASM and pucrunch(see Tools Used, below).

From the src directory, type:

make

If all goes well, you should end up with crowboy.prg which you can then run on an emulator.

To clean up object files, type:

make clean

Project Organization

Main

Objects, sprites

Screen and text

IRQ

Utils, etc

loader.a is currently not used, but was intended to allow more data to be loaded from a disk.

Sprites

Individual sprites are in sprites/*.SPR -- they are in C64 file format(i.e. 2 origin bytes at the beginning of the file) and can be loaded by the sprite editor. These sprites are all compiled into a single file, sprites/gamesprites.spr which is included in the assembly file. See sprite_info.a to see descriptions.

sprite_info.a contains info about sprite sequences and offsets.

Music

Music files are created using VoiceTracker. The .mus files can be loaded directly from VoiceTracker. The .bin files are the relocated versions(with the 2-byte origin headers removed) to be included directly in the assembly.

Levels

Each byte of level data corresponds to a 2x2 character block. Blocks are defined in the .blocks files and levels are defined in .level files. There are 3 versions of the level/block/charset editor in the tools directory for different operating systems: Mac OS 9, OS 10.4, and Windows. Unfortunately the original source code is lost, so newer versions will not be available. However, with some effort you may have luck with one of the generic level editors out there.

To use the level editor, you need to load 4 things in order to edit a level: the .chr file, the .colortable file, the .blocks file, and finally the .level file.

Tools Used

Screenshots

image

image

image