feat: Introduce 'Stop N Go' arena with new grass assets and a comprehensive player movement manager script.
This commit is contained in:
Binary file not shown.
+4
-4
@@ -3,13 +3,13 @@
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://cb1atdpit37w"
|
||||
path="res://.godot/imported/Grass only.glb-cc0d20fc21bd6e30d38e530c4cdf5b79.scn"
|
||||
uid="uid://eloon3kyu7wo"
|
||||
path="res://.godot/imported/grass.glb-acb590303f57f9258c1d441d56f333b6.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/models/arena/stop_n_go/Grass only.glb"
|
||||
dest_files=["res://.godot/imported/Grass only.glb-cc0d20fc21bd6e30d38e530c4cdf5b79.scn"]
|
||||
source_file="res://assets/models/arena/stop_n_go/grass.glb"
|
||||
dest_files=["res://.godot/imported/grass.glb-acb590303f57f9258c1d441d56f333b6.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 4.2 MiB After Width: | Height: | Size: 4.1 MiB |
@@ -0,0 +1,44 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://brqobh4ow6jqn"
|
||||
path.s3tc="res://.godot/imported/grass_Terrain ground tex.png-3ef293a6cac61450f4105070b9b71c54.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "a184576b3eca9e728a947f07525a1557"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/models/arena/stop_n_go/grass_Terrain ground tex.png"
|
||||
dest_files=["res://.godot/imported/grass_Terrain ground tex.png-3ef293a6cac61450f4105070b9b71c54.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
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=true
|
||||
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=0
|
||||
Binary file not shown.
@@ -99,10 +99,11 @@ func simple_move_to(grid_position: Vector2i) -> bool:
|
||||
Vector2i(0,2), Vector2i(1,2), Vector2i(2,2), Vector2i(3,2),
|
||||
Vector2i(17,9), Vector2i(18,9), Vector2i(19,9), Vector2i(20,9), Vector2i(21,9), Vector2i(22,9),
|
||||
Vector2i(11,10), Vector2i(12,10), Vector2i(13,10), Vector2i(15,10), Vector2i(16,10), Vector2i(17,10), Vector2i(18,10), Vector2i(19,10), Vector2i(20,10), Vector2i(21,10), Vector2i(22,10),
|
||||
Vector2i(0,11), Vector2i(4,11), Vector2i(5,11), Vector2i(6,11), Vector2i(10,11), Vector2i(12,11), Vector2i(13,11), Vector2i(14,11), Vector2i(15,11), Vector2i(16,11), Vector2i(17,11), Vector2i(18,11), Vector2i(19,11), Vector2i(20,11), Vector2i(21,11), Vector2i(22,11)
|
||||
Vector2i(0,11), Vector2i(4,11), Vector2i(5,11), Vector2i(6,11), Vector2i(9,11), Vector2i(10,11), Vector2i(11,11), Vector2i(12,11), Vector2i(13,11), Vector2i(14,11), Vector2i(15,11), Vector2i(16,11), Vector2i(17,11), Vector2i(18,11), Vector2i(19,11), Vector2i(20,11), Vector2i(21,11), Vector2i(22,11)
|
||||
]
|
||||
if grid_position in impenetrable_coords:
|
||||
is_wall_passable = false
|
||||
print("[MovementManager] Hard block at %s. Ghost pass denied." % grid_position)
|
||||
|
||||
# Check Floor 0 (Basic Walkability/Void)
|
||||
if (cell_floor == -1 or cell_floor in enhanced_gridmap.non_walkable_items) and not is_wall_passable:
|
||||
|
||||
Reference in New Issue
Block a user