Pygame Tutorial - Save/Load System

preview_player
Показать описание
In this video I show you how to make a save load system with Pygame! We use Python3 with the module pickle to serialize the data into files and then create a SaveLoadManager class to handle everything!

--My Stuff--
Support on Patreon
Join our Discord!
Follow Me on Twitter!

#gamedev #pygame #programming #python #indiedev
Рекомендации по теме
Комментарии
Автор

Dude you are amazing! your way of explaining beats an adult any day!

harigopaladamus
Автор

Looking forward to study your Shader tutorial.
Kind of a shame you only have 5 tutorial videos for pygame. Please make more!
I am currently trying to learn python and OOP by coding the basics for an imaginary pygame project.
So far I have learned and implemented a state stack manager, menu system, delta time, screen size config and now your save load manager.
Next steps will be a little more specific to my game idea: Isometric hexagon grid and lighting system with blending and masks.
I am really enjoying the journey so far, good luck on yours!

vinnn
Автор

That's a pretty solid tutorial! I wouldn't consider this suitable for a shipping game, but as a first save system this is a great starting point.

JamieBliss
Автор

thanks! but could you also use f-strings next time because the text+variable+text+variable is killing me

tbinaryg
Автор

When I try to make an account on Pygame it says disabled, does anyone know how to fix this?

knownrobloxian
Автор

Is it just me or the person explaining this is a child?

A child better than me in coding now i see myself more useless now

carlpilongo
Автор

this is a great but totally useless in a real pygame development, because you cant serialize pygame.surface, and most of our implementation are done using sprite and surface. It means, that you need to "de-serialize" each object and use a constructor to rebuild the graphics. This can work, but this is a deep change, and if you do so, many others python modules wont work with pygame any more. I believe the best is to rewrite the save and open, from your classes, instead of using Pickle

ArielMomo
welcome to shbcf.ru