Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add GamePlayTests #108

Merged
merged 10 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aplib.net-demo/Assets/Materials/Colors/Dark Blue Mat.mat
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Material:
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 0.068629384, g: 0.45377085, b: 0.7132075, a: 1}
- _Color: {r: 0.06862936, g: 0.45377082, b: 0.7132074, a: 1}
- _Color: {r: 0.06862936, g: 0.45377082, b: 0.7132075, a: 1}
SilasPeters marked this conversation as resolved.
Show resolved Hide resolved
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []
26 changes: 18 additions & 8 deletions aplib.net-demo/Assets/Prefabs/Enemies/Melee Enemy.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ GameObject:
- component: {fileID: 1838458184815239845}
- component: {fileID: 6516424735887955547}
- component: {fileID: 4699750310654139305}
m_Layer: 0
m_Layer: 9
m_Name: Backpack
m_TagString: Untagged
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -114,7 +114,7 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 3212545280367042832}
m_Layer: 0
m_Layer: 9
m_Name: Melee Enemy
m_TagString: Enemy
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -150,7 +150,7 @@ GameObject:
- component: {fileID: 2782046694569076020}
- component: {fileID: 642655613463434214}
- component: {fileID: 651504648538957622}
m_Layer: 0
m_Layer: 9
m_Name: Helmet
m_TagString: Untagged
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -256,7 +256,7 @@ GameObject:
- component: {fileID: 5602802504363056583}
- component: {fileID: 7899826361134525688}
- component: {fileID: 8053776582894441421}
m_Layer: 0
m_Layer: 9
m_Name: Body
m_TagString: Untagged
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -339,7 +339,7 @@ GameObject:
- component: {fileID: 2421439936109808733}
- component: {fileID: 7470707171072187346}
- component: {fileID: 1453002998476168155}
m_Layer: 0
m_Layer: 9
m_Name: Visor
m_TagString: Enemy
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -432,7 +432,7 @@ GameObject:
- component: {fileID: 3100105480385092635}
- component: {fileID: 756077488521599464}
- component: {fileID: 230777658592993480}
m_Layer: 0
m_Layer: 9
m_Name: Melee Enemy Body
m_TagString: Enemy
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -777,7 +777,7 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 434714157860638611}
m_Layer: 0
m_Layer: 9
m_Name: Visual
m_TagString: Untagged
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -813,7 +813,7 @@ GameObject:
m_Component:
- component: {fileID: 8182048024137378992}
- component: {fileID: 4796441169114859087}
m_Layer: 0
m_Layer: 9
m_Name: Spawn Area
m_TagString: Untagged
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -860,11 +860,21 @@ PrefabInstance:
propertyPath: m_Name
value: MeleeWeapon
objectReference: {fileID: 0}
- target: {fileID: 2293369615819988566, guid: c935b7bf63614054ea51bfd5123b9904,
type: 3}
propertyPath: m_Layer
value: 9
objectReference: {fileID: 0}
- target: {fileID: 4693412011037971015, guid: c935b7bf63614054ea51bfd5123b9904,
type: 3}
propertyPath: _entitySound
value:
objectReference: {fileID: 7116717931493397264}
- target: {fileID: 5064525661200628015, guid: c935b7bf63614054ea51bfd5123b9904,
type: 3}
propertyPath: m_Layer
value: 9
objectReference: {fileID: 0}
- target: {fileID: 7069036620070996254, guid: c935b7bf63614054ea51bfd5123b9904,
type: 3}
propertyPath: m_LocalPosition.x
Expand Down
37 changes: 29 additions & 8 deletions aplib.net-demo/Assets/Prefabs/Enemies/Ranged Enemy.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 3696028094173018888}
m_Layer: 0
m_Layer: 9
m_Name: Visual
m_TagString: Untagged
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -46,7 +46,7 @@ GameObject:
- component: {fileID: 941527993150852492}
- component: {fileID: 7978339044951059778}
- component: {fileID: 1558264426942698920}
m_Layer: 0
m_Layer: 9
m_Name: Backpack
m_TagString: Enemy
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -149,7 +149,7 @@ GameObject:
m_Component:
- component: {fileID: 6903289118291040228}
- component: {fileID: 3563055558079486355}
m_Layer: 7
m_Layer: 9
m_Name: SpawnArea
m_TagString: Untagged
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -194,7 +194,7 @@ GameObject:
- component: {fileID: 5864263658997149716}
- component: {fileID: 8636375922128820597}
- component: {fileID: 7138030975460049954}
m_Layer: 0
m_Layer: 9
m_Name: Body
m_TagString: Untagged
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -287,7 +287,7 @@ GameObject:
- component: {fileID: 3754003638518537202}
- component: {fileID: 2502524366878355291}
- component: {fileID: 142685328840719027}
m_Layer: 0
m_Layer: 9
m_Name: Ranged Enemy Body
m_TagString: Enemy
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -632,7 +632,7 @@ GameObject:
m_Component:
- component: {fileID: 8488767769105598618}
- component: {fileID: 1948759600369383589}
m_Layer: 0
m_Layer: 9
m_Name: EnemyAmmoPouch
m_TagString: Untagged
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -667,6 +667,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
maxAmmoCount: 2000
_currentAmmoCount: 0
--- !u!1 &6630535104659245811
GameObject:
m_ObjectHideFlags: 0
Expand All @@ -678,7 +679,7 @@ GameObject:
- component: {fileID: 8164520581160558319}
- component: {fileID: 8552330508886415421}
- component: {fileID: 2271626697261335243}
m_Layer: 0
m_Layer: 9
m_Name: Visor
m_TagString: Enemy
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -759,7 +760,7 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 1714929719199334556}
m_Layer: 0
m_Layer: 9
m_Name: Ranged Enemy
m_TagString: Enemy
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -797,6 +798,16 @@ PrefabInstance:
propertyPath: m_Name
value: Crossbow
objectReference: {fileID: 0}
- target: {fileID: 91225418248312668, guid: a32b9718dd054174cb328e71472939bb,
type: 3}
propertyPath: m_Layer
value: 9
objectReference: {fileID: 0}
- target: {fileID: 263138273581502346, guid: a32b9718dd054174cb328e71472939bb,
type: 3}
propertyPath: m_Layer
value: 9
objectReference: {fileID: 0}
- target: {fileID: 3765763061320875848, guid: a32b9718dd054174cb328e71472939bb,
type: 3}
propertyPath: m_LocalPosition.x
Expand Down Expand Up @@ -877,6 +888,16 @@ PrefabInstance:
propertyPath: _entitySound
value:
objectReference: {fileID: 5007256389150739156}
- target: {fileID: 7857465376940653296, guid: a32b9718dd054174cb328e71472939bb,
type: 3}
propertyPath: m_Layer
value: 9
objectReference: {fileID: 0}
- target: {fileID: 8898976936436749179, guid: a32b9718dd054174cb328e71472939bb,
type: 3}
propertyPath: m_Layer
value: 9
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
Expand Down
32 changes: 27 additions & 5 deletions aplib.net-demo/Assets/Prefabs/Enemies/Target Dummy.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ GameObject:
- component: {fileID: 941527993150852492}
- component: {fileID: 7978339044951059778}
- component: {fileID: 1558264426942698920}
m_Layer: 0
m_Layer: 9
m_Name: Backpack
m_TagString: Untagged
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -115,7 +115,7 @@ GameObject:
m_Component:
- component: {fileID: 6903289118291040228}
- component: {fileID: 3563055558079486355}
m_Layer: 7
m_Layer: 9
m_Name: SpawnArea
m_TagString: Untagged
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -170,7 +170,8 @@ GameObject:
- component: {fileID: 3330466833410674930}
- component: {fileID: 98459274967107310}
- component: {fileID: 4500473103708748035}
m_Layer: 0
- component: {fileID: 142685328840719027}
m_Layer: 9
m_Name: Target Dummy Body
m_TagString: Enemy
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -517,6 +518,27 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
_pointAmount: 15
--- !u!95 &142685328840719027
Animator:
serializedVersion: 5
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5361096258398959275}
m_Enabled: 1
m_Avatar: {fileID: 0}
m_Controller: {fileID: 0}
m_CullingMode: 0
m_UpdateMode: 0
m_ApplyRootMotion: 0
m_LinearVelocityBlending: 0
m_StabilizeFeet: 0
m_WarningMessage:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
m_KeepAnimatorStateOnDisable: 0
m_WriteDefaultValuesOnDisable: 0
--- !u!1 &6630535104659245811
GameObject:
m_ObjectHideFlags: 0
Expand All @@ -528,7 +550,7 @@ GameObject:
- component: {fileID: 8164520581160558319}
- component: {fileID: 8552330508886415421}
- component: {fileID: 2271626697261335243}
m_Layer: 0
m_Layer: 9
m_Name: Visor
m_TagString: Enemy
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -609,7 +631,7 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 1714929719199334556}
m_Layer: 0
m_Layer: 9
m_Name: Target Dummy
m_TagString: Enemy
m_Icon: {fileID: 0}
Expand Down
5 changes: 5 additions & 0 deletions aplib.net-demo/Assets/Prefabs/Items/EndItem.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@ PrefabInstance:
propertyPath: m_Name
value: bottle
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 1575f63c98da02142b31eee0b014b4bd,
type: 3}
propertyPath: m_Layer
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
Expand Down
23 changes: 19 additions & 4 deletions aplib.net-demo/Assets/Prefabs/Items/HealthPotion.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ GameObject:
- component: {fileID: 6644890811013382080}
- component: {fileID: 4103969277828004525}
- component: {fileID: 5869530656772040234}
m_Layer: 0
m_Layer: 8
m_Name: HealthPotion
m_TagString: Untagged
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -115,7 +115,7 @@ GameObject:
- component: {fileID: 6670878522597935835}
- component: {fileID: 8999004444325526567}
- component: {fileID: 4987933222704678392}
m_Layer: 0
m_Layer: 8
m_Name: Sphere
m_TagString: Untagged
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -196,7 +196,7 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 7171588121974554467}
m_Layer: 0
m_Layer: 8
m_Name: Visual
m_TagString: Untagged
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -232,7 +232,7 @@ GameObject:
- component: {fileID: 7773310571775737343}
- component: {fileID: 2428910288225605675}
- component: {fileID: 2429067011553723039}
m_Layer: 0
m_Layer: 8
m_Name: Cylinder
m_TagString: Untagged
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -317,6 +317,11 @@ PrefabInstance:
propertyPath: m_LocalPosition.y
value: -1.49
objectReference: {fileID: 0}
- target: {fileID: 2535984516990917545, guid: 87c08e6a1147c904688ab4d0293a148f,
type: 3}
propertyPath: m_Layer
value: 8
objectReference: {fileID: 0}
- target: {fileID: 6140845518465948779, guid: 87c08e6a1147c904688ab4d0293a148f,
type: 3}
propertyPath: InitialModule.startColor.maxColor.b
Expand All @@ -337,6 +342,11 @@ PrefabInstance:
propertyPath: m_Name
value: Sparkle
objectReference: {fileID: 0}
- target: {fileID: 6891417323614499024, guid: 87c08e6a1147c904688ab4d0293a148f,
type: 3}
propertyPath: m_Layer
value: 8
objectReference: {fileID: 0}
- target: {fileID: 7703119434909318981, guid: 87c08e6a1147c904688ab4d0293a148f,
type: 3}
propertyPath: InitialModule.startColor.maxColor.b
Expand All @@ -352,6 +362,11 @@ PrefabInstance:
propertyPath: InitialModule.startColor.maxColor.r
value: 0.9811321
objectReference: {fileID: 0}
- target: {fileID: 7774401939041117516, guid: 87c08e6a1147c904688ab4d0293a148f,
type: 3}
propertyPath: m_Layer
value: 8
objectReference: {fileID: 0}
- target: {fileID: 8890594247681875335, guid: 87c08e6a1147c904688ab4d0293a148f,
type: 3}
propertyPath: m_LocalPosition.x
Expand Down
Loading