If the width property of an object returns data in pixels (assumption) then will I get different values depending if the game is scaled up or down in different window sizes?
Develop games in your browser. Powerful, performant & highly capable.
Nope the width of an object isn't , only the frame is scaled to fit the size of the pgame assets ...
silkc2, as Whiteclaws has already answered, the width and height (<name>.Width and <name>.Height) of an object don't change with the scaling of the Window, Layout, or Layer.
I put a little test project together to demonstrate.here
Good, just checking because I want to use width as a measure of "ink expenditure" if you like.
Thanks both. :)