squirrel-labs / ratatosk

Rask is a platformer game built with WASM and Rust
https://rask.rocks
MIT License
15 stars 1 forks source link

Force rendering to a constant aspect ratio #99

Closed nat-rix closed 4 years ago

TrueDoctor commented 4 years ago

Why did you chose the 3:4 aspect ratio?

nat-rix commented 4 years ago

The aspect ratio of 4:3 is chosen because it doesn't stretch the textures as much as 16:9. But I could stretch the world by the inverse (e.g. 9:16) of the aspect ratio in the shaders, that should be a more appropriate solution.