In this chapter, we will focus on reading the news from our server using GameMaker Studio’s network capabilities. Until now, we have been using a browser to get our information, but now, we will create a new project in GameMaker and try to read the news from inside our game.
© Yadu Rajiv 2018Yadu RajivDeveloping Turn-Based Multiplayer Gameshttps://doi.org/10.1007/978-1-4842-3861-5_5
5. Talking to Your Server
Bangalore, Karnataka, India
Start by creating a new project and a new object called objNewsReader. Once the news reader object is created, we will wait for 1 second before trying to connect to the server to read the news. We do so in order to let GameMaker start the game properly. Once you have created the ...