- 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
|
@ -1,13 +1,5 @@
|
|||
extends RigidBody2D
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
$Sprite.frame = randi_range(0,12)
|
||||
position.x += randi_range(-10,10)
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
if global_position.y > 100:
|
||||
queue_free()
|
||||
|
|
|
@ -10,14 +10,20 @@ radius = 8.06226
|
|||
script = ExtResource("1_3dnpr")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0, -7)
|
||||
position = Vector2(8, 9)
|
||||
shape = SubResource("CircleShape2D_ruej1")
|
||||
|
||||
[node name="Sprite" type="Sprite2D" parent="."]
|
||||
texture_filter = 1
|
||||
position = Vector2(0, -7)
|
||||
texture = ExtResource("1_al4up")
|
||||
offset = Vector2(0, 0.5)
|
||||
centered = false
|
||||
hframes = 5
|
||||
vframes = 3
|
||||
frame = 3
|
||||
frame = 1
|
||||
|
||||
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]
|
||||
position = Vector2(1, 1)
|
||||
rect = Rect2(0, 0, 14, 14)
|
||||
|
||||
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="queue_free"]
|
||||
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="_screen_exited"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue