Differences

This shows you the differences between two versions of the page.

Link to this comparison view

kuckucksmuehle:events:rotation_angle [2018/07/23 14:31] (current)
julius_kingsman created
Line 1: Line 1:
 +====== Calliope coding rotation angle ====== 
 +let RotationWinkel = 0 
 +basic.forever(() => { 
 +    RotationWinkel = input.rotation(Rotation.Pitch) 
 +    if (RotationWinkel > 45) { 
 +        basic.showIcon(IconNames.Sword) 
 +    } else { 
 +        basic.showIcon(IconNames.Yes) 
 +    } 
 +})
  • kuckucksmuehle/events/rotation_angle.txt
  • Last modified: 2018/07/23 14:31
  • by julius_kingsman