Skip to content

Python remake of NovaSquirrel's Forehead Block Guy, an arcade style platformer

Notifications You must be signed in to change notification settings

pinobatch/pyfhbg

Repository files navigation

PyFHBG

Forehead Block Guy (FHBG) by Joshua Hoffman (@NovaSquirrel on GitHub, @BushytailSkwirl on Twitter) is an arcade-style platform game for NES where you throw blocks at enemies to stun them and then touch them to defeat them. It is the direct predecessor of two of NovaSquirrel's later games:

PyFHBG is an attempt to take FHBG in a slightly more serious direction.

Premise

They came back and found the facility trashed and crawling with vermin. Not only that, but without any staff to protect, the sneakers were caring for the vermin. So they called an exterminator.

Stun each enemy by tossing a block at it, then touch it while stunned to kill it. Defeat all enemies in the room or grab all chips to continue.

Prerequisites

Install Python 3 and Pygame for Python 3. Under Debian or Ubuntu, try this:

sudo apt install python3-pygame
python3 fhbg.py

Why SDL 1.2?

Pygame uses SDL 1.2. When exporting a replay as a video, the game uses pygame.image.tostring() to capture the video to an RGB byte string and then feed it to FFmpeg. (See enlarger.py.) I know of two SDL 2-based replacements for Pygame, neither of which has any counterpart to pygame.image.tostring()

PySDL2 docs state:

tostring(): No equivalent yet

The README for the Ren'Py project's pygame_sdl2 states:

Current omissions include:
APIs that expose pygame data as buffers or arrays.

License choice is pending.

About

Python remake of NovaSquirrel's Forehead Block Guy, an arcade style platformer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages