This commit is contained in:
megamichi 2024-10-01 15:56:30 +02:00
commit 80f2563cdc
95 changed files with 3327 additions and 0 deletions

View file

@ -0,0 +1,9 @@
extends Marker2D
func _spawn() -> void:
var easteregg = preload("res://scenes/easteregg/easteregg.tscn").instantiate()
add_child(easteregg)
func del_all():
for child in get_children():
child.queue_free()

View file

@ -0,0 +1,12 @@
extends RigidBody2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
$Sprite.frame = randi_range(0,4)
position.x += randi_range(-10,10)
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass

View file

@ -0,0 +1,22 @@
[gd_scene load_steps=4 format=3 uid="uid://co76l7v0x2t8t"]
[ext_resource type="Script" path="res://scenes/easteregg/easteregg.gd" id="1_3dnpr"]
[ext_resource type="Texture2D" uid="uid://bp48x77dixrme" path="res://scenes/hindernis/hindernisse.png" id="1_al4up"]
[sub_resource type="CircleShape2D" id="CircleShape2D_ruej1"]
radius = 8.06226
[node name="RigidBody2D" type="RigidBody2D"]
script = ExtResource("1_3dnpr")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, -7)
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)
hframes = 5
frame = 3