Git Product home page Git Product logo

sun_prison's People

Contributors

ropewalker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

sun_prison's Issues

Reorganize systems

Group together turn-based systems; group together rendering-related systems.

Rework assets loading

Current way seems to be wrong from workflow and performance perspectives. We probably need all assets to be loaded in a separate system and then setup the game only when the assets are there, or something like this.

Make text updates event-based

Currently health label is being updated in a separate system, while game events label is being updated inside player movement and enemies movement systems, which makes these systems more cluttered than needed. It would be nice to move these updates to a separate system based on events.

Make layer rotation rules more intuitive

Instead of using esoteric rules for layer rotation, always rotate the layer defined by player's tangent and normal orientations in direction from normal to tangent.

Improve game loop

Current game loop is very primitive: first, player moves for one tile or rotates the cube, then all enemies move in random order for one tile, then player moves again, etc. Turning around is free, rotating cube costs as much as moving. This doesn't allow much flexibility. What we probably need is something close to what is described here (or here).

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.