Hello guys, I'm studying X2 to create 2D and multiplayer games, so that the game is in real time, it is necessary that I use Socket UDP or WebSocket to not have problems with SENDING / RECEIVING messages? has anyone done similar tests?
Hello guys, I'm studying X2 to create 2D and multiplayer games, so that the game is in real time, it is necessary that I use Socket UDP or WebSocket to not have problems with SENDING / RECEIVING messages? has anyone done similar tests?
Hello @Waldemar Lima
I plaid about with X2 to create a basic WiFI game which DonManfred know about, but I never ever got to finish it as at the time getting my head around X2 was taking up too much of my paid work time
Anyway, here is an example of something that I put together for the forum, it is NOT using X2 but just basic views. I found in both cases that this and X2 worked 100% perfect for cross platform communications and especially gaming.
Requires B4A V9.90 or higher. Hello fellow B4X developers. Here is my example of using a broadcast address to automatically find another devices IP address on a network, then to use that IP address to play a game (in this case Tic-Tac-Toe) across that WiFi network (device 1 vs device 2...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.