In this (very long) video, I explain the code for my updated level editor. This allows you to create and export levels to be used in your games. The tutorial covers tile maps, a parallax scrolling background, buttons as well as saving and loading using CSV and pickle modules.
All the code and assets are on github:
https://github.com/russs123/LevelEditor
Credits for assets:
Tilesheet: https://erayzesen.itch.io/pixel-platf...
Background: https://sanctumpixel.itch.io/forest-l...
Soldiers: https://secrethideout.itch.io/team-wa...
Timestamps:
0:00 Demo
6:10 Background
11:10 Scrolling Background
22:35 Setup Grid
28:23 Tile Buttons
43:45 Tile map explanation
53:40 Placing tiles on the screen
1:12:17 Saving and Loading data
Sur cette page du site, vous pouvez voir la vidéo en ligne PyGame Level Editor Using Tilemaps in Python - Tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Coding With Russ 27 février 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 58,415 fois et il a aimé 1.3 mille téléspectateurs. Bon visionnage!