Русские видео

Сейчас в тренде

Иностранные видео


Скачать с ютуб Game Engine Ep.70 - Getting Into Serialization - Part #1 - JSON and Component Serializers в хорошем качестве

Game Engine Ep.70 - Getting Into Serialization - Part #1 - JSON and Component Serializers 2 недели назад


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса savevideohd.ru



Game Engine Ep.70 - Getting Into Serialization - Part #1 - JSON and Component Serializers

Don't forget to check out the github repo: https://github.com/dwjclark11/Scion2D Welcome back everyone, my name is Dustin, and in this video we start looking into how we are going to serialize our tilemaps and data to files so we can save and load. In this video, we create the JSONSerializer class using rapidjson and start the ComponentSerializer. There is a challenge at the end to finish the Save/Load functions for the Tilemap Loader. Give the challenge a try and leave a comment below if you need any tips/hints. We will go over the solution in the next video. We also do a Deserialize function for the components and it uses constexpr checks to determine the component type. There is another way that we can accomplish this by passing the component in as a reference and deserialize it that way. If we do that, we no longer have to have the constexpr checks and we can just overload based on the component type and the serializer. I will go over how to do that in the next video as well. Maybe try that as a challenge. rapidjson: https://github.com/Tencent/rapidjson Please Like and Subscribe! If you have any questions or concerns, please leave a comment below and I will make sure to answer them to the best of my ability. Also, if you know a better way to implement something, please share! I always love to learn and grow. Check out the playlist here:    • New Game Engine  

Comments