Godot Version
4.4.1
Question
I’m trying to create a sort of ‘rolling-reveal’ effect, by placing the image I want revealed, under another image, which is covering the hidden image when the scene begins. At the right moment, I try to reveal the hidden image by property-tweening the covering image’s region_rect, to make it smaller and smaller, until it disappears. Here’s the tween call:
my_tween.tween_property(%covering_image, “region_rect:end”, Vector2(0,0), 2.0)
I’m expecting the image to roll up, from bottom-right to top-left. What happens instead is, the image collapses towards its center. I can’t figure this out. I’ve tried doing it as a call to tween_method(set_region_rect(etc etc)) and I get the exact same results.
Any idea what might be wrong here? Thanks all!