Добавить
Уведомления

Making a Photo Album in the Godot Game Engine

Support the Channel: patreon.com/ChaffGames Check My New Course : https://www.udemy.com/course/building-a-better-jump-in-godot-4/?referralCode=E852A97F2A35C087FC40 Get the FPS Template Here: https://chaffgames.com/fps-game-template/ Get the project Files here: https://chafmere.itch.io/digital-camera-demo Loading non-imported, external resources in the Godot Game Engine requires you to replicate the import process at run-time first (which is already done in the editor), and then store a reference to the loaded resource somewhere for it to be accessed later, so it's not possible to use load() for those resources, because they were not actually imported, but created at run-time instead. Which is pretty confusing. You can’t use load() you instead need to used load_png_from_buffer() which asked for a buffer, which a pool byte array of the size of the file in bytes. Please like and Subscribe! It's truly appreciated #GameDevelopment #GameJam #Godot Links to my Socials Instagram: https://www.instagram.com/chaff.dev/ Twitter: https://twitter.com/ChaffDev Itch.io: chafmere.itch.io timestamps: 00:00 Intro 00:53 Why Do this? 01:38 Deadly Lens Clean Up 2:15 Recap 3:30 How to save an image with a view port 4:34 How To Load External Resources 6:31 How I track resources to read in 6:59 Building the Gallery 8:10 Viewport Challenges 9:50 Level Design 10:45 Closing Thoughts

12+
16 просмотров
2 года назад
12+
16 просмотров
2 года назад

Support the Channel: patreon.com/ChaffGames Check My New Course : https://www.udemy.com/course/building-a-better-jump-in-godot-4/?referralCode=E852A97F2A35C087FC40 Get the FPS Template Here: https://chaffgames.com/fps-game-template/ Get the project Files here: https://chafmere.itch.io/digital-camera-demo Loading non-imported, external resources in the Godot Game Engine requires you to replicate the import process at run-time first (which is already done in the editor), and then store a reference to the loaded resource somewhere for it to be accessed later, so it's not possible to use load() for those resources, because they were not actually imported, but created at run-time instead. Which is pretty confusing. You can’t use load() you instead need to used load_png_from_buffer() which asked for a buffer, which a pool byte array of the size of the file in bytes. Please like and Subscribe! It's truly appreciated #GameDevelopment #GameJam #Godot Links to my Socials Instagram: https://www.instagram.com/chaff.dev/ Twitter: https://twitter.com/ChaffDev Itch.io: chafmere.itch.io timestamps: 00:00 Intro 00:53 Why Do this? 01:38 Deadly Lens Clean Up 2:15 Recap 3:30 How to save an image with a view port 4:34 How To Load External Resources 6:31 How I track resources to read in 6:59 Building the Gallery 8:10 Viewport Challenges 9:50 Level Design 10:45 Closing Thoughts

, чтобы оставлять комментарии