setup primitive AI targeting for cities, structs, and units
Iris Lightshard nilix@nilfm.cc
fixed menu; can't make an enemy's unit attack
Iris Lightshard nilix@nilfm.cc
fix equipment glitch
Iris Lightshard nilix@nilfm.cc
debugging AI path generation and movement
Iris Lightshard nilix@nilfm.cc
fixed AI equipment logic
Iris Lightshard nilix@nilfm.cc
Merge branch 'master' of https://gitlab.com/nilix/ustrat
Iris Lightshard nilix@nilfm.cc
implemented some remedial AI equipment logic
Iris Lightshard nilix@nilfm.cc
victory and defeat conditions and gameOver screens
Iris Lightshard nilix@nilfm.cc
cpu units head for armory first thing to get equipped (equip/upgrade code forthcoming). if no cpu armory, they stay chillin
Iris Lightshard nilix@nilfm.cc
tweak AI.generatePath() to avoid infinite loops and to push on forward if completely surrounded by high cost tiles; add win/lose conditions for destruction of HQs
Iris Lightshard nilix@nilfm.cc
refactored AI code to be more like the rest of the game; properly passes state through gameState.flow now; cpu Unit movement is animated
Iris Lightshard nilix@nilfm.cc
AI can move units toward their targets; trying to figure out how to animate it
Iris Lightshard nilix@nilfm.cc
took a stab at AI movement path generation
Iris Lightshard nilix@nilfm.cc
putting some boilerplate in place for AI unit movement
Iris Lightshard nilix@nilfm.cc
cleanup AI
Iris Lightshard nilix@nilfm.cc
AI can now search from HQ outward or map-edges inward for cell to build struct
Iris Lightshard nilix@nilfm.cc
animation loop for cpu phase, cpu can build structures and units now
Iris Lightshard nilix@nilfm.cc
starting the AI. rudimentary structure building algorithm is in place
Iris Lightshard nilix@nilfm.cc
fixed attack.listen(): camera follows cursor, can't center attack on self
Iris Lightshard nilix@nilfm.cc
fixed typo in destroyStructure()
Iris Lightshard nilix@nilfm.cc
cleaned up the touch controls a bit; opera situation debugged & fixed
Iris Lightshard nilix@nilfm.cc
tweak movement controls responsiveness
Iris Lightshard nilix@nilfm.cc
made the menus wider
Iris Lightshard nilix@nilfm.cc
Tweaking menus
Iris Lightshard nilix@nilfm.cc
weird bug on opera mobile regarding startButton and qButton; working on it
Iris Lightshard nilix@nilfm.cc
debugged attack/equipment code; all is good
Iris Lightshard nilix@nilfm.cc
add explosion.png
Iris Lightshard nilix@nilfm.cc
moved units off structures for demo spawn
Iris Lightshard nilix@nilfm.cc
added Ace, Angel, and BlitzWalker to Fabricate menu; demo base and units on load
Iris Lightshard nilix@nilfm.cc
first commit
Iris Lightshard nilix@nilfm.cc
implemented some remedial AI equipment logic. freezing this repo to refactor into typescript
Iris Lightshard nilix@nilfm.cc