2 years ago

THIS ISSUE IS SOLVED! Read the article for my solution.

Escape Block Textures Not Loading Properly

Read the article for my post.


SOLVED!

I saved both the awake and asleep textures as .tres files and rewrote the code to have a single TextureRect use the .tres files.

View the full code on Pastebin: https://pastebin.com/h6W7jGcn

VERSION: v4.2.stable.official [46dc27791]

I am trying to have an escape block with two different textures--an animated one where it's awake and an inanimate one where it's asleep. The textures for my escape blocks display properly sometimes and appear as a blank white texture other times (i.e. when leaving and reentering the scene). I have tried rewriting my code and using different methods and nodes to swap out the escape block textures, but all of them result in the white texture appearing at least some of the time.

Can anyone help me figure out what I’m doing wrong or link me to an answer for reference? I’ve looked around but couldn’t find anything.



0 comments

Loading...

Next up

I made a game for the GMTK Game Jam 2024 https://itch.io/jam/gmtk-2024/rate/2907360

Logo for a Mini Noise fangame I'm making I plan to release it by August 15th

I'm making a webcomic! Coming soon... :)

A quick look at Ryn: And the thread of Life, our game in development, platforms and traps in action.

#gamedev #indiedev #godot

#MyFavoriteMon is…idk I’m not a fan of the series

Hyperslice releases on January 16 (yes in just 2 days!) on Steam and Itch 🎉 ⚡ Hyperslice is a fast paced arena roguelite where your only weapon is your dash!

Wishlists appreciated 🥰 (Demo available on Steam and here) https://s.team/a/2977820

Fanart I made for the 9th anniversary of Hobson's webcomic: The Jenkins.

#art #thejenkins

Been working on turning the Dudaroo & Shu series into an animated series instead. It'll take a while because I'm busy IRL and have horrible focus but here's the thumbnail so far. Currently working on the script (it's ~70% done).

Here's the last two attacks for Augusto! First we have a spinning charge, then a foot claw swipe if you get too close.

#GJAsks

My favorite platformer character is Peppino.

pizza pizza time