5 ms·
I'm building a multiplayer real time web based game (io style, 2 ticks per second, so not 64 like a true realtime game). It seems to work quite well so far. I'm
by POiNTx 3y ago
I'm building a multiplayer real time web based game (io style, 2 ticks per second, so not 64 like a true realtime game). It seems to work quite well so far. I'm using https://github.com/woutdp/live_svelte https://github.com/woutdp/live_svelte for the frontend with pixi.js for the rendering.
- boundlessdreamz 3y agoThis is quite cool. Can it enable optimistic UI updates?
- POiNTx 3y agoYes :)
- barkerja 3y agoHow's the svelte + LiveView integration been working out for you thus far? I still find a lot of issue with trying to do a bit of work in JS-land for things where I want to have no latency, but find it can sometimes be a challenge managing everything through various LV hooks.
- POiNTx 3y agoI'm biased since I made LiveSvelte, but it works quite well! I made a video to showcase some of its features here: https://www.youtube.com/watch?v=JMkvbW35QvA https://www.youtube.com/watch?v=JMkvbW35QvA Working with it in a real project now, instead of toy examples like in the video, it works really well for when you have highly complex components that rely on quite a lot of local state. What you'll find is the developer experience is quite nice with LiveSvelte compared to JS hooks.
- barkerja 3y agoThank you for your contribution and for this video! Going to give this a try in the near future.