I'm porting a hidden object game from Starling to Godot. In the game, I use screenshots quite a bit for transitions between levels.
I'm now looking at the Screen Capture tutorial for Godot 3.0, and I was wondering why this code :
var img = get_viewport().get_texture().get_data()
produces a screenshot that's smaller than the game screen ? Also, why is the image flipped by default ?