This commit is contained in:
ronny abraham 2025-03-02 14:15:55 +02:00
parent fac2ed5af5
commit 0bc1d9989a
3 changed files with 40 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

View file

@ -0,0 +1,31 @@
#+title: Section 04 - Lesson 07 | Flying
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="../../_share/media/css/godot.css" />
#+OPTIONS: H:6
* Links
- [[../../toc.org][TOC - Godot Notes]]
- [[https://www.udemy.com/course/jumpstart-to-2d-game-development-godot-4-for-beginners/learn/lecture/45069815#overview][S04:L52.07 - video]]
* Notes
** adding actions
*** default
1. Project->Project Settings
2. click on Input Map tab
3. check 'Show built-In Actions'
#+attr_html: :width 800
file:../../_share/media/img/albert/section04/lesson-07/E01.png
*** custom
1. make sure that 'Show built In Actions' is UNCHECKED
2. in the 'add new action' textbox, add the name of your actions
3. selec the action
4. on the right side of the action line, click on the '+' symbol
5. add the keystroke
- click inside the textbox and hit the keystroke you want
- in the lower part of the dialog select the actual input
** implementing
- use the Input class as a Singleton
- use Input.is_action_just_pressed bc actions get processed so fast
- add the name of the action to the func call

View file

@ -0,0 +1,9 @@
#+title:Flyin#+title: Section 04 - Lesson 08 | Collisions: Hitting the floor
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="../../_share/media/css/godot.css" />
#+OPTIONS: H:6
* Links
- [[../../toc.org][TOC - Godot Notes]]
- [[https://www.udemy.com/course/jumpstart-to-2d-game-development-godot-4-for-beginners/learn/lecture/45069817#overview][S04:L53.08 - video]]
* Notes