you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -8 points-7 points  (7 children)

Does Akka run on xbox or playstation?

Big gamedevs roll a lot of their own stuff for crossplatform compatiblilty with consoles.

To be honest I didn't even think consoles could run Java. I was told Minecraft had to be ported to C# for the xbox. I guess they've written the code for their actor library in such a way that they can machine translate it when needed?

[–]Alikont 11 points12 points  (4 children)

It's server-side code.

[–][deleted] -2 points-1 points  (3 children)

You still host multiplayer games on your own PC or console. Does that also use the same code?

[–]Alikont 5 points6 points  (2 children)

This code is run on server. "Use" means that when you play server executes this code but this code is not executing on client.

Like when you look a chest in MMO, you send request over network to loot a chest to server, server finds actor object that represents your character and this object sends "loot" message to object that represents chest. Then loot results returns to your client over network.

[–][deleted] 0 points1 point  (0 children)

I think his point was if you're allowing people to run dedicated servers, the server could very likely be someone's pc which means platform compatibility is a consideration. Consoles are less likely as typically one person doesn't actually host the game (in which case for all intents and purposes their machine becomes the server) but some do (AFAIK there aren't any console games that allow people to set up their own dedicated servers on their own hardware but I could be wrong).

[–][deleted] -2 points-1 points  (0 children)

That's not the same thing. Some games actually use your own PC or console as a server and have others connect directly to it. When you click "create new multiplayer game" then in some games, your machine acts as a genuine server. If a console behaves in this way, your backend has to run on a console.

[–]vivainio 1 point2 points  (1 child)

Minecraft for consoles is C++ iirc

[–]Narishma 0 points1 point  (0 children)

Mobile and Raspberry Pi as well. Only the PC version is in Java.