GithubHelp home page GithubHelp logo

commando's People

Contributors

kanavrov avatar stoilsky avatar valchev avatar

Watchers

 avatar  avatar  avatar  avatar

commando's Issues

Create sprites for character animation

Create one character animation for the following actions:
Walk
Fire
Melee attack
Dying animation

all of these need to have a mirror image for left/right. The same sprite will be reused with different colors for the second army.

Design a GUI for unit information

The game needs a pretty GUI menu which will display information on a selected unit.

The few UI widgets that I added look terrible. A cool menu needs to be designed. It will have to carry the following info (maybe more):

  1. Name of unit
  2. Action points of unit left
  3. XP of unit
  4. Abilities of unit
  5. Mugshot (i.e. portrait of unit)

Need to find a way to "listen" for changes in unit selection

At the moment if a unit is selected you have ".selected = 1" ;

Then we draw the movement radius which tells you where you can move.
The problem is that you can unselect a unit ("selected=0") in a few different ways.

It would be bad to put "if selected == 0" in 10 different places. Instead we need a different mechanism to track when a unit is unselected and remove its radius and infromation from the dashboard. I tried with watch() but it's very very bad for performance.

Generate random map shape

Create a function that will generate a randomly shaped hex grid. It must accept the number of hexes as a parameter. It should replace the existing createBoardLayer(). It should use initHexTile() from classes.js.

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.