GithubHelp home page GithubHelp logo

brunodb3 / generic-dungeon-crawler Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 7.52 MB

Generic Dungeon Crawler

Home Page: https://generic-dungeon-crawler.web.app/

HTML 2.85% TypeScript 97.15%
game pixijs typescript

generic-dungeon-crawler's People

Contributors

brunodb3 avatar

Stargazers

 avatar

Watchers

 avatar

generic-dungeon-crawler's Issues

Enemies for the player

The player should have some enemies to fight. There's a few different types on the asset pack, based on different textures.

todo

  • Add an Enemy class that attacks the player
  • Should have a simple movement implementation (some sort of pathfinding?)
  • Add a health to the enemy and the player
    • When health reaches 0, the enemy (or the player) dies
  • Add attack to the enemy, similar to the player attack

Player attack mechanic

Add an attack function to the player. This should trigger an animation based on the direction the character is facing (there should be a texture to use for attack as well)

todo

  • Make the character follow the mouse cursor and attack when the mouse button is pressed
  • Play a sound when the attack happens (look for a slashing sound online)
    • Make a Audio class so that it can be controlled easily
  • Add a sword to the player as a separate sprite
    • Move the sword in an animation when the attack button is pressed (see what's the best approach for this)

Procedural dungeon generation

Dungeons can be procedurally generated using something like rot.js. One implementation can be found on this repo.

todo

  • Add procedural dungeon generation with corridors, rooms and doors
  • The dungeons should move (in order to keep the player centered on screen), similar to how Floor moves
  • Add interactable doors (they start closed, then if player presses a button, they open)
    • Additionally, keys could be required to open certain doors

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.