fragcolor-xyz / shards-examples

Tutorials and examples with shards
https://learn.fragcolor.xyz
BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

Partial code is missing from the full code for the Glod game tutorial step 3.6 #61

Open vantemoon opened 1 year ago

vantemoon commented 1 year ago

The following code should be added to the full code si far for step 3.6 of the Glod game tutorial.

(LoadTexture "GlodImages/Character1_Jumping_Left.png") = .character-jumping-left (LoadTexture "GlodImages/Character1_Jumping_Right.png") = .character-jumping-right

3 (-> .character-direction (Match [0 (-> .character-jumping-left (UI.Image :Scale (float2 0.2))) 1 (-> .character-jumping-right (UI.Image :Scale (float2 0.2)))] :Passthrough false))