-
-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Experiment] Build a React-Three-Fiber (WebGL) renderer for Athena Crisis #8
Comments
will love to be assign this task |
Feel free to give it a try! It's ok if multiple people work on an issue, only pull requests count and none has been created for this task yet. |
Is this still active/needed/funded? I'm a web developer with some history with game dev and Three.js. I think it would be an interesting problem to tackle and I have a little bit of proof of concept code I'm been tinkering with. Just wondering if it's worth seeing if I can take it all the way. |
Hello @Pixelrobin. Yes, this is still very much active, and I'd be excited to collaborate on it. Feel free to join our Discord, we have a #tech channel: https://discord.gg/athenacrisis |
If you're going to do any development in react three fiber I'd be happy to help get the repo set up with Triplex (see: triplex.dev). The VS Code extension is coming soon, happy to add everyone as an early adopter. |
i am workinmg on this already |
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.
Expectation & Steps
package.json
setup fromhera
. Add it topnpm-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 componentMap.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 atGameMap
for how this component is used, and you'll need to explore its child components likeTiles
,Decorators
,Fog
,Building
andUnit
. 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.Funding
The text was updated successfully, but these errors were encountered: