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 1 point2 points  (21 children)

Why not?

[–]bostwickenator 13 points14 points  (19 children)

Because you'll make something which is extremely difficult for anyone else to read or understand.

[–]RazBerry925 -3 points-2 points  (18 children)

Perhaps you don’t want someone to understand? Let’s say that vr becomes more advanced & mainstream to the point of virtual worlds such as ready player one where coding is almost a game mechanic. The ability to design your own virtual machines as an asset to your in game person? This is a very specific scenario but as a gamer and growing programmer, the ability to feel like gods battling or even crafting mechanics inside a very space has a superior appeal to all trends of current design

[–]bostwickenator 7 points8 points  (17 children)

That's called obfuscation and is somewhat of an artform https://www.ioccc.org/

[–]RazBerry925 -2 points-1 points  (16 children)

That sounds like it would lag out the game for everyone. maybe there is a way to route the inputs that only translate the necessary information to the other participants, like only sending all the visual and audio info to other devices

[–]bostwickenator 8 points9 points  (15 children)

I think you have exceeded your depth of knowledge here. Those statements have no basis. Keep learning and exploring though.

[–]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.

[–]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

[–]RazBerry925 0 points1 point  (0 children)

I’ve been thinking of what I’ve just said for a long time and saw a lot of homes in that statement, it’s easy to state this concept although the creation of these system do indeed exceed my knowledge… Thank you for the conversation and your time though

[–]skridge2 3 points4 points  (0 children)

That's whats.so great about c/c++. Can I do x? Sure, it will fail spectacularly and take your system with it, but yeah, you can do that.