Back to Browse

How to make a Loading Screen using #Multiprocessing in #Python and #Pygame

3.2K views
May 26, 2022
6:43

Hello Everyone! This is a video tutorial on how to make a loading screen using the multiprocessing and pygame modules in python. Code used in the video: https://github.com/tank-king/Tutorials/tree/main/Python%20Pygame/loading_screen In case of any queries, you can post them in the comments, or you can join my discord server. Discord Server Link: https://discord.gg/qh8XGWypvg TimeStamps: 00:00 : Intro 00:09 : Basic Setup 00:32 : Explaining the Workflow Process 01:02 : Understanding __name__ == '__main__' 01:41 : What will be demonstrated in the tutorial 02:00 : Load_Directory function 02:34 : Import multiprocessing 03:15 : Inter-process communication using Pipe Objects 03:47 : Setting up the sender and receiver 03:52 : Problem with sending Surfaces 04:10 : Solution to the problem of Sending Objects 05:02 : Receiving Objects 05:40 : Transferring all images to main process 05:53 : Set up daemon process to ensure proper exiting 06:05 : Loading Bar rendering principle 06:22 : Thanks for watching :) Songs used (in order) Fingerprint - Mini Vandals Would it Kill You_ - Mini Vandals Calvin Harris - josh pan #python #pygame #gamedev #multiprocessing

Download

1 formats

Video Formats

360pmp49.6 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How to make a Loading Screen using #Multiprocessing in #Python and #Pygame | NatokHD