#Real-time Multiplayer OpenWorld Game

1 messages Β· Page 1 of 1 (latest)

ripe depot
dull oxide
#

Hi, nice demo, is it only local multiplayer?

ripe depot
#

no, it's global multiplayer

#

currently everybody joins to same room on single server

calm mesa
#

nice, want make something similar... gl πŸ˜„

ripe depot
#

thanks!

dull oxide
ripe depot
#

yes

dull oxide
# ripe depot yes

Thanks for the info, Colyseus seems to be the most common framework used these days for Phaser multiplayer games.
Are you self-hosting or paying colyseus.io for their cloud? maybe the first price at 12.5$/month for testing?

ripe depot
#

self-hosting, because I've got it some additional stuff added to backend

dull oxide
#

Thanks for your answer πŸ‘

ripe depot
barren wren
#

Cool!

restive flume
#

Nice!

past sable
#

do you see any reason to code a multiplayer server yourself instead of using colyseus?

ripe depot
#

no, if you don't have very specific use case or want to use UDP instead of TCP that colyseus uses

ripe depot
#

website is live at pixaland.world

ripe depot
formal wedge
#

whats the math behind positioning the shadows for the clouds

ripe depot
#

I'm using tweakpane library for quick controls

#

The cloud shadows are simply clouds but offseted little bit and tinted to dark

elfin wave
ripe depot
#

Editable Tilemaps that are synced with other players in real-time

elfin sable
#

That's nice ! I used websockets for my node server, but colyseus sound very interesting, too bad this is the first time I hear from it. Can you tell how it is better than doing it from scratch with node ?

ripe depot
#

colyseus is using websockets under the hood, it's the same

#

the main advantage is that colyseus handles all the core stuff(setting up connection..), and automatically tracks and updates client when your state on backend changes with minimal bytes sent over the network

tender schooner
#

I agree, from my previous experience building multiplayer or a-like real-time application socketio was my go to, but colyseus has the same slimness as socket-io layer/abstraction but adds a lot of core concept of a multiplayer game, such as matchmaking, clientside callbacks on state property changes, join/change/leave player usage, disposing rooms, binary palyoad .. JS Proxies were new to me, but picked up the idea of the colyseus Schema and proxy usage quickly I'd say

turbid musk
#

that's cool, good to see another compelling colyseus example in the wild! πŸ˜„

as an aside, when i saw ur cursor turn into a knife while hovering over those cute bouncey cows i was like 🫣🫣

the real time tileset/layer mod is also interesting, i am currently working on that system for my own project... if you are open to sharing i'm curious what approach you settled on for that feature πŸ™‚

#

anyway, looks cool tho - hope you're having fun w it!

#

oh sorry i see u probably left as much detail as is prudent to give already in the thread

#

thanks πŸ˜‰ πŸ˜›

ripe depot
#

thanks for such feedback!

#

for real time tilemap, I'm storing terrain data on backend and sharing to clients with colyseus and reconstructing actual tilemap based on that terrain data using wang tiles rules defined in Tiled

#

let me know, I'll be happy to share more details

#

πŸ™€ Cute little Kittens chasing the closest player with 4+ different speed states

πŸ—žοΈ Interactive HTML Tweets embedded right into the canvas - Run over and interact with them as any regular tweet - inspired by drei/html

🌊 New water tiles to auto tiling feature - Use Bucket tool to place water all around and see it merging with other terrains

πŸͺ¦ RIP stones popping up when player leaves to remember those who have been in Pixaland 🀣

turbid musk
#

it gets better and better since i first played w this - amazing! πŸ˜„

#

also def appreciate the drei/html callout - seeing the same principles applied here is awesome

ripe depot
#

@turbid musk Thanks for your feedback

peak widget
#

Wonderful ambience, cool song, tools work good. Loved it! Smooth game play in one tab, lag and sprite flickering in another. Sometime later the smooth tab started to lag/flickering too and the other tab became unplayable.