Skip to content

A small rogue-like built from the bottom-up in a little game engine built on C#/Blazor.

Notifications You must be signed in to change notification settings

dontrolle/BlazorRogue

Repository files navigation

BlazorRogue

Build Status

A small rogue-like built from the bottom-up in a little game engine I built on C#/Blazor. Has a tileset renderer using the the beautiful Ultimate Fantasy Tileset tiles from Oryx, and a custom-built ASCII renderer.

Features

  • Dungeon generation, a variety of monsters (animated using CSS-animations), mouse-over descriptions, sounds and music, screen-shake effect, useable environment, field of vision, basic combat (should be balanced at some point), ...

  • Engine supports json-configuration for most visuals, audio and attributes for entities, as well as weights and config for map generation.

  • Supports tileset renderer - uses a number of tiles from the splendid UF Tileset, as well as an ASCII renderer in that old school format (though with colors).

  • Allows fast (client-side) switching between tileset and ASCII rendering.

Screenshots

A partially explored sandy dungeon with a number of monsters chasing:

BlazorRogue Screenshot 1

A room with a bunch of chests:

BlazorRogue Screenshot 2

Chased by a skeleton into the arms of a goblin and his two pet black spiders:

BlazorRogue Screenshot 3

The same scene rendered in the ASCII renderer:

BlazorRogue Screenshot 3 - in ASCII

Building

Follow the instructions on Get started with ASP.NET Core Blazor to get a working build environment for Blazor for either VS code or Visual Studio.

(This very project started with a dotnet new blazorserverside -o WebApplication1, as can probably still be seen here and there.)

Tileset

This project employs the excellent Ultimate Fantasy Tileset. I own the tileset and have the commercial license, but the tileset graphics used by this project have been removed from this repo, as it is part of the license-agreement that they should be protected from copying.

If you own the UF Tileset, you can put the subfolders of the uf_split folder in the UF Tileset in the wwwroot/img/-folder, and BlazorRogue will be able employ the tileset.

In some unknown future, I might make an effort to make a release where the tileset is suitably protected. Don't wait for it, though, as this is an on-and-off hobby-project of mine to play around with Blazor and roguelikes. ;)

About

A small rogue-like built from the bottom-up in a little game engine built on C#/Blazor.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published