Commit Graph

14 Commits

Author SHA1 Message Date
Aaron Franke bbe50fc9da
Convert demos to Godot 4 using regular expressions in a script 2022-03-26 16:09:10 -05:00
ScorpionInc db01a216fd
Add axis label highlighting to the Joypads demo (#684)
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-03-23 19:50:43 +01:00
ScorpionInc 07d6c311d7
Added alpha effect to joypad axis indicators
Added alpha effect to joypad demo's axis and analog trigger indicators via the CanvasItem's self modulate property.
2022-02-23 15:02:41 +01:00
Aaron Franke 21e829416f
Handle up to 24 joypad buttons in the Joypads demo 2021-03-13 23:28:22 -04:00
Fabio Alessandrelli 2a13307276 [Joypads] Add SDL config re-mapping tool.
Most of the code is in the remap folder, but it depends on the gamepad
diagram scene.
It allows remapping of pads to values that godot can understand.
It also comes with some default mapping for the HTML5 platform.
2021-02-07 13:19:18 +01:00
Aaron Franke 5322be1a54
Refactor the Joypads demo 2020-03-05 20:50:16 -05:00
Aaron Franke c90a251445
Update the rest of the misc demos to Godot 3.1.2
I have not tested if these work, but I made minimal changes to them (only things like comments and newlines).
2020-02-02 04:53:12 -05:00
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
Rémi Verschelde cfcc0f3964 Port misc and plugin demos to Godot 3.1 2019-02-26 15:13:08 +01:00
Chris Bradfield 9d66e8f2ef Code cleanup 2018-03-13 22:35:55 -07:00
Bojidar Marinov 03ba4fc1df
Make some demos work again, reimport 2018-01-16 17:46:10 +02:00
Scott Beca 96ae223e21 Fixes for rename from fixed to physics 2017-10-04 22:12:41 +11:00
Dana Olson 46291aebf6 fix a nil error at line 22 2017-09-20 02:13:01 -04:00
Rémi Verschelde 634d45a280 Port some misc demos to 3.0
autoload, instancing, joypads, pause, regex, scene_changer
2017-06-30 08:39:26 +02:00