Code Monkey home page Code Monkey logo

roguelike's People

Contributors

zij-it avatar

Stargazers

 avatar

Watchers

 avatar

roguelike's Issues

Edge of a room is not rendered (Simple Map Builder)

While exploring a map generated by the simple_map_builder I noticed that some edges in rooms are not properly rendered, or may not be a part of the map. I am currently unsure of the exact location of the bug, as it could be one of two things:

  • Rendering issue regarding EDGE_BUFFER as it prevents the edge of the room from being rendered.
  • Map building issue as the boundaries of a room may not be checked to be valid for the simple builder. This will have to be verified later.

Monsters Stack

When two monsters, who are one space apart both want to move to the space between them, they can currently do that, and they will then be stacked. This is because the map is not updated in between monster movements, only after. To correct this I will have to add a function to map, which updates tile_contents given movement from tile to tile.

Monsters move onto player

While testing around with monsters, I noticed that they can walk onto the player, and then attack the player. The player is not able to attack them while they are under him. Various testing shows this to be the case with every monster (unsurprisingly), so it is an issue in the movement code!

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.