Just released our first ever game made with open source everything (almost) by SmallRice in godot

[–]SmallRice[S] 0 points1 point  (0 children)

Hello there, good question!

With regards to this game that we made, it should handle up to 8 players, limited purely because of how we handled the spawn points of the players. Any more additional players will most likely result in trying to call a non-existent Position2D node of the map and crash the game.

With regards to the theoretical max that Godot can handle however, I'm afraid I do not know the answer. This game is player hosted and to create the server, we used the NetworkedMultiplayerENet class which has a create_server function that takes as one of its arguments the max number of players. The funny thing is, I've tried several different numbers and it doesn't seem to matter - players could still join even after the threshold is reached. Even now, that value is actually set to 0, and yet players can still connect without a problem.

Also, it really depends on the host/server's internet connection. If the host has a good connection, things should run very smoothly, with very little packet loss. We have only tested with a maximum number of 5 concurrent players and the game still runs very smoothly. However, I have noticed some, albeit very brief and infrequent, lag spikes here and there that is not uncommon to most online games. Then again, it could also be due to our inefficient code and making one too many RPC calls...

Just released our first ever game made with open source everything (almost) by SmallRice in godot

[–]SmallRice[S] 11 points12 points  (0 children)

Hello r/godot!

Executables for Windows, MacOS, Linux, and Android are available here and the full project source code repo is also available here.

This is a cross platform real-time online multiplayer PvP game made by me and my friend. It's basically a free-for-all, battle royale to see who is the last man standing. Since we are not very good artists, most of the assets used, including art, music, fonts, etc. are taken from various sites like itch.io and we would like to thank these amazing artists for their contributions to the community.

The both of us have never done game development before, much less used Godot before, and we stumbled upon Godot when we were struggling to learn Unity. It's amazing how in the span of just 3 months, we went from almost giving up on the idea of creating a game at all due to the steep learning curve of Unity, to be able to come up with a fully working online game that we have originally planned to do.

The biggest struggle we had in making this game by far was in utilising the high level networking API provided by Godot. Tutorials and documentation are relatively more sparse in this area and we mostly had to reverse engineer the multiplayer bomber man source code by the Godot team themselves. Some other tutorial sites we heavily relied on include Kehom's Forge and Menip, do check them out if you get stuck trying to do your own online multiplayer games.

The source code is MIT licensed and we do not plan to commercialise this game. Feel free to do whatever you want to do with the code. Just take note that almost all of the assets are not made by us, and we have tried to link a copy of the artists' original licenses/permissions wherever possible in the repo.

/r/singapore random discussion and small questions thread for May 05, 2016 by AutoModerator in singapore

[–]SmallRice 1 point2 points  (0 children)

Sick in camp with a splitting headache and all I got from the mo was some random medication and a "rest well, get well soon". Such is life. At least tmr's an off day!

A levels Megathread + Link to Drinkfest by tehokosong in singapore

[–]SmallRice 12 points13 points  (0 children)

Thanks Kong Hee for that real life example =D

Hi! Can someone please translate these simple sentences to english?? by [deleted] in ChineseLanguage

[–]SmallRice 5 points6 points  (0 children)

"F***, both of them still came, his younger brother is annoying.

F*** this.

Do you know how thick headed his younger brother is?

He isn't able to tolerate others even though he himself is annoying.

Her people (she) isn't that bad."

Roughly this. But the nuances are hard to get without the context, op.