Robots in Motion and Import Woes
I actually made some progress today, but keeping it short because, boy... is it ever late!
Successfully hacked @Fyrestar's camera/movement controls to integrate with my animated model. It's a little sluggish on the turns, but I can live with that for now. I just have to get the game working!
Got multiple animations for robot set up in Blender and validated with the three.js player at https://gltf-viewer.donmccurdy.com/, works great. Tried some experiments with named vertex groups in Blender to GLTF, but they don't seem to transfer.
Built a new arena. New strategy is that arenas ("levels" or "floors") should have everything they need in geometry file. Not having named point groups is going to be annoying, but if I keep it simple, it won't matter.
Started to reorganize my game code and change over from ECS (based on factbase triple store) to ES (taking advantage of JavaScript objects). Shouldn't take too much more work, but I got hung up on an import problem with JavaScript.
Apparently there are _four_ different kinds of import you can have in JavaScript ES6: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import. Urlang supports the "Side effect import" and "Named import", but I couldn't get it to handle the so-called "Default import" which is needed for bringing in the three.js Stats package. I spent too much time on this... I posted a plea for help in Racket discord and maybe someone can suggest something.
RFK2K
Robot Finds Kitten - 2000
Status | In development |
Author | oofoe |
Genre | Adventure |
More posts
- Entity-Component-Systems (or Entity-Systems)Nov 03, 2023
- Tools Down!Oct 30, 2023
- Coming Together!Oct 29, 2023
- Wheels in MotionOct 27, 2023
- Bringing it to LIFE!Oct 26, 2023
- Spinning Wheels (Not in a Good Way)Oct 25, 2023
- It Lives!Oct 24, 2023
- Working ECS and First ModelOct 23, 2023
- Handling EntitiesOct 22, 2023
Leave a comment
Log in with itch.io to leave a comment.