Implemented proper backgrund tilemap / tilestep

This commit is contained in:
Martin Opat 2025-12-21 14:24:45 +01:00
parent 1a532a5afb
commit 6662dc0c80
10 changed files with 155 additions and 22 deletions

View File

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

View File

@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://dnlrq8gxiix6"
path="res://.godot/imported/bg-far-placeholder.jpg-f6a73992ff3dd38240865e4558592bbf.ctex"
path="res://.godot/imported/bg-far-placeholder.jpg-01304d9c071eca65de57b4adc0479e81.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://molecular/assets/bg-far-placeholder.jpg"
dest_files=["res://.godot/imported/bg-far-placeholder.jpg-f6a73992ff3dd38240865e4558592bbf.ctex"]
source_file="res://molecular/assets/background/bg-far-placeholder.jpg"
dest_files=["res://.godot/imported/bg-far-placeholder.jpg-01304d9c071eca65de57b4adc0479e81.ctex"]
[params]

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 B

View File

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c3cuhrmulyy1s"
path="res://.godot/imported/bg-near.png-00577ad303726b65cb5579d462bbdf09.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://molecular/assets/background/bg-near.png"
dest_files=["res://.godot/imported/bg-near.png-00577ad303726b65cb5579d462bbdf09.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 960 B

View File

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bto1pnycvianp"
path="res://.godot/imported/bg.png-84a173f3a1de937d0ba2884af46d549b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://molecular/assets/background/bg.png"
dest_files=["res://.godot/imported/bg.png-84a173f3a1de937d0ba2884af46d549b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://bfjf6dxvbq5cj"
path="res://.godot/imported/dirt-specs.png-ba680203b0a1b1c73166838cd341279d.ctex"
path="res://.godot/imported/dirt-specs.png-ef6f8fd578fedf9d185ca3625a87c7c3.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://dirt-specs.png"
dest_files=["res://.godot/imported/dirt-specs.png-ba680203b0a1b1c73166838cd341279d.ctex"]
source_file="res://molecular/assets/background/dirt-specs.png"
dest_files=["res://.godot/imported/dirt-specs.png-ef6f8fd578fedf9d185ca3625a87c7c3.ctex"]
[params]

File diff suppressed because one or more lines are too long

View File

@ -46,3 +46,7 @@ move_down={
2d_render/layer_1="Player"
2d_render/layer_2="Prey"
[rendering]
textures/canvas_textures/default_texture_filter=0