User Tools

Site Tools


en:examples:objects:object_with_shadow

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:examples:objects:object_with_shadow [2018/02/13 20:47 (7 years ago)] – ↷ Page moved from examples:objects:object_with_shadow to en:examples:objects:object_with_shadow iarwainen:examples:objects:object_with_shadow [2020/08/19 19:45 (5 years ago)] (current) – ↷ Links adapted because of a move operation sausage
Line 16: Line 16:
 <code=ini> <code=ini>
 [CannonObject] [CannonObject]
-Graphic = CannonGraphic +Graphic         = CannonGraphic 
-Smoothing = true +Smoothing       = true 
-Position = (300200, -0.1) +Position        = (-80-80, -0.1) 
-Rotation -45 +AngularVelocity 100 
-ChildList = CannonShadow+ChildList       = CannonShadow
  
 [CannonGraphic] [CannonGraphic]
 Texture = cannon.png Texture = cannon.png
-Pivot = (18.5, 26, 0)+Pivot   = (18.5, 26, 0)
  
  
 [CannonShadow] [CannonShadow]
-Graphic = CannonShadowGraphic +Graphic          = CannonShadowGraphic 
-Position = (-20, 20, 0.0)+Position         = (-20, 20, 0)
 IgnoreFromParent = position.rotation IgnoreFromParent = position.rotation
  
-[CannonShadowGraphic@CannonGraphic]+[CannonShadowGraphic]
 Texture = cannon-shadow.png Texture = cannon-shadow.png
-Alpha = 0.5+Pivot   = (24, 33, 0) 
 +Alpha   = 0.5
 </code> </code>
  
 ===== Result ===== ===== Result =====
  
-{{ :examples:objects:shadows-result.png?direct |}}+{{ examples:objects:object-shadow-rotation-ignore.gif?direct |}}
en/examples/objects/object_with_shadow.1518583666.txt.gz · Last modified: 2018/02/14 00:47 (7 years ago) (external edit)