Major changes to editor tools, and adding new layer for buildable towers

This commit is contained in:
Matt F 2026-05-01 10:50:03 -07:00
parent a4e28bc93f
commit b44eeaeeff
21 changed files with 2867 additions and 89 deletions

View file

@ -146,7 +146,7 @@ Transform:
m_GameObject: {fileID: 154690529}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -12, y: 0, z: 13}
m_LocalPosition: {x: -15.58, y: 0, z: 12.98}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@ -185,8 +185,58 @@ BoxCollider:
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 3
m_Size: {x: 28, y: 1, z: 7}
m_Size: {x: 35, y: 1, z: 7}
m_Center: {x: 0, y: 0, z: 0}
--- !u!1 &167151707
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 167151709}
- component: {fileID: 167151708}
m_Layer: 0
m_Name: LevelLoader
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &167151708
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 167151707}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a303b690faebb0e4e930d1714afa424e, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::TD.Gameplay.LevelLoader
level: {fileID: 11400000, guid: 9cc56fbc3ae460a4b862f8510fdf5f09, type: 2}
buildablePlaneLayerName: BuildablePlane
drawGridBounds: 1
drawWalkability: 1
drawBuildablePlane: 1
drawOwnerBorders: 1
--- !u!4 &167151709
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 167151707}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 24.6091, y: -0, z: -0.55913}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &239104687
GameObject:
m_ObjectHideFlags: 0
@ -286,7 +336,7 @@ Transform:
m_GameObject: {fileID: 304575571}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -29, y: 0, z: 13}
m_LocalPosition: {x: -30.03, y: 0, z: 13}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@ -623,11 +673,11 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::TD.Levels.LevelAuthoring
targetAsset: {fileID: 11400000, guid: 9cc56fbc3ae460a4b862f8510fdf5f09, type: 2}
mapName:
playerCount: 1
mapName: test_map
playerCount: 2
expectedGoalCount: 1
mapDescription:
author:
mapDescription: Test Map Description
author: Matt
alwaysShowPlayerZones: 1
alwaysShowSpawners: 1
alwaysShowLeakExits: 1
@ -641,7 +691,7 @@ Transform:
m_GameObject: {fileID: 441239879}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -35.58358, y: 0, z: -6.35952}
m_LocalPosition: {x: 32.91642, y: 0, z: -9.56}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
@ -799,7 +849,7 @@ Transform:
m_GameObject: {fileID: 1078485323}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 8, y: 0, z: 22}
m_LocalPosition: {x: 7.06, y: 0, z: 21.08}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@ -869,7 +919,7 @@ Transform:
m_GameObject: {fileID: 1360337262}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 33.5, y: 0, z: 13.5}
m_LocalPosition: {x: 33.16, y: 0, z: 12.58}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@ -1016,7 +1066,7 @@ Transform:
m_GameObject: {fileID: 1464027360}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -35, y: 0, z: 15}
m_LocalPosition: {x: 33.17, y: 0, z: 13.07}
m_LocalScale: {x: 7, y: 1, z: 3}
m_ConstrainProportionsScale: 0
m_Children: []
@ -1155,7 +1205,7 @@ Transform:
m_GameObject: {fileID: 1975687919}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 18, y: 0, z: 13}
m_LocalPosition: {x: 18, y: 0, z: 12.56}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@ -1207,3 +1257,4 @@ SceneRoots:
- {fileID: 239104690}
- {fileID: 441239881}
- {fileID: 1464027364}
- {fileID: 167151709}

View file

@ -12,20 +12,192 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 6d4e9c37b9205f3408a8225823f7a4da, type: 3}
m_Name: TestLevel
m_EditorClassIdentifier: Assembly-CSharp::TD.Levels.LevelData
MapName:
PlayerCount: 0
MapDescription:
Author:
MapThumbnail: {fileID: 0}
ScenePath:
AuthoringHash:
LastBakeTimestamp:
LastBakeOutcome: 0
LastBakeWarningCount: 0
MapName: test_map
PlayerCount: 2
MapDescription: Test Map Description
Author: Matt
MapThumbnail: {fileID: 21300000, guid: d2e652d3e1c53454d80d3c1ec7888998, type: 3}
ScenePath: Assets/_Project/Scenes/Levels/Main.unity
AuthoringHash: 521a1ef38caafd70be6e364f81e999f5da6c425332fe32933766854b8cfad413
LastBakeTimestamp: 2026-04-30T19:05:42.7013062Z
LastBakeOutcome: 1
LastBakeWarningCount: 1
GridOriginTile: {x: 0, y: 0}
GridSize: {x: 0, y: 0}
PlacementGrid:
WalkabilityGrid:
OwnerGrid:
PlayerZones: []
Goals: []
GridSize: {x: 68, y: 17}
PlacementGrid: 02020202020202010101010101010101010101010101010101010101010101010101010202010101010101010101010101010101010101010101010101010101010202020202020202020201010101010101010101010101010101010101010101010101010101020201010101010101010101010101010101010101010101010101010101020202020202020202020101010101010101010101010101010101010101010101010101010102020101010101010101010101010101010101010101010101010101010102020202020202020202010101010101010101010101010101010101010101010101010101010202010101010101010101010101010101010101010101010101010101010202020202020202020201010101010101010101010101010101010101010101010101010101020201010101010101010101010101010101010101010101010101010101020202020202020202020101010101010101010101010101010101010101010101010101010102020101010101010101010101010101010101010101010101010101010102020202020202020202010101010101010101010101010101010101010101010101010101010202010101010101010101010101010101010101010101010101010101010202020000000000000000000000000000000000000000000000000000000000000000000000000002020202020202000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000202020202020200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020202020202020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002020202020202000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000202020202020200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020202020202020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002020202020202000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000202020202020200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020202020202020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002020202020202000000000000000000000000000000000000000000000000
WalkabilityGrid: 01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010000000000000000000000000000000000000000000000000000000000000000000000000001010101010101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101010101010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010101010101010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001010101010101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101010101010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010101010101010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001010101010101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101010101010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010101010101010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001010101010101000000000000000000000000000000000000000000000000
OwnerGrid: 01010101010101010101010101010101010101010101010101010101010101010101010000020202020202020202020202020202020202020202020202020202020000000101010101010101010101010101010101010101010101010101010101010101010101000002020202020202020202020202020202020202020202020202020202000000010101010101010101010101010101010101010101010101010101010101010101010100000202020202020202020202020202020202020202020202020202020200000001010101010101010101010101010101010101010101010101010101010101010101010000020202020202020202020202020202020202020202020202020202020000000101010101010101010101010101010101010101010101010101010101010101010101000002020202020202020202020202020202020202020202020202020202000000010101010101010101010101010101010101010101010101010101010101010101010100000202020202020202020202020202020202020202020202020202020200000001010101010101010101010101010101010101010101010101010101010101010101010000020202020202020202020202020202020202020202020202020202020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
PlayerZones:
- Owner: 1
Spawners:
- SpawnerIdInZone: 0
TilePosition: {x: 3, y: 3}
TileArea:
- {x: 0, y: 0}
- {x: 1, y: 0}
- {x: 2, y: 0}
- {x: 3, y: 0}
- {x: 4, y: 0}
- {x: 5, y: 0}
- {x: 6, y: 0}
- {x: 0, y: 1}
- {x: 1, y: 1}
- {x: 2, y: 1}
- {x: 3, y: 1}
- {x: 4, y: 1}
- {x: 5, y: 1}
- {x: 6, y: 1}
- {x: 0, y: 2}
- {x: 1, y: 2}
- {x: 2, y: 2}
- {x: 3, y: 2}
- {x: 4, y: 2}
- {x: 5, y: 2}
- {x: 6, y: 2}
- {x: 0, y: 3}
- {x: 1, y: 3}
- {x: 2, y: 3}
- {x: 3, y: 3}
- {x: 4, y: 3}
- {x: 5, y: 3}
- {x: 6, y: 3}
- {x: 0, y: 4}
- {x: 1, y: 4}
- {x: 2, y: 4}
- {x: 3, y: 4}
- {x: 4, y: 4}
- {x: 5, y: 4}
- {x: 6, y: 4}
- {x: 0, y: 5}
- {x: 1, y: 5}
- {x: 2, y: 5}
- {x: 3, y: 5}
- {x: 4, y: 5}
- {x: 5, y: 5}
- {x: 6, y: 5}
- {x: 0, y: 6}
- {x: 1, y: 6}
- {x: 2, y: 6}
- {x: 3, y: 6}
- {x: 4, y: 6}
- {x: 5, y: 6}
- {x: 6, y: 6}
Facing: 2
LeakExits:
- Target: 2
TileArea:
- {x: 35, y: 0}
- {x: 36, y: 0}
- {x: 35, y: 1}
- {x: 36, y: 1}
- {x: 35, y: 2}
- {x: 36, y: 2}
- {x: 35, y: 3}
- {x: 36, y: 3}
- {x: 35, y: 4}
- {x: 36, y: 4}
- {x: 35, y: 5}
- {x: 36, y: 5}
- {x: 35, y: 6}
- {x: 36, y: 6}
NormalizedWeight: 1
- Owner: 2
Spawners:
- SpawnerIdInZone: 0
TilePosition: {x: 40, y: 12}
TileArea:
- {x: 37, y: 7}
- {x: 38, y: 7}
- {x: 39, y: 7}
- {x: 40, y: 7}
- {x: 41, y: 7}
- {x: 42, y: 7}
- {x: 43, y: 7}
- {x: 37, y: 8}
- {x: 38, y: 8}
- {x: 39, y: 8}
- {x: 40, y: 8}
- {x: 41, y: 8}
- {x: 42, y: 8}
- {x: 43, y: 8}
- {x: 37, y: 9}
- {x: 38, y: 9}
- {x: 39, y: 9}
- {x: 40, y: 9}
- {x: 41, y: 9}
- {x: 42, y: 9}
- {x: 43, y: 9}
- {x: 37, y: 10}
- {x: 38, y: 10}
- {x: 39, y: 10}
- {x: 40, y: 10}
- {x: 41, y: 10}
- {x: 42, y: 10}
- {x: 43, y: 10}
- {x: 37, y: 11}
- {x: 38, y: 11}
- {x: 39, y: 11}
- {x: 40, y: 11}
- {x: 41, y: 11}
- {x: 42, y: 11}
- {x: 43, y: 11}
- {x: 37, y: 12}
- {x: 38, y: 12}
- {x: 39, y: 12}
- {x: 40, y: 12}
- {x: 41, y: 12}
- {x: 42, y: 12}
- {x: 43, y: 12}
- {x: 37, y: 13}
- {x: 38, y: 13}
- {x: 39, y: 13}
- {x: 40, y: 13}
- {x: 41, y: 13}
- {x: 42, y: 13}
- {x: 43, y: 13}
- {x: 37, y: 14}
- {x: 38, y: 14}
- {x: 39, y: 14}
- {x: 40, y: 14}
- {x: 41, y: 14}
- {x: 42, y: 14}
- {x: 43, y: 14}
- {x: 37, y: 15}
- {x: 38, y: 15}
- {x: 39, y: 15}
- {x: 40, y: 15}
- {x: 41, y: 15}
- {x: 42, y: 15}
- {x: 43, y: 15}
- {x: 37, y: 16}
- {x: 38, y: 16}
- {x: 39, y: 16}
- {x: 40, y: 16}
- {x: 41, y: 16}
- {x: 42, y: 16}
- {x: 43, y: 16}
Facing: 1
LeakExits: []
Goals:
- TileArea:
- {x: 65, y: 0}
- {x: 66, y: 0}
- {x: 67, y: 0}
- {x: 65, y: 1}
- {x: 66, y: 1}
- {x: 67, y: 1}
- {x: 65, y: 2}
- {x: 66, y: 2}
- {x: 67, y: 2}
- {x: 65, y: 3}
- {x: 66, y: 3}
- {x: 67, y: 3}
- {x: 65, y: 4}
- {x: 66, y: 4}
- {x: 67, y: 4}
- {x: 65, y: 5}
- {x: 66, y: 5}
- {x: 67, y: 5}
- {x: 65, y: 6}
- {x: 66, y: 6}
- {x: 67, y: 6}

View file

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9b13dafb78f7bc013cba5dd80719fd2e86d11f2601ad7103adc85bfd7aed067d
size 5198

View file

@ -0,0 +1,117 @@
fileFormatVersion: 2
guid: d2e652d3e1c53454d80d3c1ec7888998
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 4
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
customData:
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant: