Git Product home page Git Product logo

sqarea's Introduction

Sqarea

Extraordinary game about squares + super cool ECS

Alpha software

Running

This project uses docker instad of NVM to manage Node versions.

For development do the following:

  • Install docker

  • Run make build to build the Docker image

  • Run make to access the Docker container (node is available here)

  • Run npm i (or any node related command)

If you are having issues with file permissions or ownership run make own within the Docker container.

sqarea's People

Contributors

belohlavek avatar nicosantangelo avatar

Stargazers

 avatar

Watchers

 avatar  avatar

sqarea's Issues

Input Component?

I've seen several implementations that have input components to mark entities that should react to input

Useful for webgl-based UIs and other interactable stuff

Add the shooting marker

It should be adjacent to one side and movable via a key press/mouse
This issue can be done in the same PR as #4

Bullet system

As a player I want to shoot bullets in 4 directions. Bullets should have spread.

Smooth delta time

Basically, it does exactly what it says; it smooths the deltaTime:

Say the frame rate is humming along at 30 fps, then you experience a hiccup of a few frames at 15. DeltaTime will report a difference of 2 ms (30 fps = 2ms / frame, 15 fps = 4ms / frame), but smoothDeltaTime will report something closer to 2ms (but weighted by the frame loss).

https://forum.unity.com/threads/time-smoothdeltatime.10253/

Note: this should not be part of the core ECS, buit an supeset on top of PIXI's update loop

Health system

Players should have health and a health bar
Healthbars should change color as value decreases
Healthbars should follow players (see #20)

Component dependencies?

What happens when a component requires the existence of another one? By definition components should be independent.

Use-cases:
Shapes should reuse transform's position/scale
Camera should reuse transform's position

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.