moved img over
BIN
_share/media/img/albert/S03_L10_EX01.png
Normal file
|
After Width: | Height: | Size: 79 KiB |
BIN
_share/media/img/albert/S03_L10_EX02.png
Normal file
|
After Width: | Height: | Size: 64 KiB |
BIN
_share/media/img/albert/S03_L10_EX03.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
_share/media/img/albert/add frames.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
_share/media/img/albert/add new animation.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
_share/media/img/albert/ch12/animation_snap.png
Normal file
|
After Width: | Height: | Size: 91 KiB |
BIN
_share/media/img/albert/ch12/animation_timeline.png
Normal file
|
After Width: | Height: | Size: 214 KiB |
BIN
_share/media/img/albert/ch12/discrete.png
Normal file
|
After Width: | Height: | Size: 84 KiB |
BIN
_share/media/img/albert/ch12/frame_coords.png
Normal file
|
After Width: | Height: | Size: 84 KiB |
BIN
_share/media/img/albert/ch12/g12_animation.png
Normal file
|
After Width: | Height: | Size: 70 KiB |
BIN
_share/media/img/albert/ch12/length_looping.png
Normal file
|
After Width: | Height: | Size: 90 KiB |
BIN
_share/media/img/albert/ch12/lock_animation.png
Normal file
|
After Width: | Height: | Size: 208 KiB |
BIN
_share/media/img/albert/ch12/lock_properties.png
Normal file
|
After Width: | Height: | Size: 74 KiB |
BIN
_share/media/img/albert/marker2d-world.jpg
Normal file
|
After Width: | Height: | Size: 77 KiB |
BIN
_share/media/img/albert/section03/S03_L11_EX01.png
Normal file
|
After Width: | Height: | Size: 81 KiB |
BIN
_share/media/img/albert/section03/S03_L11_EX02.png
Normal file
|
After Width: | Height: | Size: 51 KiB |
BIN
_share/media/img/albert/section03/S03_L11_EX03.png
Normal file
|
After Width: | Height: | Size: 49 KiB |
BIN
_share/media/img/albert/section03/S03_L12_EX01.png
Normal file
|
After Width: | Height: | Size: 494 KiB |
BIN
_share/media/img/albert/section03/S03_L12_EX02.png
Normal file
|
After Width: | Height: | Size: 392 KiB |
BIN
_share/media/img/albert/section03/S03_L14_EX01.png
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
_share/media/img/albert/section03/S03_L15_EX01.png
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
_share/media/img/albert/section03/S03_L16_E01.png
Normal file
|
After Width: | Height: | Size: 233 KiB |
BIN
_share/media/img/albert/section03/S03_L16_E02.png
Normal file
|
After Width: | Height: | Size: 277 KiB |
BIN
_share/media/img/albert/section03/S03_L16_E03.png
Normal file
|
After Width: | Height: | Size: 154 KiB |
BIN
_share/media/img/albert/section03/S03_L16_E04.png
Normal file
|
After Width: | Height: | Size: 122 KiB |
BIN
_share/media/img/albert/section03/S03_L16_E05.png
Normal file
|
After Width: | Height: | Size: 383 KiB |
BIN
_share/media/img/albert/section03/S03_L16_E06.png
Normal file
|
After Width: | Height: | Size: 62 KiB |
BIN
_share/media/img/albert/select animation.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
_share/media/img/albert/select animation.pxm
Normal file
BIN
_share/media/img/albert/sprite-endpoint.jpg
Normal file
|
After Width: | Height: | Size: 324 KiB |
|
|
@ -24,8 +24,8 @@ $text-color: #abb2bf // General text color (updated)
|
|||
$background-color: #282c34 // Background color (updated)
|
||||
|
||||
// Links, Anchors
|
||||
$anchor-color: #89bae3 // Used for links (new)
|
||||
$anchor-hover-color: color.adjust($primary-color, $lightness: 10%)
|
||||
$anchor-color: color.adjust($primary-color, $lightness: 15%)
|
||||
$anchor-hover-color: color.adjust($quaternary-color, $lightness: 10%)
|
||||
$toc-anchor-color: color.adjust($secondary-color, $lightness: -5%)
|
||||
$toc-anchor-hover-color: color.adjust($primary-color, $lightness: -5%)
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ we use scripting to extend node functionality
|
|||
- click on the attach new script button in the scene pane
|
||||
-
|
||||
#+ATTR_HTML: :width 200px
|
||||
[[file:../../../_share/media/img/albert/attach_new_script.png]]
|
||||
[[file:../../_share/media/img/albert/attach_new_script.png]]
|
||||
- one script per node is the limit
|
||||
- you get access to all the children nodes inside the scene.
|
||||
|
||||
|
|
@ -32,7 +32,7 @@ we use scripting to extend node functionality
|
|||
- the node we attached a script to will have a script icon next to the eye icon
|
||||
-
|
||||
#+ATTR_HTML: :width 200px
|
||||
[[file:../../../_share/media/img/albert/script_icon.png]]
|
||||
[[file:../../_share/media/img/albert/script_icon.png]]
|
||||
|
||||
**** detaching script from node
|
||||
- sometimes you don't want a certain script attached to a node
|
||||
|
|
|
|||
|
|
@ -24,14 +24,14 @@ this allows you to reference the property directly within the script attached to
|
|||
- Menu->Project->Project Settings-> [Input Map]
|
||||
- click on "show built-in actions"
|
||||
#+ATTR_HTML: :width 600px
|
||||
[[file:../../../_share/media/albert/img/S03_L10_EX01.png]]
|
||||
[[file:../../_share/media/albert/img/S03_L10_EX01.png]]
|
||||
|
||||
- create an action
|
||||
- type in the name of the action in Add New Action
|
||||
- click +Add
|
||||
|
||||
#+ATTR_HTML: :width 600px
|
||||
[[file:../../../_share/media/albert/img/S03_L10_EX02.png]]
|
||||
[[file:../../_share/media/albert/img/S03_L10_EX02.png]]
|
||||
|
||||
- assign a key
|
||||
- select the action
|
||||
|
|
@ -39,7 +39,7 @@ this allows you to reference the property directly within the script attached to
|
|||
- type or select the appropriate key
|
||||
|
||||
#+ATTR_HTML: :width 300px
|
||||
[[file:../../../_share/media/albert/img/S03_L10_EX03.png]]
|
||||
[[file:../../_share/media/albert/img/S03_L10_EX03.png]]
|
||||
|
||||
*** detecting the input
|
||||
- we use these:
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
1. select Node panel on leftside, and then select the approrpiate signal
|
||||
-
|
||||
#+ATTR_HTML: :width 600px
|
||||
[[file:../../../_share/media/albert/img/section03/S03_L11_EX01.png]]
|
||||
[[file:../../_share/media/albert/img/section03/S03_L11_EX01.png]]
|
||||
|
||||
2. double click the selected filter
|
||||
- options available:
|
||||
|
|
@ -37,13 +37,13 @@
|
|||
|
||||
-
|
||||
#+ATTR_HTML: :width 300px
|
||||
[[file:../../../_share/media/albert/img/section03/S03_L11_EX02.png]]
|
||||
[[file:../../_share/media/albert/img/section03/S03_L11_EX02.png]]
|
||||
|
||||
- similarly, you can see a green icon by the function in the code editor
|
||||
|
||||
-
|
||||
#+ATTR_HTML: :width 600px
|
||||
[[file:../../../_share/media/albert/img/section03/S03_L11_EX03.png]]
|
||||
[[file:../../_share/media/albert/img/section03/S03_L11_EX03.png]]
|
||||
|
||||
** Custom Signals
|
||||
*** declare the signal
|
||||
|
|
@ -65,10 +65,10 @@ name_of_signal.emit()
|
|||
- if you want to attach another node to the same receiver function, use "pick" when connecting the signal
|
||||
-
|
||||
#+ATTR_HTML: :width 700px
|
||||
[[file:../../../_share/media/albert/img/section03/S03_L12_EX01.png]]
|
||||
[[file:../../_share/media/albert/img/section03/S03_L12_EX01.png]]
|
||||
|
||||
- if you have more than one node connected to a receiver function you can see which are connected by clicking on the green icon next to the receiver function
|
||||
|
||||
-
|
||||
#+ATTR_HTML: :width 600px
|
||||
[[file:../../../_share/media/albert/img/section03/S03_L12_EX02.png]]
|
||||
[[file:../../_share/media/albert/img/section03/S03_L12_EX02.png]]
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ Put the following in the script that you want to create nodes in based on a scen
|
|||
- allows assigning variables through the interface
|
||||
|
||||
#+ATTR_HTML: :width 300px
|
||||
[[file:../../../_share/media/albert/img/section03/S03_L14_EX01.png]]
|
||||
[[file:../../_share/media/albert/img/section03/S03_L14_EX01.png]]
|
||||
|
||||
- =PackedScene=
|
||||
- resource that holds a scene in a packed, ready to load state
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
- appears in upper left corner of the 2D screen
|
||||
|
||||
#+ATTR_HTML: :width 600px
|
||||
[[file:../../../_share/media/albert/img/section03/S03_L15_EX01.png]]
|
||||
[[file:../../_share/media/albert/img/section03/S03_L15_EX01.png]]
|
||||
|
||||
*** set label text
|
||||
- go Scene->Label node->Inspector->Label->text
|
||||
|
|
|
|||
|
|
@ -21,18 +21,18 @@
|
|||
*** import pane
|
||||
- the scene panel on the upper left has an Import pane
|
||||
#+ATTR_HTML: :width 600px
|
||||
file:../../../_share/media/albert/img/section03/S03_L16_E01.png
|
||||
file:../../_share/media/albert/img/section03/S03_L16_E01.png
|
||||
|
||||
- this allows you to see details of items in the filesystem
|
||||
#+ATTR_HTML: :width 400px
|
||||
file:../../../_share/media/albert/img/section03/S03_L16_E03.png
|
||||
file:../../_share/media/albert/img/section03/S03_L16_E03.png
|
||||
|
||||
*** changing details of imported items
|
||||
1. make whatever changes you want, e.g. turn on "Loop"
|
||||
2. then click the Reimport button
|
||||
|
||||
#+ATTR_HTML: :width 400px
|
||||
file:../../../_share/media/albert/img/section03/S03_L16_E04.png
|
||||
file:../../_share/media/albert/img/section03/S03_L16_E04.png
|
||||
|
||||
*** audio nodes
|
||||
- Node->Node2D->AudioListener2D
|
||||
|
|
@ -53,11 +53,11 @@
|
|||
- drag the audio file into Audio node->Inspector->AudioStreamPLayer->Stream
|
||||
|
||||
#+ATTR_HTML: :width 600px
|
||||
file:../../../_share/media/albert/img/section03/S03_L16_E05.png
|
||||
file:../../_share/media/albert/img/section03/S03_L16_E05.png
|
||||
|
||||
- you'll be able to see it when it's loaded
|
||||
#+ATTR_HTML: :width 600px
|
||||
file:../../../_share/media/albert/img/section03/S03_L16_E06.png
|
||||
file:../../_share/media/albert/img/section03/S03_L16_E06.png
|
||||
|
||||
- set Autoplay to "ON"
|
||||
|
||||
|
|
|
|||