trymnilsen / kingdomarchitect Goto Github PK
View Code? Open in Web Editor NEWMedieval simulation/city builder game for the browser.
Home Page: https://kingdomarchitect.netlify.app
License: MIT License
Medieval simulation/city builder game for the browser.
Home Page: https://kingdomarchitect.netlify.app
License: MIT License
It should be possible to build roads, these will cost less energy to use and also look nice
If the pathfinding target is surrounded the entity should start destroying other entities in the way to create a path
The current job of an actor should be shown on selection and able to be cancelled.
Complete the implementation of navigating the ui with a keyboard
A boost to attack will be given for actors on top of walls. This is only applicable for ranged attacks but are still given for melee.
Gives unlimited contrains in the scroll direction. Will support scrolling with up and down buttons and translates the content half a viewport for each scroll action.
Change the graph used for pathfinding to be built lazily. Should improve performance to avoid creating and iterating over the whole world if the result is very localised.
If a build causes an actor to be on the same tile, it should be shunted or nudged out to an adjacent free tile.
The amount of adjacent trees defines a volume/forrest. Animals will be spawned from groups of trees.
If the only way from A to B is through an adjacent actor, there should be a resolution logic to how moves out of the way.
There should also be a framework/test harness to test these cases.
The UIBookLayout should support smaller screens. There should be space for optional tabs and the first page. Once something selected on the first tab it should be translated to show the second details page.
Add the ability for actors to attack mobs and for mobs to be agressive against actors.
All farms adjacent to a windmill should get a growing bonus
Finish the night and day system. Spawn mobs at night.
All states should have icons
Equiping and un-equipping should be possible for the actor selection state
Remove the current sprite and image rendering code and change to generate sprite definitions for the spritesheets generated based on assets.
Implement stats for actors and a state for showing it
The entities that are used for npc's (Mage, Knight, worker and Archer) should be renamed to actors to avoid confusion on the entitiy itself and the skill category a.k.a productivity.
The windmill should have an animated spinning. The animation is present in the spritesheet
During layout the action bar should check for available space and collapse the right items first then the left items if there is still not enough space for all the item. The collapsed items should be positioned out vertically.
To search for child view and allow updating them there should be some sort of findView
function. It should accept both looking for the first hit on an id or type.
For example windmills to give boost to food, baker to make bread, blacksmith to produce swords.
The correct sprite should be used based on adjacent walls
The state of components and the world should be persistent in-case of accidentally closing the tab. This changes the goals of the project slightly, but I think the user experience is better and there game would still only be local and singular.
Set the ability to spawn mobs at night and spawn the first one on the third tile unlock
Avoid needing to unselect to select a new item. Either support changing selection or push a new selection if there is no tap handled by the selection state.
The farm "building" should slowly grow and produce food if harvested, an action that should be available if the food is finished grown.
A building that can be opened and closed, requires an actor to open and close
A stone/mine should be the second tile to be unlocked
all actors have energy that is used for movement and working. Energy can be regained by consuming food from a baker, goat or farm
if the text to be shown in a uIText
does not fit and the requested uiSize
is not wrapUiSize
we should attempt to wrap the text.
Based on the total measured size and available size split the string across lines.
Finish the skill system and generate a random skill tree for each actor
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.