Adding ramp

This commit is contained in:
yannk 2022-02-04 16:31:40 +01:00
parent 3df6c1d585
commit b52a1c2b26
5 changed files with 206 additions and 2 deletions

View file

@ -1,9 +1,10 @@
[gd_scene load_steps=11 format=3 uid="uid://cvdmfc2hi172g"]
[gd_scene load_steps=12 format=3 uid="uid://cvdmfc2hi172g"]
[ext_resource type="Material" uid="uid://cdijyqa881tvv" path="res://maps/simple_grid_world.material" id="1_h84bv"]
[ext_resource type="Material" uid="uid://jrlyuynpu62b" path="res://maps/simple_grid.material" id="1_ympm1"]
[ext_resource type="PackedScene" uid="uid://cccuku6opjnvy" path="res://maps/moutain.tscn" id="3_rbp35"]
[ext_resource type="PackedScene" uid="uid://bgoptxjkvk8cf" path="res://maps/cave.tscn" id="4_pc85h"]
[ext_resource type="PackedScene" uid="uid://c2ay2n3wnv4mr" path="res://maps/ramp.tscn" id="5_dfm8h"]
[sub_resource type="BoxMesh" id="BoxMesh_k23th"]
material = ExtResource( "1_h84bv" )
@ -199,5 +200,8 @@ shape = SubResource( "ConcavePolygonShape3D_y7uft" )
[node name="moutain" parent="." instance=ExtResource( "3_rbp35" )]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, -20.8694, -0.419849, -19.5951)
[node name="cave2" parent="." instance=ExtResource( "4_pc85h" )]
[node name="cave" parent="." instance=ExtResource( "4_pc85h" )]
transform = Transform3D(-0.344037, 0, 0.938956, 0, 1, 0, -0.938956, 0, -0.344037, 29.908, -0.141321, 29.4435)
[node name="ramp" parent="." instance=ExtResource( "5_dfm8h" )]
transform = Transform3D(-0.218552, 0, -0.975825, 0, 1, 0, 0.975825, 0, -0.218552, -27.5919, 0, 5.449)

163
maps/ramp.gltf Normal file

File diff suppressed because one or more lines are too long

28
maps/ramp.gltf.import Normal file
View file

@ -0,0 +1,28 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://budtp4buplhtl"
path="res://.godot/imported/ramp.gltf-758f2ea246d1af6700e4c9df5ec78bf9.scn"
[deps]
source_file="res://maps/ramp.gltf"
dest_files=["res://.godot/imported/ramp.gltf-758f2ea246d1af6700e4c9df5ec78bf9.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/root_scale=1.0
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.1
skins/use_named_skins=true
animation/import=true
animation/fps=30
import_script/path=""
_subresources={}

9
maps/ramp.tscn Normal file
View file

@ -0,0 +1,9 @@
[gd_scene load_steps=3 format=3 uid="uid://c2ay2n3wnv4mr"]
[ext_resource type="PackedScene" uid="uid://budtp4buplhtl" path="res://maps/ramp.gltf" id="1_pcnfk"]
[ext_resource type="Material" uid="uid://cdijyqa881tvv" path="res://maps/simple_grid_world.material" id="2_4pnrr"]
[node name="ramp" instance=ExtResource( "1_pcnfk" )]
[node name="ramp_section" parent="." index="0"]
material_override = ExtResource( "2_4pnrr" )

Binary file not shown.