Created new map for free-for-all mode

Platform3 (MOUNTAIN) is the new map. I tried to fix the FallPlatform script so falling platforms would respawn but I didn't get anywhere. Will try again later
This commit is contained in:
TGall8
2025-03-05 21:08:52 -05:00
parent c160ef0b5c
commit 47314da759
4 changed files with 4754 additions and 46 deletions

View File

@@ -1172,6 +1172,16 @@ Tilemap:
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: -10, y: 9, z: 0}
second:
serializedVersion: 2
m_TileIndex: 1
m_TileSpriteIndex: 1
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: -9, y: 9, z: 0}
second:
serializedVersion: 2
@@ -1362,49 +1372,19 @@ Tilemap:
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: 10, y: 9, z: 0}
second:
serializedVersion: 2
m_TileIndex: 1
m_TileSpriteIndex: 1
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: 11, y: 9, z: 0}
second:
serializedVersion: 2
m_TileIndex: 1
m_TileSpriteIndex: 1
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
- first: {x: 12, y: 9, z: 0}
second:
serializedVersion: 2
m_TileIndex: 1
m_TileSpriteIndex: 1
m_TileMatrixIndex: 0
m_TileColorIndex: 0
m_TileObjectToInstantiateIndex: 65535
dummyAlignment: 0
m_AllTileFlags: 1073741825
m_AnimatedTiles: {}
m_TileAssetArray:
- m_RefCount: 0
m_Data: {fileID: 0}
- m_RefCount: 98
- m_RefCount: 96
m_Data: {fileID: 11400000, guid: eba517dbe553d4e9eb4a38e332a4cfd9, type: 2}
m_TileSpriteArray:
- m_RefCount: 0
m_Data: {fileID: 0}
- m_RefCount: 98
- m_RefCount: 96
m_Data: {fileID: 7482667652216324306, guid: 586cb85cfa61a4214a970f850bffc743, type: 3}
m_TileMatrixArray:
- m_RefCount: 98
- m_RefCount: 96
m_Data:
e00: 1
e01: 0
@@ -1423,7 +1403,7 @@ Tilemap:
e32: 0
e33: 1
m_TileColorArray:
- m_RefCount: 98
- m_RefCount: 96
m_Data: {r: 1, g: 1, b: 1, a: 1}
m_TileObjectToInstantiateArray: []
m_AnimationFrameRate: 1
@@ -1509,13 +1489,13 @@ CompositeCollider2D:
m_ColliderPaths:
- m_Collider: {fileID: 1178732244}
m_ColliderPaths:
- - X: 130000000
- - X: 100000000
Y: 100000000
- X: -90000000
- X: -100000000
Y: 100000000
- X: -90000000
- X: -100000000
Y: 90000000
- X: 130000000
- X: 100000000
Y: 90000000
- - X: 290000000
Y: 10000000
@@ -1543,10 +1523,10 @@ CompositeCollider2D:
Y: -70000000
m_CompositePaths:
m_Paths:
- - {x: 12.99997, y: 9}
- {x: 12.99997, y: 10}
- {x: -9, y: 9.99997}
- {x: -8.99997, y: 9}
- - {x: 9.99997, y: 9}
- {x: 9.99997, y: 10}
- {x: -10, y: 9.99997}
- {x: -9.99997, y: 9}
- - {x: 28.999971, y: 0}
- {x: 28.999971, y: 1}
- {x: 11, y: 0.99997073}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: a50be2ffc65f5834d8e69669daa4e7e9
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -8,12 +8,12 @@ public class FallPlatform : MonoBehaviour
bool falling;
Rigidbody2D rb;
//Vector3 position;
//Transform defposition;
void Start()
{
//defposition = gameObject.transform;
rb = transform.parent.GetComponent<Rigidbody2D>();
//position = rb.transform.position;
}
private void OnTriggerEnter2D(Collider2D collision)
@@ -29,7 +29,13 @@ public class FallPlatform : MonoBehaviour
falling = true;
yield return new WaitForSeconds(fallDelay);
rb.bodyType = RigidbodyType2D.Dynamic;
//yield return new WaitForSeconds(resetDelay);
yield return new WaitForSeconds(resetDelay);
//Respawn();
}
//private void Respawn()
//{
//rb.bodyType = RigidbodyType2D.Static;
//gameObject.transform.position = defposition.position;
//}
}