Skip to content

Commit

Permalink
refactor: add camera and basic block to template scene, rename to tem…
Browse files Browse the repository at this point in the history
…plate_3d
  • Loading branch information
yusdacra committed Dec 5, 2024
1 parent 96a77bf commit 7b724d9
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 11 deletions.
1 change: 1 addition & 0 deletions export_presets.cfg.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://cgfs6oxgrtvwj
11 changes: 0 additions & 11 deletions scenes/_template.tscn

This file was deleted.

19 changes: 19 additions & 0 deletions scenes/_template_3d.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[gd_scene load_steps=4 format=3 uid="uid://dak86l5834eg3"]

[ext_resource type="PackedScene" uid="uid://droifn8aosut4" path="res://scenes/_defaults/world_environment.tscn" id="1_n6yhb"]
[ext_resource type="PackedScene" uid="uid://m5hac26rq77e" path="res://scenes/_defaults/sun.tscn" id="2_m8odj"]
[ext_resource type="PackedScene" uid="uid://dj26sacnhty4r" path="res://addons/devblocks/blocks/basic_block.tscn" id="3_lewhs"]

[node name="Root" type="Node3D"]

[node name="WorldEnvironment" parent="." instance=ExtResource("1_n6yhb")]

[node name="Sun" parent="." instance=ExtResource("2_m8odj")]
transform = Transform3D(1, 0, 0, 0, 0.866025, 0.5, 0, -0.5, 0.866025, 0, 2, 2)

[node name="BasicBlock" parent="." instance=ExtResource("3_lewhs")]
transform = Transform3D(20, 0, 0, 0, 0.5, 0, 0, 0, 20, 0, 0, 0)
block_style = 6

[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 8)

0 comments on commit 7b724d9

Please sign in to comment.