-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathball.tscn
30 lines (23 loc) · 1.26 KB
/
ball.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[gd_scene load_steps=7 format=3 uid="uid://dg2hsvffr5y5p"]
[ext_resource type="Script" path="res://2d_physics_benchmark/ball.gd" id="1_g5mgu"]
[ext_resource type="Texture2D" uid="uid://b2yjwfm52qe6r" path="res://2d_physics_benchmark/assets/2d_ball.png" id="2_b36jb"]
[ext_resource type="Texture2D" uid="uid://dag23qy5y0w7u" path="res://2d_physics_benchmark/assets/2d_ball_normal.png" id="3_tppwy"]
[sub_resource type="Gradient" id="Gradient_xifmg"]
interpolation_mode = 1
offsets = PackedFloat32Array(0, 0.25, 0.497312, 0.75)
colors = PackedColorArray(0.0767036, 0.528899, 0.78049, 1, 1.05888e-06, 0.659443, 0.193608, 1, 0.983977, 0.754962, 0, 1, 1, 0.397751, 0.211049, 1)
[sub_resource type="CircleShape2D" id="5"]
[sub_resource type="CanvasTexture" id="CanvasTexture_olcjy"]
diffuse_texture = ExtResource("2_b36jb")
normal_texture = ExtResource("3_tppwy")
specular_color = Color(0.168627, 0.168627, 0.168627, 1)
specular_shininess = 0.5
[node name="Ball" type="RigidBody2D"]
script = ExtResource("1_g5mgu")
gradient = SubResource("Gradient_xifmg")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("5")
[node name="Sprite" type="Sprite2D" parent="."]
rotation = 1.5708
scale = Vector2(0.158569, 0.158569)
texture = SubResource("CanvasTexture_olcjy")