top of page

2D Game Engine

DESCRIPTION

A 2D game engine written in C, utilizing SDL2 for a window and inputs, and Chipmunk for physics. I focused on developing an open world beat 'em up akin to River City Ransom/Girls.


Systems

  • Entity - Keeps track of all objects in the game world

  • Camera - Adjusts itself dynamically according to the  player's movement.

  • UI - Player status bars and stat panel, equipment panel, NPC's name and health bar, text bubbles for buying items in the shop.

  • Animation - There is one model I use for all characters that has an idle animation, the player also has attacking animations.

  • Combat - The player can attack NPC's with a punch and kick attack that removes them when their health is 0.

  • Chipmunk - a physics library I am using for all world collisions.

  • Audio - able to play music in different scenes, and for different events like attacking and if attacks hit or miss.

  • Item Pickup - Different items can be picked up and moved around.

ROLE

Programmer/Designer/Artist

YEAR

2021

GENRE

Open World Beat 'em Up

PLATFORM

PC

Game Features

  • A playable character with idle, walk, run, punch, and kick animations, sounds, health and stamina, ability to punch and kick, and pickup and drop items.

  • Enemy characters with idle animation, take damage and deal damage on collision, randomized names.

  • multiple levels and level transitions.

  • The camera repositions when the player reaches a threshold on screen.

  • The level art and items were made by me. The characters and animations are from River City Girls and are not owned by me.

Code Examples

Entity
Camera
Item
UI
bottom of page