An open API service indexing awesome lists of open source software.

https://github.com/dontrolle/blazorrogue

A small rogue-like built from the bottom-up in a little game engine built on C#/Blazor.
https://github.com/dontrolle/blazorrogue

blazor blazor-server roguelike roguelike-game roguelikedev

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# BlazorRogue

[![Build Status](https://dev.azure.com/tedconsultingdk/BlazorRogueAz/_apis/build/status/dontrolle.BlazorRogue?branchName=master)](https://dev.azure.com/tedconsultingdk/BlazorRogueAz/_build/latest?definitionId=1&branchName=master)

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](https://www.oryxdesignlab.com/ultimatefantasy), 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](/img/BlazorRogue1.PNG)

A room with a bunch of chests:

![BlazorRogue Screenshot 2](/img/BlazorRogue2.PNG)

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

![BlazorRogue Screenshot 3](/img/BlazorRogue3.PNG)

The same scene rendered in the ASCII renderer:

![BlazorRogue Screenshot 3 - in ASCII](/img/BlazorRogue3_ascii.PNG)

## Building

Follow the instructions on [Get started with ASP.NET Core Blazor](https://docs.microsoft.com/en-us/aspnet/core/blazor/get-started) 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](https://www.oryxdesignlab.com/ultimatefantasy). 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. ;)