Skip to content

pukmajster/bluthbaf_docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

Bluthbaf

A simple Vampire Survivors-inspired 2D game, developed in GameMaker Studio 2. I've been learning bits of game-dev throughout the years, so I gave myself the goal of actually making a game myself - for fun! This challange took about 17 days to "complete".

Note that the actual source code is private due to licensing.

bluthbaf

The Game

  • 4 waves of hostile NPCs
  • Boss fight arena
  • Random item drops (buffs, debuffs, traps, heals, ...)
  • Purchasable upgrades / progression
  • Procedurally-generated deals between waves

Screenshots

gameplay gameplay_intermission gameplay_upgrades gameplay_deals gameplay_bossfight gameplay_death gameplay_victory

Technical Stuff

Attributes system

The player and NPCs all have their own unique attributes, to which we can apply buffs & debuffs via modifiers

dev_attributes

Peripheral

I made a custom UI framework based on GMS2's Flex Panels. It is vastly inspired by HTML and JS. You can define re-usable layouts with XML, supply bindings and add dynamic functionallity through GML.

ui_markup ui_script ui_result

JSON deserialition

Instead of manually creating loader functions for various classes/resources (sequences, item drops, modifiers, ...), Bluthbaf supports deserializing JSON data into real instances/structs at run-time based on additional metadata.

In the following example, we instantiate the CItemDrops constructor (and populate it with associated data) by loading a .json file via DeserializeFile().

jd_code jd_json

Misc

On top of that, the game features some addition custom systems:

  • Time management (clocks, tasks & sequences)
  • Event bus for game-wide communication
  • Console variables (game rules, preferences)

Ending Note

This challange served to combat my inner perfectionism, and was also an opportunity to learn more. Thanks for reading this whole thing. As a reward, here's a screenshot of the game from its first day of development! :D

dev_day1

About

Quick presentation of my simple 2D game, Bluthbaf

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors