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.

Leave a comment

Log in with itch.io to leave a comment.