GithubHelp home page GithubHelp logo

diamond-hollow's Introduction

Diamond Hollow

DocFX pages-build-deployment

by Adam Švestka

An infinite 2D vertical scrolling game. The player navigates upward over platforms, avoids or kills enemies and collects diamonds.

Based on the Diamond Hollow series of Flash games. Coded in C# using the MonoGame framework.

Screenshot

Installation

Tested with .NET 6 and .NET Core 3.1

  1. Download a version of the source code from MFF GitLab

    • You can either visit the link above and click on > zip to download the source code
    • Or you can clone the repository using a command: git clone [email protected]:teaching/nprg031/2022-summer/student-svestka1.git
  2. Install .NET

    Make sure you have .NET 6 and .NET Core 3.1 installed.

    You can download them here: https://dotnet.microsoft.com/en-us/download

  3. Run the application

    cd student-svestka1
    dotnet run

    You might have to run this twice; .NET has to build the game resources along with the project and seems to not do this in the correct order sometimes.

How to play

You can move the player left/right using the A/D keys and jump with Space. The player aims in the direction of your mouse and you can fire by left-clicking. Holding down the left mouse button will make the player shoot continuously.

Anything else that moves is an enemy, so shoot them or avoid them. Your objective is to collect as many diamonds as possible, there is no end to the game. For more information on enemies and special items, you can collect to aid you, see the HOW TO PLAY.

Building the docs

Requires DocFX. You can install it with NuGet:

nuget install docfx.console

The executable will be under docfx.console/tools/ (requires mono).

Then run the following commands to build and serve the docs:

cd Docs
docfx docfx.json --serve

Open http://localhost:8080 in your browser to view the docs.

A version of the docs is hosted at https://adamsvestka.github.io/Diamond-Hollow/

diamond-hollow's People

Contributors

adamsvestka avatar

Watchers

 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.