Gt8m1tppassuli7bi0aj
SkillsCast

Lightning Talk: Play Multiplayer With No Connection

25th October 2018 in London at Business Design Centre

There are 67 other SkillsCasts available from droidcon London 2018

Please log in to watch this conference skillscast.

734764626 640

NearbyPong is a game that Fernando Prieto and Ferran Ribell created at Karmarama several months ago. They wanted to develop a game that used the new Android Nearby API and Kotlin. In this game, you are basically able to connect with another user in the same area by using bluetooth and wifi to establish a connection, but it might not be necessary connected to any common network. This allows you to play anywhere; in the tube, in the middle of the ocean, etc. But you must respect the bluetooth radio range, to be inside that area as long as the game is being played. Through an authentication process, both you and other users exchange an ID with one another, and once a two way handshake is completed and both clients are connected, the game can begin. If there is a connection error during the game, both users are able to reconnect again. It's more than just create a unique and fun game, you will discover that it also has a cool aesthetic applied to it, based on the Tron Legacy film theme.

YOU MAY ALSO LIKE:

Thanks to our sponsors

Lightning Talk: Play Multiplayer With No Connection

Fernando Prieto Moyano

Fernando is an Android developer and gymnast from Madrid, working in London for almost two years. Ready for any new challenge, no matter the difficulty, the attitude always wins any talent!

SkillsCast

Please log in to watch this conference skillscast.

734764626 640

NearbyPong is a game that Fernando Prieto and Ferran Ribell created at Karmarama several months ago. They wanted to develop a game that used the new Android Nearby API and Kotlin. In this game, you are basically able to connect with another user in the same area by using bluetooth and wifi to establish a connection, but it might not be necessary connected to any common network. This allows you to play anywhere; in the tube, in the middle of the ocean, etc. But you must respect the bluetooth radio range, to be inside that area as long as the game is being played. Through an authentication process, both you and other users exchange an ID with one another, and once a two way handshake is completed and both clients are connected, the game can begin. If there is a connection error during the game, both users are able to reconnect again. It's more than just create a unique and fun game, you will discover that it also has a cool aesthetic applied to it, based on the Tron Legacy film theme.

YOU MAY ALSO LIKE:

Thanks to our sponsors

About the Speaker

Lightning Talk: Play Multiplayer With No Connection

Fernando Prieto Moyano

Fernando is an Android developer and gymnast from Madrid, working in London for almost two years. Ready for any new challenge, no matter the difficulty, the attitude always wins any talent!

Photos