Currently Athena Crisis is using the DOM to render the core game. I would like there to be a full renderer for the game using React-Three-Fiber so we can make comparisons on performance and battery usage. It also opens the door for a possible 3d version of the game in the future, give more options for fancy fog implementations, and it should help fix the rendering of decorations which is currently a bit messed up.
package.json
setup from hera
. Add it to pnpm-workspace.yaml
. All new code should go into this new package.Map
and its child components. These are the primary components of the renderer that need to be ported, along with animation components. Ideally, as part of this experiment, a new component Map.tsx
component is created in the new package that retains the same interface/props but renders to React-Three-Fiber instead. You may have to look at GameMap
for how this component is used, and you'll need to explore its child components like Tiles
, Decorators
, Fog
, Building
and Unit
. The Unit component is the most dynamic one and most likely needs the most work, especially to support animations like unit moves and animations.Ideally, at the end we have a full renderer for the game and can simply swap the Map
component to use a different renderer.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too