centered platform so movement is uniform
This commit is contained in:
parent
c9ce22b112
commit
5e1bffeb7b
2 changed files with 95 additions and 29 deletions
|
@ -11,13 +11,13 @@ motion/sync_to_physics = true
|
|||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( 4, 2 )
|
||||
position = Vector2( 0, 2 )
|
||||
texture = ExtResource( 1 )
|
||||
region_enabled = true
|
||||
region_rect = Rect2( 0, 0, 8, 4 )
|
||||
region_filter_clip = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2( 4, 2 )
|
||||
position = Vector2( 0, 2 )
|
||||
shape = SubResource( 1 )
|
||||
one_way_collision = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue