Giter Site home page Giter Site logo

flux-game's Issues

please add LICENSE file

Nothing in this repository specifies under which license the code is distributed. Please add a LICENSE or a COPYING file so users know what rights they have when copying.

Alternatively, let me know and I can do a PR.

Improve Map Editor

Ideas:

  • Specify map size
  • Choose a map to load
  • Store maps in localstorage for quick playtesting

Fix background parallax for level 2

If the first background is bigger than the canvas, evil things happen.

Either allow for a background color (and reposition the first image to the bottom) or just fix the image.

Move tick/render logic in engine to GameMode

As a part of the ongoing effort to separate "engine code" from "game code", we should modify the engine to support Game Modes as a way of changing the logic each frame.

For example, the default GameMode would just call tick() and render() on every registered Entity, whereas a MenuGameMode would move a cursor around a menu screen, and a SceneGameMode would execute actions based on a script defining the cutscene (delay, move entity, play animation at x, play sound, etc).

GameModes should be stored in a stack, so that a MenuGameMode is pushed on top of the stack, and popped off when the menu is finished and gameplay should continue.

There will be some shared state between GameModes (entities and tilesets, for example), as well as internal state (menu cursor position).

Skin bullets

The bullets are fugly at the moment. Might want to skin those.

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.