The textures are now 128x128. Also smaller tweaks.
@ -46,7 +46,7 @@ texture = ExtResource( 6 )
|
|||||||
slots = [ null, SubResource( 1 ), null, null, null, null, null, null, null, null, null, null, null, null, SubResource( 2 ), null ]
|
slots = [ null, SubResource( 1 ), null, null, null, null, null, null, null, null, null, null, null, null, SubResource( 2 ), null ]
|
||||||
|
|
||||||
[node name="Character" type="CharacterSkeleton2D"]
|
[node name="Character" type="CharacterSkeleton2D"]
|
||||||
modulate = Color( 0.745098, 0.745098, 0.745098, 1 )
|
modulate = Color( 0.929412, 0.929412, 0.929412, 1 )
|
||||||
entity_type = 1
|
entity_type = 1
|
||||||
attach_point_paths/0_left_hand = NodePath("")
|
attach_point_paths/0_left_hand = NodePath("")
|
||||||
attach_point_paths/1_right_hand = NodePath("")
|
attach_point_paths/1_right_hand = NodePath("")
|
||||||
|
@ -75,7 +75,7 @@ func _create_chunk(x, y, chunk):
|
|||||||
var pj : Terrain2DProp2DJob = Terrain2DProp2DJob.new()
|
var pj : Terrain2DProp2DJob = Terrain2DProp2DJob.new()
|
||||||
|
|
||||||
var mesher : Terrain2DMesherBlocky = Terrain2DMesherBlocky.new()
|
var mesher : Terrain2DMesherBlocky = Terrain2DMesherBlocky.new()
|
||||||
mesher.texture_scale = 8
|
mesher.texture_scale = 4
|
||||||
|
|
||||||
tj.set_mesher(mesher)
|
tj.set_mesher(mesher)
|
||||||
|
|
||||||
|
@ -5,4 +5,4 @@ extends Terrain2DLevelGenerator
|
|||||||
func _generate_chunk(chunk : Terrain2DChunk):
|
func _generate_chunk(chunk : Terrain2DChunk):
|
||||||
chunk.channel_ensure_allocated(Terrain2DChunkDefault.DEFAULT_CHANNEL_TYPE, 1)
|
chunk.channel_ensure_allocated(Terrain2DChunkDefault.DEFAULT_CHANNEL_TYPE, 1)
|
||||||
|
|
||||||
#chunk.set_voxel(2, 1, 1, Terrain2DChunkDefault.DEFAULT_CHANNEL_TYPE)
|
chunk.set_voxel(2, 0, 0, Terrain2DChunkDefault.DEFAULT_CHANNEL_TYPE)
|
||||||
|
@ -23,4 +23,5 @@ texture = ExtResource( 3 )
|
|||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
texture_flags = 0
|
texture_flags = 0
|
||||||
|
max_atlas_size = 2048
|
||||||
terra_surfaces = [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ) ]
|
terra_surfaces = [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ) ]
|
||||||
|
@ -312,7 +312,6 @@ default_float = 0.0
|
|||||||
default_vector2 = Vector2( 0, 0 )
|
default_vector2 = Vector2( 0, 0 )
|
||||||
default_vector3 = Vector3( 0, 0, 0 )
|
default_vector3 = Vector3( 0, 0, 0 )
|
||||||
default_color = Color( 0, 0, 0, 1 )
|
default_color = Color( 0, 0, 0, 1 )
|
||||||
input_property = SubResource( 27 )
|
|
||||||
|
|
||||||
[sub_resource type="Resource" id=33]
|
[sub_resource type="Resource" id=33]
|
||||||
script = ExtResource( 5 )
|
script = ExtResource( 5 )
|
||||||
@ -322,5 +321,5 @@ postfix = "_albedo"
|
|||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
image_size = Vector2( 256, 256 )
|
image_size = Vector2( 128, 128 )
|
||||||
nodes = [ SubResource( 11 ), SubResource( 14 ), SubResource( 19 ), SubResource( 21 ), SubResource( 24 ), SubResource( 26 ), SubResource( 31 ), SubResource( 33 ) ]
|
nodes = [ SubResource( 11 ), SubResource( 14 ), SubResource( 19 ), SubResource( 21 ), SubResource( 24 ), SubResource( 26 ), SubResource( 31 ), SubResource( 33 ) ]
|
||||||
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 21 KiB |
@ -387,21 +387,6 @@ points = PoolRealArray( 0, 0, 0, 0, 0, 0.59322, 0, 0, 0, 0, 0.635593, 0.0823529,
|
|||||||
image = SubResource( 23 )
|
image = SubResource( 23 )
|
||||||
input = SubResource( 43 )
|
input = SubResource( 43 )
|
||||||
|
|
||||||
[sub_resource type="Resource" id=53]
|
|
||||||
script = ExtResource( 2 )
|
|
||||||
default_type = 5
|
|
||||||
default_int = 0
|
|
||||||
default_float = 0.0
|
|
||||||
default_vector2 = Vector2( 0, 0 )
|
|
||||||
default_vector3 = Vector3( 0, 0, 0 )
|
|
||||||
default_color = Color( 0, 0, 0, 1 )
|
|
||||||
|
|
||||||
[sub_resource type="Resource" id=38]
|
|
||||||
script = ExtResource( 7 )
|
|
||||||
graph_position = Vector2( 980, 540 )
|
|
||||||
image = SubResource( 53 )
|
|
||||||
postfix = "_albedo"
|
|
||||||
|
|
||||||
[sub_resource type="Resource" id=45]
|
[sub_resource type="Resource" id=45]
|
||||||
script = ExtResource( 2 )
|
script = ExtResource( 2 )
|
||||||
default_type = 5
|
default_type = 5
|
||||||
@ -411,6 +396,22 @@ default_vector2 = Vector2( 0, 0 )
|
|||||||
default_vector3 = Vector3( 0, 0, 0 )
|
default_vector3 = Vector3( 0, 0, 0 )
|
||||||
default_color = Color( 0, 0, 0, 1 )
|
default_color = Color( 0, 0, 0, 1 )
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id=53]
|
||||||
|
script = ExtResource( 2 )
|
||||||
|
default_type = 5
|
||||||
|
default_int = 0
|
||||||
|
default_float = 0.0
|
||||||
|
default_vector2 = Vector2( 0, 0 )
|
||||||
|
default_vector3 = Vector3( 0, 0, 0 )
|
||||||
|
default_color = Color( 0, 0, 0, 1 )
|
||||||
|
input_property = SubResource( 45 )
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id=38]
|
||||||
|
script = ExtResource( 7 )
|
||||||
|
graph_position = Vector2( 1000, 540 )
|
||||||
|
image = SubResource( 53 )
|
||||||
|
postfix = "_albedo"
|
||||||
|
|
||||||
[sub_resource type="Resource" id=49]
|
[sub_resource type="Resource" id=49]
|
||||||
script = ExtResource( 2 )
|
script = ExtResource( 2 )
|
||||||
default_type = 5
|
default_type = 5
|
||||||
@ -466,5 +467,5 @@ channel = 3
|
|||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
image_size = Vector2( 256, 256 )
|
image_size = Vector2( 128, 128 )
|
||||||
nodes = [ SubResource( 2 ), SubResource( 4 ), SubResource( 7 ), SubResource( 9 ), SubResource( 11 ), SubResource( 13 ), SubResource( 18 ), SubResource( 26 ), SubResource( 28 ), SubResource( 33 ), SubResource( 34 ), SubResource( 35 ), SubResource( 36 ), SubResource( 38 ), SubResource( 47 ), SubResource( 52 ) ]
|
nodes = [ SubResource( 2 ), SubResource( 4 ), SubResource( 7 ), SubResource( 9 ), SubResource( 11 ), SubResource( 13 ), SubResource( 18 ), SubResource( 26 ), SubResource( 28 ), SubResource( 33 ), SubResource( 34 ), SubResource( 35 ), SubResource( 36 ), SubResource( 38 ), SubResource( 47 ), SubResource( 52 ) ]
|
||||||
|
Before Width: | Height: | Size: 112 KiB After Width: | Height: | Size: 31 KiB |
@ -250,7 +250,7 @@ default_vector2 = Vector2( 0, 0 )
|
|||||||
default_vector3 = Vector3( 0, 0, 0 )
|
default_vector3 = Vector3( 0, 0, 0 )
|
||||||
default_color = Color( 0, 0, 0, 1 )
|
default_color = Color( 0, 0, 0, 1 )
|
||||||
|
|
||||||
[sub_resource type="Resource" id=26]
|
[sub_resource type="Resource" id=31]
|
||||||
script = ExtResource( 3 )
|
script = ExtResource( 3 )
|
||||||
default_type = 5
|
default_type = 5
|
||||||
default_int = 0
|
default_int = 0
|
||||||
@ -263,7 +263,7 @@ input_property = SubResource( 28 )
|
|||||||
[sub_resource type="Resource" id=27]
|
[sub_resource type="Resource" id=27]
|
||||||
script = ExtResource( 8 )
|
script = ExtResource( 8 )
|
||||||
graph_position = Vector2( 900, 340 )
|
graph_position = Vector2( 900, 340 )
|
||||||
image = SubResource( 26 )
|
image = SubResource( 31 )
|
||||||
postfix = "_albedo"
|
postfix = "_albedo"
|
||||||
|
|
||||||
[sub_resource type="Resource" id=29]
|
[sub_resource type="Resource" id=29]
|
||||||
@ -285,5 +285,5 @@ width = 0.1
|
|||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
image_size = Vector2( 256, 256 )
|
image_size = Vector2( 128, 128 )
|
||||||
nodes = [ SubResource( 5 ), SubResource( 7 ), SubResource( 10 ), SubResource( 13 ), SubResource( 18 ), SubResource( 20 ), SubResource( 25 ), SubResource( 27 ), SubResource( 30 ) ]
|
nodes = [ SubResource( 5 ), SubResource( 7 ), SubResource( 10 ), SubResource( 13 ), SubResource( 18 ), SubResource( 20 ), SubResource( 25 ), SubResource( 27 ), SubResource( 30 ) ]
|
||||||
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 23 KiB |
@ -19,7 +19,7 @@ compress/lossy_quality=0.7
|
|||||||
compress/hdr_mode=0
|
compress/hdr_mode=0
|
||||||
compress/bptc_ldr=0
|
compress/bptc_ldr=0
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
flags/repeat=1
|
flags/repeat=0
|
||||||
flags/filter=false
|
flags/filter=false
|
||||||
flags/mipmaps=false
|
flags/mipmaps=false
|
||||||
flags/anisotropic=false
|
flags/anisotropic=false
|
||||||
|
@ -258,6 +258,7 @@ default_float = 0.0
|
|||||||
default_vector2 = Vector2( 0, 0 )
|
default_vector2 = Vector2( 0, 0 )
|
||||||
default_vector3 = Vector3( 0, 0, 0 )
|
default_vector3 = Vector3( 0, 0, 0 )
|
||||||
default_color = Color( 0, 0, 0, 1 )
|
default_color = Color( 0, 0, 0, 1 )
|
||||||
|
input_property = SubResource( 21 )
|
||||||
|
|
||||||
[sub_resource type="Resource" id=27]
|
[sub_resource type="Resource" id=27]
|
||||||
script = ExtResource( 8 )
|
script = ExtResource( 8 )
|
||||||
@ -284,5 +285,5 @@ width = 0.01
|
|||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
image_size = Vector2( 256, 256 )
|
image_size = Vector2( 128, 128 )
|
||||||
nodes = [ SubResource( 5 ), SubResource( 7 ), SubResource( 10 ), SubResource( 13 ), SubResource( 18 ), SubResource( 20 ), SubResource( 25 ), SubResource( 27 ), SubResource( 30 ) ]
|
nodes = [ SubResource( 5 ), SubResource( 7 ), SubResource( 10 ), SubResource( 13 ), SubResource( 18 ), SubResource( 20 ), SubResource( 25 ), SubResource( 27 ), SubResource( 30 ) ]
|
||||||
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 23 KiB |
@ -176,7 +176,7 @@ points = PoolRealArray( 0, 0, 0, 0, 1, 0.0911017, 0, 0, 0, 1, 0.472458, 0.129412
|
|||||||
image = SubResource( 16 )
|
image = SubResource( 16 )
|
||||||
input = SubResource( 17 )
|
input = SubResource( 17 )
|
||||||
|
|
||||||
[sub_resource type="Resource" id=19]
|
[sub_resource type="Resource" id=21]
|
||||||
script = ExtResource( 2 )
|
script = ExtResource( 2 )
|
||||||
default_type = 5
|
default_type = 5
|
||||||
default_int = 0
|
default_int = 0
|
||||||
@ -184,15 +184,14 @@ default_float = 0.0
|
|||||||
default_vector2 = Vector2( 0, 0 )
|
default_vector2 = Vector2( 0, 0 )
|
||||||
default_vector3 = Vector3( 0, 0, 0 )
|
default_vector3 = Vector3( 0, 0, 0 )
|
||||||
default_color = Color( 0, 0, 0, 1 )
|
default_color = Color( 0, 0, 0, 1 )
|
||||||
input_property = SubResource( 16 )
|
|
||||||
|
|
||||||
[sub_resource type="Resource" id=20]
|
[sub_resource type="Resource" id=20]
|
||||||
script = ExtResource( 4 )
|
script = ExtResource( 4 )
|
||||||
graph_position = Vector2( 1120, 100 )
|
graph_position = Vector2( 1120, 100 )
|
||||||
image = SubResource( 19 )
|
image = SubResource( 21 )
|
||||||
postfix = "_albedo"
|
postfix = "_albedo"
|
||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
image_size = Vector2( 256, 256 )
|
image_size = Vector2( 128, 128 )
|
||||||
nodes = [ SubResource( 5 ), SubResource( 7 ), SubResource( 10 ), SubResource( 15 ), SubResource( 18 ), SubResource( 20 ) ]
|
nodes = [ SubResource( 5 ), SubResource( 7 ), SubResource( 10 ), SubResource( 15 ), SubResource( 18 ), SubResource( 20 ) ]
|
||||||
|
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 24 KiB |
@ -259,5 +259,5 @@ opacity = SubResource( 26 )
|
|||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
image_size = Vector2( 256, 256 )
|
image_size = Vector2( 128, 128 )
|
||||||
nodes = [ SubResource( 5 ), SubResource( 8 ), SubResource( 13 ), SubResource( 15 ), SubResource( 17 ), SubResource( 20 ), SubResource( 22 ), SubResource( 27 ) ]
|
nodes = [ SubResource( 5 ), SubResource( 8 ), SubResource( 13 ), SubResource( 15 ), SubResource( 17 ), SubResource( 20 ), SubResource( 22 ), SubResource( 27 ) ]
|
||||||
|
Before Width: | Height: | Size: 121 KiB After Width: | Height: | Size: 33 KiB |