Creating Multiplayer Games with using LibGDX and NodeJS.
Learn how to turn you game into a client that can connect to a back end server and communicate with other clients via network sockets through the library Socket.IO. We will discuss the creation of both the back end server and the game client as well as connecting them together into a fully functional multiplayer game!
Source:
Github:
YouTube Channel:
Facebook:
Twitter:
Bekir Safa Yesil
04.10.2023No errors, but it doesn't say a client connected The server does say it is running, the client does start and show the window, but they don't connect ???
Lance Shipley
12.09.2023Great as always! Looking forward to the next!
Raul Lopez Diaz
10.09.2023Thank you Brent! Cristal clear tutorial!
Roland Panitzek
10.09.2023Hi Brent. Does the socket.io client library work with GWT ? Or do I have to write something else for the html-module?
Kudzė
10.09.2023Hi, i get this error pls help me C:UsersPCDesktopSurviveOrDieLibgdxServerindex.js:14
socket.on('disconnect', function() {
^
ReferenceError: socket is not defined
at Namespace.<anonymous> (C:UsersPCDesktopSurviveOrDieLibgdxServerindex.js:14:2)
at emitOne (events.js:77:13)
at Namespace.emit (events.js:169:7)
at Namespace.emit (C:UsersPCDesktopSurviveOrDieLibgdxServernode_modulessocket.iolibnamespace.js:206:10)
at C:UsersPCDesktopSurviveOrDieLibgdxServernode_modulessocket.iolibnamespace.js:174:14
at nextTickCallbackWith0Args (node.js:419:9)
at process._tickCallback (node.js:348:13)
Albrecht Xerxes
10.09.2023I encoutered problem. I am programming on Desktop not on Android. Around 5:56 you click on Gradle Scripts. Unfortunatelly, I use Eclipse on windows. I cannot do Your step in Your tutorial.There is not this option. Please help me. I would like to creat cool game. Thanks in advance ! (link to screen, delete space) scr. hu/2pdc/zh4r5
Sumit Wadhwa
10.09.2023Dude.. you absolutely fantastic, hats off to you but any idea how do you do the same stuff when you got to design it entirely on the PHP, ajax?
Leonso Medina
10.09.2023Awesome, does this work for iOS builds too?
Engin Ucar
10.09.2023At 06:06 where you edit the gradle. How can I do this in eclipse?
Marvin Jansen
10.09.2023I encounter NoClassDefFoundError when running it on the Android Device. I triple checked Gradle, put them manually in the Build Path. With them listed in gradle script and without. I dont know what to do. Google cant help
nitsan levy
10.09.2023you are the best man
TheWombatGuru
10.09.2023No errors, but it doesn't say a client connected 🙁 The server does say it is running, the client does start and show the window, but they don't connect
Abdul Rahim
09.09.2023@Code School can you do a tutorial on how to implement a client server model for session based multiplayer games using gamelift(AWS) ??
Matthew Anglin
09.09.2023Brent Aureli's – Code School Could I use this to make a client for networking on a old game that has no official servers now like quake
Dung Nguyentien
09.09.2023if someone is watching in 2019, when he is changing the gradle file write there this: 'compile "com.github.nkzawa:socket.io-client:0.3.0" ' and then android studio should show you add denpendacies and just choose the first one and it should work
Blacky Stern
09.09.2023this is great. finally a tutorial, to really get into it
Brian Salkas
09.09.2023If I put my settings.gradle file in the server folder, I get a build error when I try to run my project. Also, my Build.gradle(Project: multiplayer) file looks very different than yours.
David Kim
09.09.2023Can't get it to connect
Noah
09.09.2023Wowwwww!!! this is so amazing because i just found a better way than google firebase xD Your tutorials are really still the best, thank you for that. I am currently working on a game project with some friends (I'm 15) and this is really helpful
Deddo
09.09.2023Great video once again!
[SOLVED] I had a problem with the socket IO import.
1) I didn't set the Gradle dependencies correctly: I put the additional line at the bottom, but it happened to be project(":html"), and it should be project(":core") instead.
2) the correct syntax should be: api "io.socket:socket.io-client:0.6.2"
Brian Salkas
09.09.2023great tutorial! Where did you find the socket.io client for java. I want to learn how to find these kinds of things on my own.