mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 06:09:46 +03:00
This leads to code that is easier to understand and runs faster thanks to GDScript's typed instructions. The untyped declaration warning is now enabled on all projects where type hints were added. All projects currently run without any untyped declration warnings. Dodge the Creeps and Squash the Creeps demos intentionally don't use type hints to match the documentation, where type hints haven't been adopted yet (given its beginner focus).
21 lines
721 B
Plaintext
21 lines
721 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://dlap00bmh07ai"]
|
|
|
|
[ext_resource type="Script" path="res://addons/main_screen/handled_by_main_screen.gd" id="1"]
|
|
[ext_resource type="Script" path="res://addons/custom_node/heart.gd" id="2"]
|
|
|
|
[sub_resource type="BoxMesh" id="1"]
|
|
|
|
[node name="TestScene" type="Node"]
|
|
|
|
[node name="Heart" type="Node2D" parent="."]
|
|
script = ExtResource("2")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
mesh = SubResource("1")
|
|
|
|
[node name="HandledByMainScreen" type="Node" parent="."]
|
|
script = ExtResource("1")
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
|
transform = Transform3D(0.866025, -0.433013, 0.25, 0, 0.5, 0.866025, -0.5, -0.75, 0.433013, 0, 0, 0)
|