Initial commit
This commit is contained in:
52
objects/animatedAuthorsText.tscn
Normal file
52
objects/animatedAuthorsText.tscn
Normal file
@ -0,0 +1,52 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://fonts/pixel.tres" type="DynamicFont" id=1]
|
||||
[ext_resource path="res://scripts/animatedAuthorsTextAnim.gd" type="Script" id=2]
|
||||
|
||||
[sub_resource type="Animation" id=1]
|
||||
resource_name = "idle"
|
||||
length = 3.0
|
||||
loop = true
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("CanvasLayer/Label:rect_rotation")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0, 1.5, 3 ),
|
||||
"transitions": PoolRealArray( 1, 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ 13.8, 51.2, 13.8 ]
|
||||
}
|
||||
|
||||
[node name="animatedAuthorsText" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
script = ExtResource( 2 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
layer = 3
|
||||
|
||||
[node name="Label" type="Label" parent="CanvasLayer"]
|
||||
anchor_left = 1.0
|
||||
anchor_top = 0.5
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.5
|
||||
margin_left = -232.706
|
||||
margin_top = 117.64
|
||||
margin_right = -5.70618
|
||||
margin_bottom = 144.64
|
||||
rect_rotation = 13.8
|
||||
custom_fonts/font = ExtResource( 1 )
|
||||
text = "Об Авторах UwU"
|
||||
align = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="anim" type="AnimationPlayer" parent="."]
|
||||
anims/idle = SubResource( 1 )
|
55
objects/dog.tscn
Normal file
55
objects/dog.tscn
Normal file
@ -0,0 +1,55 @@
|
||||
[gd_scene load_steps=8 format=2]
|
||||
|
||||
[ext_resource path="res://sprites/dog1.png" type="Texture" id=1]
|
||||
[ext_resource path="res://sprites/dog2.png" type="Texture" id=2]
|
||||
[ext_resource path="res://sprites/cloud.png" type="Texture" id=3]
|
||||
[ext_resource path="res://scripts/dog.gd" type="Script" id=4]
|
||||
[ext_resource path="res://scripts/dogBtn.gd" type="Script" id=5]
|
||||
|
||||
[sub_resource type="SpriteFrames" id=1]
|
||||
animations = [ {
|
||||
"frames": [ ExtResource( 1 ), ExtResource( 2 ) ],
|
||||
"loop": true,
|
||||
"name": "default",
|
||||
"speed": 5.0
|
||||
} ]
|
||||
|
||||
[sub_resource type="Animation" id=2]
|
||||
resource_name = "idle"
|
||||
length = 3.0
|
||||
loop = true
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("cloud:position")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0, 1.5, 3 ),
|
||||
"transitions": PoolRealArray( 1, 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ Vector2( 0, 0 ), Vector2( 5, 0 ), Vector2( 0, 0 ) ]
|
||||
}
|
||||
|
||||
[node name="dog" type="Node2D"]
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="cloud" type="Sprite" parent="."]
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="tail" type="AnimatedSprite" parent="cloud"]
|
||||
position = Vector2( -0.0646362, -9.76372 )
|
||||
frames = SubResource( 1 )
|
||||
|
||||
[node name="btn" type="TextureButton" parent="cloud"]
|
||||
margin_left = -31.0167
|
||||
margin_top = -25.7713
|
||||
margin_right = 31.9833
|
||||
margin_bottom = 14.2287
|
||||
script = ExtResource( 5 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="anim" type="AnimationPlayer" parent="."]
|
||||
anims/idle = SubResource( 2 )
|
30
objects/sun.tscn
Normal file
30
objects/sun.tscn
Normal file
@ -0,0 +1,30 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://sprites/sun.png" type="Texture" id=1]
|
||||
[ext_resource path="res://scripts/sunAnim.gd" type="Script" id=2]
|
||||
|
||||
[sub_resource type="Animation" id=1]
|
||||
resource_name = "idle"
|
||||
length = 3.0
|
||||
loop = true
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("sun:scale")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0, 1.5, 3 ),
|
||||
"transitions": PoolRealArray( 1, 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ Vector2( 1, 1 ), Vector2( 1.5, 1.5 ), Vector2( 1, 1 ) ]
|
||||
}
|
||||
|
||||
[node name="sun" type="Node2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="sun" type="Sprite" parent="."]
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="anim" type="AnimationPlayer" parent="."]
|
||||
anims/idle = SubResource( 1 )
|
Reference in New Issue
Block a user