Hafnus

## Valix

Valix as he appears in Hafnus 2.0.0.

**Hafnus** is the second game developed by LudiTheUber (Ludi) and is a prequel to their upcoming game, Revolution. The game involves the main character, Valix, aiming to save their city from attacks from the evil Blackfire group.

The game can be played at https://makecode.com/\_MA6P2C0aC93p. Development updates can be viewed through the Discord at https://discord.gg/yFz242gG.

### Gameplay

The game, as of 2.0.0, has 5 levels in 3 different segments. Level 1 has a meadow theme, and is where the first gun, the Basis-1 is obtained. This gun fires at a normal rate and does decent damage, enough to destroy most enemies in one hit. This gun is found in the ground in-game. The first button combo, UDUDA, is available from the start, as well as a special dash that is not affected by gravity. The only enemy found here is the walking enemy.

Level 2 is somewhat similar to the first level, instead focusing more on large gaps and deadly pitfalls. The jumping enemy is introduced, as well as the ULDR button combo and High Jump option that can replace the dash with a high jump that ignores whether the player is on the ground.

Level 3 shifts the theme to a colder tone, this time using an autumn-themed tileset. The 'Bouncies' gun is introduced, which fires high damage balls that bounce. This level is about 1.5x as long as the previous levels, but apart from this little new elements are introduced. There is the large heart, which recovers 3HP on contact, and there are the portals which transport a player through walls.

Level 4 is entirely winter themed, with ice bricks and ground. This level increases the difficulty, with enemies that will chase you and shoot you down from afar, flying bird enemies and strong enemies with much more health than the others. The P-gun is also obtained in this level. The level does not follow the previous linear structure of levels 1-3, instead having an entirely square tilemap.

Level 5 is split up into 3 parts, which are internally labeled levels 5, 5.1 and 99. Level 5 takes on a new industrial theme and is rather barren. It involves a simple climb to the top of the level, in which more lore is given about Valix's scenario. After acquiring a headset and contacting The Sentinel, Level 5.1 commences, which is somewhat short and does not involve much platforming. If the player has killed 40 enemies, the box containing the Shotgun will open and the player may use it in the upcoming fight against The Sentinel.

///TODO - Finish this. Or don't. hhhhhhhhhhhhhh\\\

### Relation to Fred's Escape

Fred's Escape is known to take inspiration from the game, often reusing assets and code. Ludi has worked directly with Freds father in the creation of some of the Fred's Escape games. The decision to use Makecode Arcade as the engine to create Fred's Escape was decided after Freds father played Hafnus as well as other games created by Ludi's friends and was inspired to create his own games.

### Development

Hafnus was originally made as a small project by Ludi that aimed to test how popular a game similar to Revolution would be, and how it would feel to play. The test ended up successful, sparking many of Ludi's friends to make their own games and creating a unique community. Unfortunately, development has since stopped due to the limitations of a web-based engine. Plans have been made to work on a fully finished version in Unity, but development on this front has been very slow.