Coder Social home page Coder Social logo

willehrendreich / dungeonraider Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chrispritchard/dungeonraider

0.0 0.0 0.0 2.29 MB

A top-down action RPG prototype with a procedural dungeon, written in F# and MonoGame

License: The Unlicense

F# 89.00% GLSL 11.00%

dungeonraider's Introduction

DungeonRaider

A top-down action RPG prototype with a procedural dungeon, written in F# and MonoGame.

demo capture gif

The prototype includes:

  • Procedural generation of a dungeon using a Binary Space Partitioning algorithm
  • A controllable player character, animated, with strike, being hit, walking and dying animations
  • Two mapped monster characters similar to the player, a minotaur and a skeleton. The monsters pursue the player when close.
  • Movement using Astar search
  • Primitive lighting, using a distance algoritm and shading

At present, this prototype is going to be left as is. The game kind (top down action RPG) is not really what I want to make going forward, it was more of a coding experiment and a stress test of my evolving monogame wrapper (fsharp-gamecore).

Possible next steps if I was to continue would be:

  • Line of sight lighting, so that you can't see rooms through walls
  • A simplified BSP algorithm, easier to understand and more efficient
  • Placement of monsters
  • Treasure
  • Multiple levels
  • Interface, menus etc

But I probably won't do the above. If you like, consider them an exercise for the reader.

Development and Running

This project was developed using dotnet core 2.1 and VS Code. It should work on all platforms supported by dotnet core. If you are not running windows however, you might run into problems when building the content pipeline (something out of my control, being a monogame thing). If you do encounter issues, please try and follow the steps here.

License/Credit/Acknowledgements

The code is all under the Unilicense. Do with it as you will.

The prototype makes use of two libraries that I wrote, https://github.com/ChrisPritchard/fsharp-gamecore and https://github.com/ChrisPritchard/astar-search. Both are on nuget (which is how they are referenced), and their code is also available under the Unilicense.

All texture content is sourced from http://opengameart.org, primarily from a user called Calciumtrice: https://opengameart.org/content/dungeon-tileset-1. These textures are provided under the Creative Commons Attribution 3.0 license.

The font used is 'Connection', from here: https://fontlibrary.org/en/font/connection. This font is provided under the SIL Open Font License, a copy of which lies in the root of this repository.

Note on development sequence

This project was developed after MiniKnight here.

dungeonraider's People

Contributors

chrispritchard avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.