• s&
  • newsNews
  • family_star About
  • forum Forum
  • code_blocks Documentation
  • quick_reference_all Api
  • log in
  • language
    简体中文
    English
    Русский
    Español
    Português-Brasil
    Deutsch
    日本語
    Français
    Polski
    Türkçe
    한국어
    Pirate
    Italiano
    ไทย
    繁體中文
    Українська
    Čeština
    Nederlands
    Magyar
    Dansk
    Suomi
    Svenska
    Norsk
    Ελληνικά
    Română
    Български
    Tiếng Việt
    Bahasa Indonesia
    Español-Latinoamérica
    العربية
    हिन्दी
World (Season 3, FP Edition)
from Dxura
thumb_up_alt
195
thumb_down_alt
96
favorite
76
library_books
0

Information

homeAbout
newspaperNews
reviewsReview
bug_reportBug Report
tips_and_updatesFeature Request

Diagnostics

home_storageRevisions
brightness_alertReport Abuse

Recent News

Season 3 (Facepunch Edition)215
Seasons543
State of World: 467 Props in 8 …134
V1.0: Inception1,088
s&box
Dxura
World (Season 3, FP Edition)
News
V1.0: Inception

V1.0: Inception

calendar_today 11/5/2024 people Dimmer chat_bubble 0 visibility 1k

🌟 Welcome to World

Step into a persistent sandbox where your creations become part of an ever-evolving shared universe. World introduces a unique take on collaborative building, where every player's contribution lives on for others to discover and appreciate.


It's basically Pixels but 3D


This game was whipped up in a few hours as an experiment, let's see how it goes.


I don't want to spend too much time developing on s&box because I got permanently banned from the discord without any context (but I presume it was because toxicity). This leaves a sour taste in my mouth, I love the s&box community & the engine but alas I am alien now.


If you have any feedbacks or suggestions, please leave a comment :)
1

Pocketbase


The persistence system utilizes Pocketbase with a streamlined single-table architecture.

Currently using PocketHost.io for free hosting but might move to the a VPS in future due to reliability concerns.

Table: world

{
// System Fields
"id": "string (auto-generated)",
"created": "timestamp",
"updated": "timestamp",

// Position Fields (Integer)
"x": "integer",
"y": "integer",
"z": "integer",

// Rotation Fields (Float)
"rotX": "float",
"rotY": "float",
"rotZ": "float",
"rotW": "float",

// Metadata Fields
"owner": "string (required)",
"cloudModel": "string"
}

Indexes:
- Unique composite index on (x, y)
- Index on owner field

This could be any other database but I wanted to give Pocketbase a try since it's pretty niffy, it comes with a HTTP API which plays very nice with s&box. You can set rules for CRUD operations and much more.


In future, it might be worthwhile looking into the live-streaming functionality so when a player persists props, you can see it instantly.

Loading Props

Every second, once you've moved X amount, you query pocketbase for props near your X,Y location. It returns all those props.


Any prop already in the scene (which is in your radius) is ignored, any new props are spawned in a belated order (so you don't load 100+ cloud assets at once, at an attempt to smooth out fps spikes). Any outdated props are removed.


Persisted props are a dumbed down version without physics or intractability (Basically static).
1

Saving Props

Once you press MMB (persist keybind), your local props are bundled up and inserted into the master table.

They then become globally available for every user (simple right?)
1

Sandbox

The sandbox aspect in World is just Scenebox 2 (amazing), which has been cut down to its core and only the fundamental building remains.
1

Showcase

World has only been out for about 12 hours and this is what some players have built so far :)



Plus the general brain rot

3

Future

I have a few ideas, we'll see how it goes.

  • Prop streaming (See instantly when someone persist props globally) - Currently you have to unload/load the area, unless you're in the same game.
  • Ability to see timestamp/creator (we store this but has no use at the moment)
  • Ability to curate props so we can remove random trash (community voting?)
  • Ability to claim areas for building - Although this is another game idea I have, basically Plots from Minecraft.
  • Leave messages around the map for others to discover
  • Ability to delete/edit your persisted props - This is difficult because auth tokens aren't guaranteed, but maybe it's good enough?
  • Better loading/view distance - You can load the entire map at the moment but it's laggy initially, I might expose some settings in the Q menu for you to play around with.
3
arrow_back_ios1arrow_forward_ios
trophy 915
Mar 2023 32 posts
Dimmer 6 months ago
#1
V1.0: Inception : dxura/world/news/v10-ad24dd7b
arrow_back_ios1arrow_forward_ios
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
  • News
  • About
  • Wiki
  • Commits
  • FAQ
  • Discord
  • Twitter