diff options
author | IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com> | 2022-07-16 21:09:11 +0200 |
---|---|---|
committer | IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com> | 2022-07-16 21:09:11 +0200 |
commit | 9c061b9997d0add3298b1230426dd7332b91420f (patch) | |
tree | e26c6f23178e6dc3078ddc1948cd37180336e7d4 /godot/scenes | |
parent | 28e29e51e2c48868d0a75586ba3f8d73858342e3 (diff) | |
download | 2022-9c061b9997d0add3298b1230426dd7332b91420f.tar.gz 2022-9c061b9997d0add3298b1230426dd7332b91420f.tar.bz2 2022-9c061b9997d0add3298b1230426dd7332b91420f.zip |
goal post hitbox and level loader in gd script
Diffstat (limited to 'godot/scenes')
-rw-r--r-- | godot/scenes/Game.tscn | 52 |
1 files changed, 49 insertions, 3 deletions
diff --git a/godot/scenes/Game.tscn b/godot/scenes/Game.tscn index 641f17b..68704bb 100644 --- a/godot/scenes/Game.tscn +++ b/godot/scenes/Game.tscn @@ -1,3 +1,49 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fc9007950d7925a994a0292c4879f61a16d8ef7a01bc52bd38e6472489e80e3e -size 561 +[gd_scene load_steps=8 format=2] + +[ext_resource path="res://native/Game.gdns" type="Script" id=1] +[ext_resource path="res://scenes/levels/test_scene_uuuhhh/TestSceneUuuhhh.tscn" type="PackedScene" id=2] +[ext_resource path="res://scripts/LevelLoader.gd" type="Script" id=3] +[ext_resource path="res://scripts/GoalTriggerBox.gd" type="Script" id=4] + +[sub_resource type="BoxShape" id=1] + +[sub_resource type="CubeMesh" id=2] + +[sub_resource type="SphereMesh" id=3] + +[node name="Game" type="Spatial"] +script = ExtResource( 1 ) + +[node name="Camera" type="Camera" parent="."] +transform = Transform( -0.538224, 0.336461, -0.772728, 0, 0.916856, 0.399217, 0.842802, 0.214868, -0.493474, -6.58972, 3.31005, -7.31211 ) +current = true +fov = 64.6875 + +[node name="TestSceneUuuhhh" parent="." instance=ExtResource( 2 )] + +[node name="Area2" type="Area" parent="."] +transform = Transform( 10, 0, 0, 0, 10, 0, 0, 0, 10, 20, 0, 0 ) +script = ExtResource( 4 ) + +[node name="CollisionShape" type="CollisionShape" parent="Area2"] +shape = SubResource( 1 ) + +[node name="LevelLoader" type="Node" parent="."] +script = ExtResource( 3 ) + +[node name="Level1" type="Spatial" parent="."] + +[node name="MeshInstance" type="MeshInstance" parent="Level1"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.99199, 0 ) +mesh = SubResource( 2 ) +material/0 = null + +[node name="Level2" type="Spatial" parent="."] +visible = false + +[node name="MeshInstance" type="MeshInstance" parent="Level2"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.99549, 0 ) +mesh = SubResource( 3 ) +material/0 = null + +[connection signal="body_entered" from="Area2" to="Area2" method="_on_Area2_body_entered"] |