stoilsky / commando Goto Github PK
View Code? Open in Web Editor NEWturn-based HTML5 game
turn-based HTML5 game
Currently if you highlight a hex - it will turn white when you remove the highlighting. This interferes with the tan colored movement radius.
Each faction needs a base from which it operates. That's where it generates troops and if the base is taken - the faction is defeated.
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.
Implement hexes that will provide resources if controlled
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):
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.