Level Editor in Python Part 1 - Pygame Adventure Game 17

Published: 08 February 2024
on channel: Alexander Farrell
297
13

In this video, we begin creating our level / map editor for our adventure game. Our game has many areas to explore, and each is loaded by a file. We need a screen which will let people create new areas, as well as load & edit existing areas.

In this video, we also create a text input field in Pygame, as well as a scroll view.

This is part of a series where we create an Adventure Game using Python and Pygame.

Full Adventure Game in Pygame Playlist 🌲:
   • Pygame - Adventure Game  

Starting Code (Code from Previous Video) 🌱:
https://github.com/AlexanderFarrell/a...

Completed Source Code 🖥:
https://github.com/AlexanderFarrell/a...

Background Image (and other assets) 🌴:
https://www.alexanderfarrell.com/arti...

Timestamps:
00:00 - Introduction 👋
00:46 - Game Stages 📈
01:37 - Add Editor to Main Menu 📋
03:24 - Back Button - Button Labels 🔙
05:29 - Text Input - Globals and Constructor 🌍
08:18 - Engine Input ⚙
09:35 - Text Input - Finish Constructor 🚧
12:06 - Text Input - Listen for Text 👂
13:43 - Text Input - Breakdown 💥
13:52 - Text Input - Update ♻
15:27 - Text Input - Draw 🖼
16:11 - Add a Text Input! 🍃
18:34 - Test our Text Input 🧪
19:23 - Scroll View - Globals and Constructor 🌍
22:02 - Scroll View - Setup ⚡
24:05 - Scroll View - Update ♻
26:00 - Scroll View - Draw 🖼
27:13 - Add a Scroll View! 🍃
28:12 - Test our Scroll View 🧪
28:33 - Engine Input - Mouse Scrolling 🐭
30:30 - Make Scroll Views Scroll ✨
33:42 - Scroll View Finished - Testing 🧪
34:09 - Structure Editor Choose File Screen 🗺
34:36 - Listing All Our Map Files 📋
35:24 - List Files in Alphabetical Order 📶
36:02 - Handling Load Map File 🍔
37:29 - Handling Create Map File 🍟
39:23 - Improve the Look & Feel 🌻
40:24 - Final Screen ✨
40:57 - Conclusion and Thank You! 🙂


Watch video Level Editor in Python Part 1 - Pygame Adventure Game 17 online, duration hours minute second in high quality that is uploaded to the channel Alexander Farrell 08 February 2024. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 297 times and liked it 13 visitors.