Comments (2)
I believe that Milestone 1 could be further divided into 3 major steps:
- Preparation of environment:
-
Resource to set game mode. Options could be "default" and "micro-input". Should be change-able in-game and some systems (eg. Creep spawner, simple ai movement) should check it's value before running. Reason is that if micro-input is to be a separate module, then there will be a lot of systems that will be relevant only to this module, and vice versa.
-
Custom game start/map with no creep spawning and all units idle. Further steps would add unit orders, therefore units should not do anything before any order is given.
-
Add mouse support and cursor to the font-end. (Kinda works, but has some serious issues)
- Unit selection:
- Decide on architecture. What part of the game stores what units are selected? Is this information stored in the unit itself, or are selected entity id's stored in a separate container?
- Implement selection of single unit
- Implement deselect by clicking empty space or
selecting another unit. - Multiple unit selection.
- Auto control groups (automatically assigned control group for each leader and their summons if available).
- Unit orders and unit AI:
- OrderQueue component and UnitOrder type.
- Review unit AI (units should behave in different ways depending on what their current Order is)
- Implement idle order behaviour. Basically unit behaviour when no active UnitOrder is present. At current stage it would be: unit stands in place, moves and attacks enemy if it enters aggression radius.
- Implement M-move order.
- Implement stop order (clears OrderQueue of all orders, sets current order to idle)
- Implement Hold position order.
- Implement A-move order.
- Implement focus-fire order
from shotcaller-minigene.
I'm gonna implement mouse support since I'm also gonna build the item buy system #16 that needs this dependency. I checked and bracket-lib
has minimal mouse support with position and clicks data. I'm thinking of having a Selectable
tag component attached to every selectable entity so we can iterate over it and check if the mouse position == entity position and then spawn a SelectEvent
.
from shotcaller-minigene.
Related Issues (20)
- Wasm Compability Issue HOT 2
- MVP3 tracking issue HOT 1
- Item purchasing
- First UI pass - Leader sidebar
- Local and online multiplayer HOT 1
- Action point system often does not work when `ActionPointRefillRate` is between 0 and 100 HOT 1
- Speed testing
- Diagonal map HOT 1
- v1.0 — MVP Tracking Issue
- Use rust for backend, unreal or unity frontend? HOT 1
- Modding and Scripting
- XP system HOT 3
- v1.0 Release
- Console output for key actions HOT 1
- Movement system refactor HOT 1
- Broken
- 🦹 Make a new Leader
- 🤖 Make a Leader Bot AI
- 📦 Make a new item
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shotcaller-minigene.