News for hackers. Stuff that matters.

brunovcosta

Show HN: OSS, Server-rendered multiplayer games with Lua (no client code)

https://github.com/cleoselene-engine/cleoselene

Hey everyone,A couple of weeks ago I shared a small toy game engine I’d been working on: https://news.ycombinator.com/item?id=46491560I got a lot of great feedback, and several people asked if the source code was available.So I’ve decided to open-source it :)Hope you enjoy it, and I’d love to hear your thoughts!

( Read More... | no comments | 4 points | on HN )
Not exactly, since they aren't opinionated in the game engine, they can't control what "primitives" are being used to render.. they probably just encode video
That's AMAZING!

I will definitively follow that!

It's possible, but harder than traditional client/server paradigm since the client here is generic so the predictablity should be based on something other than heuristics

I'm thinking about simple ML to predict inputs and feedbacks. Since the amount of data generated in the streaming is massive and well structured, it looks like a possible approach

good feedback! I'm seeing people really struggly with the control lag + speed.

I'm always biased since I test locally with no delay when developing :)

I will definitely try it!

I'm using Gzip since it comes with all browsers hence a easy approach

That said, I will find som zstd decompressor for js/wasm and try!

That's exactly my approach! I'm sending canvas commands instead of pixels, which makes things faster

That said.. I don't think stadia could do that since it's not opinionated about the game engine. Unless they go really deep on the graphics card instructions instead, but then it becomes comparable to pixel rendering I guess

Thank you!
Amazing! Never heard of this byond/ss13/14

Thank you for the reference!

You're correct

My approach lives in some place between video streaming and data streaming in terms of performance

It's not intended to be faster than a proper client that brings a lot of logic and information that diminish the amount of information required to be transfered

My proof of concept is more about: Can my dev exp be much better without relying on the video streaming approach? (which is havier)

You're right

Especially with today's computer vision

The cheating I'm more protected (just as stadia, etc..) is regarded to client/code exploitation

which we don't have to worry about in this approach

Yeah.. As people are playing and I'm watching their feedbacks it is becoming clear to me that the main source of input delay comes from the distance to the server.. the whole game is running in a single machine in SFO, so it makes total sense this bad exp in europe

I think this is inevitable unless I add some optimism/interpolation in the client

Also, thanks for the feedback! I will fix the Abstra landing page

try https://www.abstra.io/en instead

exactly as @iku commented.. there is a cooldown time between shots.. it pulses when you're ready and resets when you try before it's loaded!

It seems that I should add a better visual feedback haha

Amazing! hahaha.. Tip: Arrows + Z (shoot)
Hey folks — here’s a small experiment I hacked together over the weekend:

https://cleoselene.com/

In short, it’s a way to build multiplayer games with no client-side game logic. Everything is rendered on the server, and the game itself is written as simple Lua scripts.

I built this to explore a few gamedev ideas I’ve been thinking about while working on Abstra: - Writing multiplayer games as if they were single-player (no client/server complexity) - Streaming game primitives instead of pixels, which should be much lighter - Server-side rendering makes cheating basically impossible - Game secrets never leave the server

This isn’t meant to be a commercial project — it’s just for fun and experimentation for now.

If you want to try it out, grab a few friends and play here: https://cleoselene.com/astro-maze/

Re:Finding Circular Imports in Python on Sunday December 29, 2024 @04:14PM (#42543200)
lol
Re:Airplane acquired by Airtable and is shutting down on Friday January 05, 2024 @11:09AM (#38880604)
Founder of https://abstra.io here (YC S21, a python friendly alternative to Airplane).

Given the abrupt timeline of 3 months, we are urgently prioritizing support for Airplane users.

If you're seeking a more open-source, user-friendly, and secure alternative, please don't hesitate to get in touch:

[email protected]

We promise to make every effort to ensure a smooth and safe transition for you.

Great work! I love it!
Re:Gambas – open-source Basic for Linux inspired by VB on Wednesday March 29, 2023 @05:01PM (#35363555)
Hey! You should definitely check Abstra! It is a Python Visual Basic on your vscode that outputs webapps https://www.abstracloud.com/editor
Re:Nostalgic for VB? BASIC is anything but dead on Wednesday March 29, 2023 @01:33PM (#35360488)
You should try: https://www.abstracloud.com/editor

It is VB, but for Python and for the web!

I'm a super fan of Visual Basic!

I'm building a "visual basic" for Python in the VSCode https://www.abstracloud.com/editor

Older »