Sabitlenmiş Tweet
wing
286 posts

wing
@winglee
swe @anara | my goal is to make the fastest gpt wrapper → https://t.co/XgzL3XTTge
Lumbridge Castle Katılım Şubat 2012
128 Takip Edilen373 Takipçiler

@officialpesonen @zero__ms the tick rate of the game is 5z, what are you building?
English

user actions such as moving, dragging inventory irems, attacking, equipping/unequiping are all done through zero mutators.
the server is a @bunjavascript server in the background running its own zero client and a loop to to manage the game logic and push updates to the db
English

@heyvishal_ @PlanetScale @zero__ms @threejs The assets are from itch.io, the sprite is from the Time Elements collection and the tileset is from The Mana Seed collection
English

Saw @PlanetScale’s demo of video calls through Postgres and thought: could Postgres handle a simple online game too?
So this weekend I started building a prototype using @zero__ms and @threejs
English

@dev_chris_ @PlanetScale @zero__ms @threejs Not using any game engine, just rendering with three.js atm
English

@tdellytech @PlanetScale @zero__ms @threejs If it’s just for data persistence then probably Postgres, but if it’s for the game loop itself I would go with @spacetime_db
English

@providerproto @PlanetScale @zero__ms @threejs Of course if it’s just a data layer it’s common sense Postgres would be able to handle it. It just never occurred to me that you could use Postgres as the game state itself, and use the WAL to broadcast game updates until I saw Planetscale’s video call demo.
English

@winglee @PlanetScale @zero__ms @threejs Why wouldn’t a high performance database that can scale to hundreds of millions of users and billions of requests not be able to handle a simple game
English

@Heav2point0’s description is pretty accurate, it does have the data duplicated to sqlite, however the data in the game loop is actually saved directly to the postgres database and zero listens to the WAL to update its own data and broadcast the updated data to clients.
also worth noting that while planetscale and zero are not related, zero can work with planetscale postgres offering
English

@spacetime_db @PlanetScale @zero__ms @threejs I actually want to try doing this with SpacetimeDB, but I had more friction trying to do things like load maps or make a map editor that worked well last time I tried SpacetimeDB. I want to explore it more though
English

@winglee @PlanetScale @zero__ms @threejs You should give the same thing a crack on SpacetimeDB and tell us the comparison!
English

This looks awesome!
How's the performance looking for Opencode Desktop? I used it a lot last week and it lagged a lot when switching between projects and in long sessions.
I really like the desktop experience over the TUI. If the performance was better I would use it for pretty much everything haha
English

@theo @ayushneekhar @Pranav2278 @conductor_build understood
not trying to be ignorant, and my apologies if so, just wanna know anything specifically to vouch for.
vague messaging like "we weren't happy" or "don't scale well to the work we're doing" doesn't really tell anyone anything
have a good day.
English

@NicholasKissel @vishyfishy2 @NathanFlurry I've been looking at Rivet for awhile and I think it's super cool!
Do you guys have any example for something like (durable) workflows? I saw an example in the documentation, but it doesn't seem like it's durable, unless I'm missing something
English

@vishyfishy2 @NathanFlurry It’s a powerful primitive that’s in a walled garden.
English

"a lot of names for a lot of things"
Cloudflare has 9 product names for what is essentially Durable Objects under the hood
Rivet Actors just give you the primitive as a lightweight library. No vendor lock-in and no confusing marketing.

simeonGriggs@simeonGriggs
Cloudflare has a lot of names for a lot of things—finally took the time to figure (and draw) some of them out making this real-time app.
English
wing retweetledi













