Rendered at 22:01:00 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
lwi00 8 hours ago [-]
would be great to have the control commands for the game
jv22222 8 hours ago [-]
They're on the idle screen under the title, but easy to miss: space (or W / up) to fly and fire, one key does both, A D (or arrows) to turn, S for shield. On a phone, turn it sideways and tap to fly.
AlchemistCamp 22 hours ago [-]
How does this relate to Laravel LiveWire?
jv22222 22 hours ago [-]
It doesn't! Livewire is a way to build UI/form interactions over http/js.
Lightspeed is a websocket server.
Livewire talks to the server over normal HTTP requests and for anything pushed from the server it uses Laravel Echo. Lightspeed is a Pusher-compatible server so you'd point Echo at it like you would Reverb.
The thing Lightspeed adds is letting the browser send messages back into Laravel over that same socket, with auth on each one. Livewire doesn't do that its actions are still HTTP.
For most applications Livewire would be the goto. Lightspeed is kind of a high speed specialist option for building real time apps like you might do with node.js for exmaple.
Lightspeed is a websocket server.
Livewire talks to the server over normal HTTP requests and for anything pushed from the server it uses Laravel Echo. Lightspeed is a Pusher-compatible server so you'd point Echo at it like you would Reverb.
The thing Lightspeed adds is letting the browser send messages back into Laravel over that same socket, with auth on each one. Livewire doesn't do that its actions are still HTTP.
For most applications Livewire would be the goto. Lightspeed is kind of a high speed specialist option for building real time apps like you might do with node.js for exmaple.