This is a small dungeon crawler game I made within 5 days for the gamedev.tv 2022 Game Jam.

Source Code of the game: https://github.com/Grisgram/gjam-one-knight-alone

The game of course still contains bugs, there was not much time for polishing :-)
Please be aware of that!

The Story

"You need to stay just for one night,
but you must enter alone. 
Treasure beyond imagination await you,
and... other... things... might await you, too.
Come in and find out!"

The cloaked man spreads his arm with an inviting gesture
towards the entrance portal of the castle...
With loud rattle and squeaking the drawbridge lowers
in front of my feet.

And so I accepted the challenge, unsure, what I just committed.
But I am a knight. Brave. Unbreakable.
AND I wear a golden armor! So, what can happen?


What you can see / learn in this repository:

  • The use of StateMachines to control behavior of game objects
  • The LG sub system of my platform for localization, including random picks for the knight's messages when something happens
  • The Animation sub system of my platform to animate elements in the scene without the static sequence system of GameMaker
  • The use of Animation Curves
  • The use of Controller objects
  • Heavy use of @JujuAdams scribble (https://github.com/JujuAdams/Scribble) library for text animation
  • Room transition through a FadeController object that dynamically changes parameters of effect layers
  • How to open links in a new tab from a html5-runtime game in GameMaker (Credits to @YellowAfterLife - @ YAL for his great extension!)
  • Loading included files at runtime through @jujuAdams SNAP (https://github.com/JujuAdams/SNAP) library
  • How shader programming works in GameMaker - There's a cool outline shader implemented here. More about the shader: Grisgram/outline-shader (github)

My platform (the _indievidual_ and _packages_ folders in the project) will be published open source as a project template containing the (in my oppinion) must-have libraries in their most recent release as a project template for GameMaker.


Credits and Thanks

My most favorite asset sources:

Cheers,
Mike

Download

Download
Source Code
External
Download
index.html 578 bytes

Install instructions

This game runs in the browser.

To launch it locally, you need GameMaker Studio 2 installed on your machine. It's free. If you have this, you can clone the Source Code Repo and just hit F5. Inside Studio, it runs in a VM environment, if you don't have a paid license of GameMaker.

Development log

Comments

Log in with itch.io to leave a comment.

Great work! I really liked the time aspect to exploring each level. Definitely a good sense of risk vs. reward. One bug I did come across though was that every time I died I needed to reload the page as when I clicked for a new game it wouldn't load properly.

I THINK this could be a side effect of a bug I just fixed (when the character dies while in state “attack”, the state did not reset correctly and so the follow-up initialization of the game fails because “attack” is not a valid initial state).

I fixed some state bugs in the push roughly 10 minutes ago. Thanks for reporting!

very nice game! 

Thank you very much!