22 Commits

Author SHA1 Message Date
tetrapod00
42abf26423 Update Project Settings page
- Add screenshots
- Document reading and writing settings
- Document manually editing project.godot
- Note that most settings are changed in different
classes at runtime
2024-11-17 22:29:44 -08:00
Dipal Zambare
6830513c08 Fix Keyboard modifiers example 2023-04-21 12:56:08 +02:00
notPelf
b146d3f359 Updated MouseButton enum values in input examples
MouseButton enums were not updated in the input examples page, i.e. BUTTON_LEFT should be MOUSE_BUTTON_LEFT, etc
2023-03-19 12:28:55 -04:00
Raul Santos
b319da3f07 Update some C# examples for 4.0 (#6693)
* Update some C# examples

- Rename members that have been renamed in Godot's C# API for 4.0.
- Change `delta` parameter type to `double`.
- Ensure parameters match base declaration.
- Other minor code fixes.

---------

Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
2023-02-04 17:03:03 +01:00
Rudi
f51c77dd7f Replace ButtonList enum with MouseButton (#6334)
Replace `ButtonList` enum with `MouseButton`

Switched `ButtonList` enum to `MouseButton` since `MouseButton` is defined in `InputEventMouse`, while `ButtonList` was undefined in `Godot` namespace.
2023-01-28 22:38:23 +03:00
Hana
9e90766a92 update c# class examples 2023-01-12 19:38:20 +01:00
Max Hilbrunner
99d3d0be12 Renames / fixes for Godot 4 2022-10-17 00:35:07 +02:00
Hugo Locurcio
31746843d0 Document keyboard ghosting caveats in Input examples 2022-01-04 22:37:23 +01:00
Rémi Verschelde
9a05eef561 4.0: Convert Sprite references to Sprite2D
Some screenshots will need to be updated so that the scene structures shown
in screenshot fit what the code blocks are referring to.
2021-10-06 14:29:55 +02:00
Rémi Verschelde
044b6a74f8 Cleanup uses of double spaces between words or after punctuation 2021-06-07 10:44:02 +02:00
Nathan Lovato
359f09343a Fix typo in input_examples.rst 2021-01-21 11:48:45 -06:00
Feniks
f830197075 Fix C# condition being as instead of is in Input examples (#4362) 2020-11-13 15:25:00 +01:00
Nathan Lovato
ac3cbb8195 Merge branch 'master' into InputEventKey.keycode 2020-11-05 10:08:37 -06:00
Rémi Verschelde
79113672ff Fix C# code in Input examples
And work around two other warnings, making the build warning free.
2020-07-15 10:34:38 +02:00
Michael Alexsander
1f6d3995e4 Apply general code formatting to some pages in the tutorial section 2020-07-08 23:02:14 -03:00
baldanders-skulltuna
a1312d6f90 Fix spelling in C# code sample in the Input examples tutorial (#3735)
`(Keylist)keyEvent.Scancode` -> `(KeyList)...`

Project does not compile otherwise.
2020-06-27 14:30:19 +02:00
Paul Joannon
a19d7496d6 rename InputEventKey.scancode into keycode
This change was introduced in godotengine/godot@1af06d3d.

As I was editing the tutorials/inputs/input_examples.rst file I noticed that some C# snippets were triggering lexer errors. It was because they were using string interpolation (with $"") so I changed that as well.
2020-06-16 19:37:19 +02:00
Yuri Sizov
37604be65f Improved keystroke formatting for shortcuts and key press menti… (#3257) 2020-03-09 23:50:53 +01:00
cbaal83
cbdb90f894 added some c# input examples (#3158) 2020-03-03 20:11:25 +01:00
Meriipu
0234d98169 try and -> try to 2019-06-08 12:15:58 +00:00
Rémi Verschelde
28fe16b26e Fix title case 2019-04-09 11:42:56 +02:00
Chris Bradfield
e0b543b948 Add input examples tutorial 2019-04-02 22:16:41 -07:00