|
@@ -10,12 +10,12 @@ The setup consists of three game objects. The *game.project* physics *GravityY*
|
|
|
block1
|
|
|
: The rectangular stone block. Contains:
|
|
|
- A *Sprite* component with the stone block image.
|
|
|
- - A *Collision object* component. The *Type* is set to `DYNAMIC`, *Friction* is set to 0 and *Restitution* to 1.0 (it will bounce forever). A box *Shape* matching the sprite image is added to the componens.
|
|
|
+ - A *Collision object* component. The *Type* is set to `DYNAMIC`, *Friction* is set to 0 and *Restitution* to 1.0 (it will bounce forever). A box *Shape* matching the sprite image is added to the components.
|
|
|
|
|
|
block2
|
|
|
: The square stone block. Contains:
|
|
|
- A *Sprite* component with the stone block image.
|
|
|
- - A *Collision object* component. Also has *Type* set to `DYNAMIC`, *Friction* set to 0 and *Restitution* to 1.0. A box *Shape* matching the sprite image is added to the componens.
|
|
|
+ - A *Collision object* component. Also has *Type* set to `DYNAMIC`, *Friction* set to 0 and *Restitution* to 1.0. A box *Shape* matching the sprite image is added to the components.
|
|
|
|
|
|
walls
|
|
|
: The outer walls. Contains:
|