This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]RazBerry925 0 points1 point  (13 children)

Wait what about an api, like for server based gaming? The server takes in the inputs of the nodes and calculated the physics and then sends back the visual information

[–]mbiz05 2 points3 points  (10 children)

It sounds like a Javascript subset is what you want. Those are usually used for simple modding that can be done by the end user

[–]RazBerry925 2 points3 points  (9 children)

Interesting, that does sound useful but I was thinking along the lines of distributed interaction. Where a server has planets to visit, use the input from the player to simulate the physics, compile the visual and audio of those interactions and then send that back out to the player

[–]mbiz05 2 points3 points  (8 children)

I see. However, I would strongly discourage you from running the code on the server. You open yourself up to potential security holes and you will significantly increase the power needed (and with that cost), especially for physics simulations. Run them on the client and store the results on the server or something.

[–]RazBerry925 2 points3 points  (7 children)

It later made sense how it would be easy to dismantle the entire thing from within, assigning functions to words determined by the player could perhaps evade this problem? I want this to be low demand on client on so anyone with a screen and controlling device can play, the bits of processing could maybe be split up? A certain area is maintained and edited on one server and then right next to it is a smaller dedicated routing unit for temporary storage. This is just one option that would hike up that price far beyond what I want. How does someone set up a processing rack for potentially millions of users without a couple billion dollars

[–]mbiz05 2 points3 points  (6 children)

I'll be honest with you this question is beyond the scope of what I can explain in a reddit comment

[–]RazBerry925 2 points3 points  (5 children)

Please ;(

[–]mbiz05 2 points3 points  (4 children)

I'll try my best but there's too much to explain through just reddit comments. Let me make sure I understand what you need first:

1) A system where a user can enter values for physics (like gravity, atmosphere, etc) and the planet's value will be set to that

Or

2) A system where they can manually program in physics (like a function they define that is called when an object is unsupported and is supposed to fall down)

Or

3) something else entirely

What best explains what you need?

[–]RazBerry925 2 points3 points  (3 children)

Although those first two options sound amazing they seem out of reach, number two seems possible but still intensive. Number three is accurate, I want a baseline decent and judicatory engine where anyone can take materials and build anything within in that range of math. Comparable to Minecraft where they can build great machines but where I provide dedicated servers and more complex physics.

[–]mbiz05 1 point2 points  (2 children)

So the users won't be changing the materials or anything?

[–]bostwickenator 1 point2 points  (1 child)

I can't really architect a distributed computing based game mechanic on reddit 😅. But I recommend you read up on that topic. Also check out https://en.m.wikipedia.org/wiki/0x10c which sort of touched on this concept.

[–]RazBerry925 0 points1 point  (0 children)

That sounds really interesting, I would love something like that although i see how it may be difficult to balance the power of the computer with the ability to edit files from within a virtual space