GitHunt
IY

IyadHamid/UefiGame

Bare metal game using EDK2.

UefiGame

Bare metal game using EDK2 by Iyad H.
To build, clone edk2 and follow build instructions and change the target to GamePkg.dsc. Run using the path Drive and run it in QEMU or copy it into a USB (FAT32) and run Game.efi through UEFI Shell.

The game loads a a sprite sheet that can easily be changed however the tile size is defined to be 8x8 in the gamestate

sprites.bmp
tiles.bmp

Issues/Goals

Features Status
Overall half-functional
Collisions Not tested
Level creation Minimal, undocumented
Slopes not implemented
Camera Changes None

Changelog (Latest first)

v0.1.0

  • Used more optimized sensors similar to retro-Sonic
  • Made player more similar to a class
  • Made 16-bit images

v0.0.0

  • Added Collisions w/ Gravity
  • Changed controller to be less "console-y"
  • Modularized LoadBMP
  • Found and squashed memory leak
  • Made BmpSupportLib happy and no changes in that are necessary

Languages

C95.3%C++4.5%NSIS0.2%

Contributors

MIT License
Created November 18, 2019
Updated March 4, 2026
IyadHamid/UefiGame | GitHunt