YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
26 stars 8 forks source link

texture_global_scale() only affects PNG format texture groups #5467

Open FoxyOfJungle opened 7 months ago

FoxyOfJungle commented 7 months ago

Description

When using the texture_global_scale(scale) function to downscale texture groups (extremely useful for mobile platforms), this only affects texture groups with the PNG format, but I guess there's no reason it wouldn't work with BZ2 + QOI? This last format is lighter, faster and it's not easily readable to the public. It would be cool to be able to use it with this functionality.

Steps To Reproduce

1 - Open the attached project and click the play button (F5). 2 - Notice in the first room that the background (in PNG format) is downscaled. 3 - Click the mouse to go to the next room. Note that the background (BZ2 + QOI format) in the second room is not downscaled.

Which version of GameMaker are you reporting this issue for?

IDE v2024.2.0.132 Runtime v2024.2.0.163

Which operating system(s) are you seeing the problem on?

Windows 10.0.19045.0

f2d065f3-5060-47c2-b5e8-977f548edf55

L-Clouds commented 7 months ago

Wouldn't this be a feature request, not a bug, because the manual directly states that texture_global_scale only works for PNG textures?