Replies: 3 comments 5 replies
-
Interesting, I wonder where we're calling RNG functions internally 🤔 Can you try to pare it down to an even more minimal reproduction?
|
Beta Was this translation helpful? Give feedback.
-
Node 8.9.3 is pretty old, and won't have access to the web crypto API that is being used by |
Beta Was this translation helpful? Give feedback.
-
One possible approach is creating a JS shim emulating the web crypto API. Because all the interaction is happening via javascript, you might be able to make bevy think that API exists if you add a fully-JS version into the global scope. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey! I had an idea to use bevy's ecs as a logic controller for my screeps bot, as I think it might be an interesting abstraction to play with.
That aside, my code is running in a context provided by the node vm module, on node v8.9.3, and so far as I can tell, I don't get access to the web crypto apis.
I'll link my current repo just to show you what I have, but in essence I just create a static world and attempt to run a single system schedule.
And unfortunately I get a panic.
idk if it is even possible due to id generation or some other wizardry behind bevy that I don't truly understand, but if anyone has a clue on a direction in the next step, that would be absolutely fantastic (even if it is just make my own domain specific ecs 😩)
Beta Was this translation helpful? Give feedback.
All reactions