7-9-25 6:00pm7-9-25 6:00pm7-9-25 6:00pm7-9-25 6:00pm7-9-25 6:00pm7-9-25
6:00pm7-9-25 6:00pm7-9-25 6:00pm7-9-25 6:00pm
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
[gd_scene load_steps=12 format=3 uid="uid://c8n4lue2bn25n"]
|
||||
[gd_scene load_steps=9 format=3 uid="uid://c8n4lue2bn25n"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b1bipn8tmpggr" path="res://Gameplay/Marble.cs" id="1_7ritg"]
|
||||
[ext_resource type="Shader" uid="uid://b6vvt5o0008ob" path="res://shaders/globe.gdshader" id="2_6v01e"]
|
||||
[ext_resource type="Texture2D" uid="uid://bigvacjklr7in" path="res://art/playerGrey_up1.png" id="2_76m5q"]
|
||||
[ext_resource type="Texture2D" uid="uid://bskloxogmm7ox" path="res://art/playerGrey_up2.png" id="3_4rms2"]
|
||||
[ext_resource type="Texture2D" uid="uid://dkduh13hcei0w" path="res://art/fruit.png" id="3_6v01e"]
|
||||
[ext_resource type="Texture2D" uid="uid://cww2tug20ksn3" path="res://art/playerGrey_walk1.png" id="4_iy80h"]
|
||||
[ext_resource type="Texture2D" uid="uid://csm4ru8wkc2cb" path="res://art/playerGrey_walk2.png" id="5_ryns1"]
|
||||
[ext_resource type="Texture2D" uid="uid://dd3s6x86dgxem" path="res://art/checkerboard.png" id="3_o5glk"]
|
||||
[ext_resource type="Texture2D" uid="uid://duy62uv828xcg" path="res://art/shadow.png" id="4_803qd"]
|
||||
[ext_resource type="Texture2D" uid="uid://c4jron4g4jalp" path="res://art/shine.png" id="5_fkve3"]
|
||||
|
||||
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_803qd"]
|
||||
bounce = 1.0
|
||||
@@ -18,33 +16,8 @@ shader_parameter/scroll_x = 0.0
|
||||
shader_parameter/scroll_y = 0.0
|
||||
shader_parameter/globe_magnitude = 1.0
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_n7ghd"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_76m5q")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("3_4rms2")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"up",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("4_iy80h")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("5_ryns1")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"walk",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_803qd"]
|
||||
radius = 56.0803
|
||||
radius = 60.0
|
||||
|
||||
[node name="Marble" type="RigidBody2D"]
|
||||
input_pickable = true
|
||||
@@ -53,24 +26,27 @@ physics_material_override = SubResource("PhysicsMaterial_803qd")
|
||||
gravity_scale = 0.0
|
||||
contact_monitor = true
|
||||
max_contacts_reported = 1
|
||||
linear_damp = 3.0
|
||||
linear_damp = 2.0
|
||||
script = ExtResource("1_7ritg")
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
[node name="Texture" type="Sprite2D" parent="."]
|
||||
material = SubResource("ShaderMaterial_bdlqm")
|
||||
position = Vector2(0, 1.3113e-06)
|
||||
scale = Vector2(0.0861539, 0.0861539)
|
||||
texture = ExtResource("3_6v01e")
|
||||
scale = Vector2(1.2, 1.2)
|
||||
texture = ExtResource("3_o5glk")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
visible = false
|
||||
position = Vector2(0, 7)
|
||||
scale = Vector2(0.5, 0.5)
|
||||
sprite_frames = SubResource("SpriteFrames_n7ghd")
|
||||
animation = &"walk"
|
||||
[node name="Shadow" type="Sprite2D" parent="Texture"]
|
||||
position = Vector2(0, -1.1708e-06)
|
||||
scale = Vector2(0.390625, 0.390625)
|
||||
texture = ExtResource("4_803qd")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
[node name="Shine" type="Sprite2D" parent="Texture"]
|
||||
position = Vector2(0, -1.1708e-06)
|
||||
scale = Vector2(0.3976, 0.3976)
|
||||
texture = ExtResource("5_fkve3")
|
||||
|
||||
[node name="Bounds" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_803qd")
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="OnBodyEntered"]
|
||||
|
||||
Reference in New Issue
Block a user