30 lines
1.1 KiB
Text
30 lines
1.1 KiB
Text
[gd_scene load_steps=7 format=3 uid="uid://jjoyj1ldafkf"]
|
|
|
|
[ext_resource type="Script" uid="uid://vgxh2xdevat7" path="res://world/earth.gd" id="1_wxnww"]
|
|
[ext_resource type="PackedScene" uid="uid://xrbh432lrjge" path="res://world/grass.tscn" id="2_abvrx"]
|
|
[ext_resource type="Shader" path="res://world/earth.gdshader" id="3_640fc"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_5i67w"]
|
|
radius = 3000.0
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_abvrx"]
|
|
shader = ExtResource("3_640fc")
|
|
shader_parameter/color = Color(0, 0, 0, 1)
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_ej0af"]
|
|
|
|
[node name="Earth" type="Node2D"]
|
|
script = ExtResource("1_wxnww")
|
|
grass = ExtResource("2_abvrx")
|
|
|
|
[node name="Ground" type="StaticBody2D" parent="."]
|
|
collision_layer = 41
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Ground"]
|
|
shape = SubResource("CircleShape2D_5i67w")
|
|
|
|
[node name="MeshInstance2D" type="MeshInstance2D" parent="Ground"]
|
|
z_index = 3
|
|
material = SubResource("ShaderMaterial_abvrx")
|
|
scale = Vector2(6000, 6000)
|
|
mesh = SubResource("QuadMesh_ej0af")
|