Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

1.8KB

BLAST RUNNER

An auto-scrolling run-and-gun for the Commodore 64, written in 6502 assembly (ca65/ld65). The city scrolls on its own. Jump the pits, use the platforms, and shoot the soldiers and bomb-dropping drones.

Controls

Key Joystick (port 2) Action
SPACE Up Jump (hold for a higher jump)
CTRL Fire Shoot (hold for auto-fire)
A / D Left / Right Move left / right on screen

SPACE also starts the game and restarts it after game over.

Scoring

Target Points
Soldier 100
Drone 250
Shooting down an enemy bullet or bomb 10
Distance 10 every 4 columns

You start with 3 lives. After a respawn you are invulnerable for 3 seconds, and falling into a pit bounces you back out during that time. The game gets harder as you go: enemies come more often, drones become more common, and pits get wider.

Build and run

build.bat          :: runs gfx.py, then assembles blastrun.prg
build.bat -run     :: build, then launch in VICE x64sc
run.bat            :: launch (builds first if needed)

Python, ca65, and ld65 must be on PATH. run.bat expects VICE 3.10 at C:\Program Files\GTK3VICE-3.10-win64\bin\x64sc.exe.

Graphics

All sprites and custom characters are ASCII art in gfx.py. Edit them there and rebuild. gfx.inc is generated, so don't edit it by hand.

Test builds

Define Effect
-D AUTOTEST Starts on its own, holds fire, hops now and then, and shows player Y and the on-ground flag in the HUD
-D INVINCIBLE Enemies can't hurt you and pits bounce you out

Example: ca65 -D AUTOTEST -D INVINCIBLE blastrun.asm -o t.o && ld65 t.o -C blastrun.cfg -o test.prg

Screenshot without a window: x64sc -autostart test.prg -warp -limitcycles 20000000 -exitscreenshot shot.png

Powered by TurnKey Linux.