Commit Graph

4 Commits

Author SHA1 Message Date
Hugo Locurcio a45b84a5ad
Handle multiple resolutions in most demos
This makes demos render correctly on hiDPI displays,
while also demonstrating how to handle multiple resolutions.

The 3D in 2D demo now uses "3D No-Effects" for the 3D viewport,
which is faster to render. Thanks to this, 4× MSAA is now enabled
for a better result.

The background loading demo now uses mipmaps for better-looking images.

The material testers demo now samples mouse input in a
resolution-independent manner when panning.

Default clear colors were also changed in some projects for visual
consistency with the project's theme.
2020-01-28 19:08:03 +01:00
Thomas Karcher 626b9178bb Converted to and tested with V3.1 2019-06-04 21:25:25 +02:00
Rémi Verschelde 5116684dcf Fix ball direction in visual pong
It was using randi() for y instead of 2*randf()-1.
2018-01-13 19:45:54 +01:00
Juan Linietsky 13eab7d1aa Added visual script pong 2017-07-01 07:29:39 -03:00