- improving textures
- adding coins (no shop jet) - adding skin changing [no gui jet - fixing loops for deleting stuff]
This commit is contained in:
parent
45193fc27f
commit
dd5b4bcae5
45 changed files with 547 additions and 382 deletions
|
@ -15,5 +15,3 @@ func _ready() -> void:
|
|||
func _process(delta: float) -> void:
|
||||
speed = $"/root/Global".speed
|
||||
global_position.x -= speed*delta
|
||||
if global_position.x < -30:
|
||||
queue_free()
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
radius = 5.0
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_r1tmj"]
|
||||
radius = 5.0
|
||||
radius = 6.0
|
||||
|
||||
[node name="hurdle" type="CharacterBody2D"]
|
||||
collision_layer = 3
|
||||
|
@ -16,17 +16,17 @@ script = ExtResource("1_e0hqe")
|
|||
|
||||
[node name="Sprite" type="Sprite2D" parent="."]
|
||||
texture_filter = 1
|
||||
position = Vector2(0, -8)
|
||||
position = Vector2(-8, -15)
|
||||
texture = ExtResource("2_thg8w")
|
||||
offset = Vector2(0, 0.5)
|
||||
centered = false
|
||||
hframes = 5
|
||||
vframes = 3
|
||||
frame = 14
|
||||
frame = 8
|
||||
region_enabled = true
|
||||
region_rect = Rect2(0, 0, 80, 48)
|
||||
|
||||
[node name="collision" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0, -7)
|
||||
position = Vector2(0, -5)
|
||||
shape = SubResource("CircleShape2D_orpyb")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="."]
|
||||
|
@ -35,5 +35,12 @@ collision_layer = 3
|
|||
collision_mask = 3
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||
position = Vector2(0, 1)
|
||||
shape = SubResource("CircleShape2D_r1tmj")
|
||||
debug_color = Color(0.906661, 0.254677, 0.42413, 0.42)
|
||||
|
||||
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]
|
||||
position = Vector2(3, -4)
|
||||
rect = Rect2(-10, -10, 14, 14)
|
||||
|
||||
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="queue_free"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue