 hey there this is yet another video about the book that we are about to launch me and the packet publishing we have a partnership if you don't know about that the link will be in the description so you can pre-order the book and also when the book launches it will also redirect you to the amazon page so the book's amazon page the book is all about making online multiplayer games with godot engine 4 so in this video we are going to talk about how the hell how did i got into writing the book and especially how did i manage to write a book about something that i had no experience ever and it was actually the topic that i was most afraid of when i was in my game development college so without further ado let's get into the video so throughout this video we are going through the questions that the packet team asked me in their alters interview so guys this is the direct access to the interview before it even launches guys you just you have so much privilege don't you recognize that so we have some structure here so i will follow the the questions but here in this video i'm free to use some images because in the interview they don't allow they don't allow me to to use images to upload images and stuff like this so here in this video we are going into more details and it will be something way more personal as well i hope that you guys enjoy some personal content you are going through some of my i'm going to open a little bit of my heart to you guys because some of that inspired me to accept this offer from the packet team was a game that i was trying to make for a girl so we used to date but we had some we broke up and i recognized some stuff that i did wrong and i tried to make one of those grand gestures hey i want to make a game together with you which i don't recommend you guys to do don't make wrong gestures don't write letters this fuck everything's up but uh it was on this well well let's not let's not skip steps right so let's get into the questions we will get there so first things first what is your specialist tech area well as you guys know i am a game developer but my specialization is in game design which is a whole area so the thing that i actually study is how humans respond to incentives this is actually how i personally define and i think that this should be an industry standard i define games as a system of or a set of systems of incentives so games are but systems of incentives which we can have like positive incentives which we use call them rewards but we also have negative incentives which we call them punishments but this is not just in mechanic wise so for instance we have visual positive incentives visual negative incentives audio positive incentives and everything like that but also we have like psychological positive and negative incentives as well so i abstract the games as being just a set of systems of incentives and this is why i so this is my tech area i am a game designer but i i went through into i went i went into game development because i want to apply these concepts in practical media so i want to test out how these things behave how i can manage to make the positive incentives towards a goal so this is this is the thing games are incentives towards a goal so if you are moving closer to the goal you are going to be positive insane we are going to get positive incentives if you are going further away from the goal we are going to have negative incentives so um but yeah uh answering the question i am a game developer in the tech industry but i'm also a game designer so i study how humans respond to incentives so we reached the question that i started the video with which is how did you become an author for packet tell us about your journey what was your motivation for writing this book so guys prepare yourself for some emotional stuff i'm going to tell you the whole thing that led me to develop this game so i used to date this girl we dated very briefly for about like four months but we just to be friends for like 10 years or more so i don't want it to describe stuff and like yeah to mess stuff up but we you we did we messed up so we broke up we stopped at dating and after some time we tried to rekindle but i didn't take that very well and at some point we had like a very heated argument and at this very first and at this very day uh we we were hanging out and when she went back to her house i tried to to talk with her but i also had to take my grandfather to the hospital and when i come back home i was trying to to have this talk with this girl and we also we ended up like fighting and arguing and discussing and she replied quite badly because i i said some bad stuff as well but and i tried to call her so we could actually trying to hey no let's not take things takes thing this way but right when i take the the phone to call her my sister called me saying that my grandfather died and i say guys i have to set up some priorities i was going to take care of my grandfather's funeral i will deal with that later so after about one month but when everything like the dust settled settle i tried to call her again and she blocked me everywhere everywhere and i say okay i'm going to take some time to reach back again uh but i set up a notification for reaching out to her in her birthday which was yesterday the same as the first the fourth uh so in the previous year i set up a a notification to to get in touch with her in her birthday and i decided to make the concept of a game based on a song that she wrote so she is a sedentary and i'm an aries right so she wrote this song uh i don't know if it was for for us but for me in her but um she had this song that she sent me and it's all all about like sedentaries and areas and galaxy stuff and binary systems and i was like man this song has a very good concept so i decided to make a game on top of this song and uh i come out with a concept about a game that was heavily inspired by cupheads like those airplane levels when we fight uh bosses especially the hilda hilda hubert yeah i don't remember the exact name but especially this level where we fight this character that transforms that turns into like a gemini and a tortoise and a sedentary right and i say man imagine if this was a whole game where we fight level where we have like a spaceship or a rocket something like this and we go through some levels and the boss is at the end of the level and the bosses are like zodiac signs and i like make this concept of this game but after some point i decided to make an adventure game this one would be like a side scroll shooter but i decided to make a top-down space shooter uh that would be an adventure game because i wanted this girl to write the letters the concept that i come out with was like imagine if we were like in the far far future and every planet was already like populated so we live in every planet in the muke way not the the muke the solar system and like there is this this mailing company that deliver letters between this planet of deliver packages uh between these planets and each planet is guarded by its zodiac sign so for instance mars is guarded by aries right so injector by sedentaries and i say man this has some potential because if i add some love riftian stuff here and some pop culture references there this game has a lot of potential to to become something really really cool uh the whole idea of the the main mechanic of the game is that you defeat the zodiac signs and they turn out to be like powers that you can switch and your the bullets of your spaceship become like like enhanced by these zodiac signs powers so for instance when you defeat aries your bullets turned out to be like explosive because this is a a trait of aries right unfortunately and uh i decided to make this concept and come out and we're finding some stuff so that when i reached out to her in her's birthday December 4th i will have something to to show to her like one of those grand gestures which guys i don't recommend you to do don't do it don't write letters don't if if the person asks you for space just give them space and let them be and come come back to you at their own pace guys we have to to have mature attitudes in this sense which i didn't have back then but anyway and when and we decide to hang out in her birthday we went to a cafe and i explained her this whole thing and she she said that wow this sounds like amazing and i said but i want to make something very very interesting after that because i want the players to after finish the the main quest line which is the delivering of these letters between the the seeds ends of these planets guarded by each zodiac sign i want the parallel universes to converge into a single universe and each universe is like the each player's universe right so each player will be playing like in parallel universe after this event when they finished up the the main quest line they would like be in the same universe so like like i don't know if i don't remember the actual name of these kind of like merging of universes but marvel come out with this concept as well and i say and after this point forward players will be playing together delivering packets together and delivering packets to each other so i could send i could send her for instance a letter using this system so i can like write a letter tell a player to deliver to her and they will find her and deliver the letter to her this is the concept of the game but for that i will need to have some online multiplayer games skills which is something that i didn't have because this is like one of the things that i didn't i was always afraid to work with when i was in my game development college i was like no i don't want to work with that this is very complex i don't want to deal with that yet because i want to make some single player games before i actually dive into like the complexity of multiplayer games and i always like neglecting this kind of knowledge but she said no no don't don't be afraid of that you always figure out stuff you always get away through stuff and she's very supportive and and yeah she's she's a good person she's amazing and right when we went out the the cafe we paid the bills and we went out the the cafe i got a message from ervy which is one of those packet recruit recruiters saying hey enrique we want to know if you are interested in writing a book about online multiplayer games and i look at her and say man this has to be god saying this has to be god working behind the scenes because there is no way this could happen like today like this time so if you guys don't know i'm converted i'm now a christian guys so after 28 years of atheism i'm now converted to christianism so welcome to one of the few game development christian development christian game development channels in youtube guys how awesome is that and after that i accepted she said man you have to accept that this this is god telling you to develop these skills so we can make this game so we can make this happen and i said yeah i'm going to accept it i know that i'm going to to learn these skills so we can make this game and well we didn't recindled just so you guys know we didn't recindled she's dating another person uh it's okay but yeah so this is the story behind this book so it started it always started with a girl and jester that i wanted to make to this girl so we could recindle and well at some point i think that we will make this game so if you go to chapter nine of the book uh this this product that we made on that we make on chapter nine is the very rough prototype of this game so this is a a a trivia here uh chapter nine project is a the very prototype that i made to to make this whole integration of players in this game it's very primitive stuff so it's not near what i wanted what i want to do but yeah it always started with this game so there you have it this was the motivation to write this book so next question what kind of research did you do and how long did you spend researching before beginning the book guys i have to confess this book is basically a documentation about my process to learning uh girl's network api because as i said i had never worked with online multiplayer games before and back then godot 4 didn't even launch we were in the verge of launching godot 4 so there was that there was no documentation there were no videos about that yeah that there were some like um videos about like rpcs and multiplayer spawners and synchronizers but nothing like explained the the technology behind it like the in-net library right so i didn't understand how to do it and why do this why everything like work together and how we don't we don't need to send like utp or tcp we don't have to make like those kind of serialization deserialization how how everything worked worked so uh i had to get in contact with the the very person that i think made this like like uh fiberless and rally and how does how can i make this work how does this work and he explained that to me and very very briefly as well so i would add the tweets here and most of the part of the the book is basically me trying to understand how network works and basically i documented that so replying to the question what kind of research did i do i made i searched for the documentation i searched like on chat gpt like asking how does network works what are the major protocols uh what how can i make how do computers like set up like what is the handshake procedure all of this stuff was like new to me i had never ever worked with that and how long did i spend researching before beginning the book i didn't research before beginning the book i dived right into the process and but i researched it a lot a lot between chapters so each chapter i made a very heavy research we have very tight deadlines so originally we we have a tentative date for like july or august to to release the the book but i i had i got in touch with the project manager i say guys i i have no idea how this work there is no documentation about there there's no resources to learn this on grove specifically i will have to basically make a a course to learn this before actually writing the book but i said hey let's be patient i will learn as i do and i will basically document this process so the good thing about this book is that you are going through the journey that i went through to learn how to make online multiplayer games so we are going to enter in my brain and see how did i learn that because the the content that is on the book is the process that i went through to learn this this technology and these skills so this is another cool thing to to have in mind like this is how we or at least me learn how to make online multiplayer games so i started researching the protocols so how do godot make how does godot make that with the innet library so what are the difficulties why do does the innet library what is the the solution that innet library provides why don't we use udp and tcp instead and after that we learn that and after that we apply some knowledge and we actually dive into what godot has to offer like the multiplayer spawner the multiplayer synchronizer the rpcs you know everything like that and after that we optimize stuff because we learn how to do it but we don't learn how to do it well so after that we refine stuff so you are going through the very process that i went through to learn how to make online multiplayer games as well how awesome is that so let's dive into the next question did you face any challenge during the writing process how did you overcome them well as i said i had never ever worked with uh online multiplayer games and networking in general if you guys remember i had like a series so this this networking and internet stuff started way earlier like uh previously in the previous year i worked with a partnership with the guys from loot locker which is all about making htp requests and like having like a rest api but even then i didn't actually manage to make two computers like have two instances of a game that should like synchronize and they should have like a shared experience and well one of the most difficult stuff was trying to find documentation for stuff like back then as i said good for didn't had even launched so we don't we didn't have like any resources about that i researched for youtube videos as i said but most of this stuff was like very scarce especially like optimization and the very api itself was very very scarce to find uh learning resources about it which to be honest i think that i will make a whole course about it after the using this book as main learning resource because there's nothing about that in the internet like how to make online multiplayer games with good engine there is no course about it but yeah another another challenge that i faced was that initially i wanted to make like just a small prototype on chapter nine which is what's basically like just how can you save progress players progress into an online multiplayer game which is basically just storing restoring data into a database and sending this data back and forth from the client in the server right and after that i decided hey this has a lot of potential to become something even uh greater to provide a lot of value to the readers because if we just keep with that we are going to basically disappoint you guys because we are not scaling things up we are basically just maintaining the flow from the past chapters and just basically reaching a conclusion oh my my dog is messing up with the camera just a second okay so uh and after that i decided to make this i decided to take this prototype that i was making for this game that i told you uh previously and say hey this is the time to to actually make what i i decided to make with this with this project which is to learn how will i make this game uh so i make this prototype and this this was very difficult to to deal with because um was the first time in the book that we actually brought like a continuous work that exists apart from players so like the server will like keep the the the game running and when players enter the game they will synchronize the game with the server's game and this can have like a lot of issues guys you had no idea but yeah so a lot of difficulties as i said so uh as i said uh in the my grandparent my grand father died and in the middle of the process of writing this book my grand mother died as well so and a lot of like i broke up with my girlfriend which is not that girl that i told you about but yeah a lot of a lot of stuff going on so nowadays i basically live alone in brazil with my sister that lives in another city practically and my father that lives in a way farther uh city so basically uh after that i started with a very adulthood chapter of my life and this all come together so yeah a lot of difficulties in the middle of writing this project or writing this book okay so next question what's your take on the technology discussed in the book where do you see this technology hidden in the future guys this is cool so uh my major takeaway in the technologies that girl provides is that they are awesome and basically that has everything in good no but seriously uh the way that fabio implemented like rpcs and the whole like multiplayer synchronize it and the multiplayer spawner which is amazing is just like there is no way there is no like excuse to not try out making non-line multiplayer games with good at engine because it's so simple guys you basically just have to make a handshake saying that oh i'm a server and then we have like a client saying hey i want to connect with you they make a handshake and after that you can use the multiplayer synchronizing the multiplayer spawner and rpcs to make basically a a single player game that works on everyone else's instance of the game especially the multiplayer synchronize especially the multiplayer spawner is like amazing because you can set up a a a scene and when this scene is spot when this scene is scenes actually you can make you can add more than one scene when this scene spawns uh it will be replicated automatically like automatically guys this is like witchcraft and using rpcs you can basically like make function calls to an object that doesn't exist in your computer this is mind-blowing so yeah the my core takeaway my take on this technology is like this is amazing this is very empowering i really want to make online multiplayer games from now on because we can make like even if like 10 or 15 or like 20 people play my games it will work because it will be amazing to see how these people will collaborate with each other and connect with each other into the same journey so i remember this game from uh what is the the name of this game designer i i forgot it i i yeah i can't remember but but is a game about like uh living in 15 in 60 60 minutes so you you born and then you grow older and older and you get older and older until you reached like 60 years and then you died and is like a rug like or something like this because after it has permanent death but you can like come back again and other players will take care of you when you come back again uh with like when you are like a baby or something like this so you can start to maintain some progress that you did by providing to these other players and they will take care of you so this can help a lot into like connecting people into understanding this kind of human connections you know so uh yeah this is the kind of stuff that i i really want to make with this new technology where do you see these technologies hitting in the future guys after you understand how you can make and set up uh two computers or more to work together the possibilities are like infinite right so this is like a one of those breaking points where you just start to making like the most amazing stuff because nowadays after this knowledge after you understand this technology you can make like applications so for instance uh not not only games but you can make like apps that work with together and connect with together like i don't know i have no idea what you guys want to make but this is a powerful knowledge this is something very very powerful to connect two machines together and allow players or users to like connect with with each other this is one of the most amazing skills that some someone that works in the tech tech industry can have at the uh at the tool belt so most of the other questions are more leaning towards like the product itself and the process of working with packet which to be honest was amazing everyone there was was like really patient with me they understood the difficulties of working with someone that didn't actually had all the experience necessary to work a book like in three four six months and they also understood that we didn't have any learning resources and no resource on the internet about this so everyone was very very patient and we reached out like a very good deadline actually because guys let's be honest this is the time that you guys actually have money to pay for this stuff so it's the best time to to release this book the book will release in December 22 so get your wallets ready you can pre-order as well i will put the link in the description this is the link here in the screen as well if you want to like digit it manually but most of the other questions are basically leaning towards that but so i will just say that the core takeaway from the book that i want you to have after you read it is that connect people together to make amazing stuff this is this is the thing try to make something that people can work together and collaborate towards a shared goal and build some amazing stories and that's it this is the the pre how is it called yeah so you have like early access to the author's interview into this video i really hope you enjoy it guys pre-order the book right now because this book is amazing i'm really really proud of that i hope you enjoyed thank you so much for watching keep developing and until the next time see you there