first commit

This commit is contained in:
pennyrigate 2022-12-07 02:00:47 -05:00
commit 096ebe5aa4
275 changed files with 3937 additions and 0 deletions

View file

@ -0,0 +1,53 @@
[gd_scene load_steps=11 format=2]
[ext_resource path="res://objects/collectibles/gold.gd" type="Script" id=1]
[ext_resource path="res://scripts/recolor_border.shader" type="Shader" id=2]
[ext_resource path="res://graphics/collectibles/coin.png" type="Texture" id=3]
[ext_resource path="res://graphics/collectibles/pal_penny.png" type="Texture" id=4]
[sub_resource type="ShaderMaterial" id=1]
shader = ExtResource( 2 )
shader_param/border_color = Color( 0, 0, 0, 1 )
shader_param/border_corners = false
shader_param/palette = ExtResource( 4 )
[sub_resource type="AtlasTexture" id=2]
atlas = ExtResource( 3 )
region = Rect2( 0, 0, 8, 8 )
[sub_resource type="AtlasTexture" id=3]
atlas = ExtResource( 3 )
region = Rect2( 8, 0, 8, 8 )
[sub_resource type="AtlasTexture" id=4]
atlas = ExtResource( 3 )
region = Rect2( 16, 0, 8, 8 )
[sub_resource type="SpriteFrames" id=5]
animations = [ {
"frames": [ SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 3 ) ],
"loop": true,
"name": "default",
"speed": 7.0
} ]
[sub_resource type="RectangleShape2D" id=6]
extents = Vector2( 4, 4 )
[node name="Gold" type="Node2D"]
script = ExtResource( 1 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
material = SubResource( 1 )
frames = SubResource( 5 )
frame = 1
playing = true
centered = false
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2( 4, 4 )
shape = SubResource( 6 )
[connection signal="area_entered" from="Area2D" to="." method="_on_Area2D_area_entered"]