mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-20 12:45:05 +00:00
Upgrade dependencies and add SpawnLocation test case
This commit is contained in:
6
test-projects/spawn_location/default.project.json
Normal file
6
test-projects/spawn_location/default.project.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "spawn_location",
|
||||
"tree": {
|
||||
"$path": "src"
|
||||
}
|
||||
}
|
||||
266
test-projects/spawn_location/initial.tree.json
Normal file
266
test-projects/spawn_location/initial.tree.json
Normal file
@@ -0,0 +1,266 @@
|
||||
{
|
||||
"instances": {
|
||||
"21406306-61c7-45f6-9e3e-50cd6b609214": {
|
||||
"Name": "spawn_location",
|
||||
"ClassName": "Folder",
|
||||
"Properties": {},
|
||||
"Id": "21406306-61c7-45f6-9e3e-50cd6b609214",
|
||||
"Children": [
|
||||
"da5dd362-4eb6-488a-984b-c96327927a70"
|
||||
],
|
||||
"Parent": null
|
||||
},
|
||||
"da5dd362-4eb6-488a-984b-c96327927a70": {
|
||||
"Name": "spawn",
|
||||
"ClassName": "SpawnLocation",
|
||||
"Properties": {
|
||||
"Size": {
|
||||
"Type": "Vector3",
|
||||
"Value": [
|
||||
12.0,
|
||||
1.0,
|
||||
12.0
|
||||
]
|
||||
},
|
||||
"Massless": {
|
||||
"Type": "Bool",
|
||||
"Value": false
|
||||
},
|
||||
"LeftSurface": {
|
||||
"Type": "Enum",
|
||||
"Value": 0
|
||||
},
|
||||
"Color": {
|
||||
"Type": "Color3",
|
||||
"Value": [
|
||||
0.6392157,
|
||||
0.63529414,
|
||||
0.64705884
|
||||
]
|
||||
},
|
||||
"RightSurfaceInput": {
|
||||
"Type": "Enum",
|
||||
"Value": 0
|
||||
},
|
||||
"Neutral": {
|
||||
"Type": "Bool",
|
||||
"Value": true
|
||||
},
|
||||
"Locked": {
|
||||
"Type": "Bool",
|
||||
"Value": false
|
||||
},
|
||||
"Anchored": {
|
||||
"Type": "Bool",
|
||||
"Value": true
|
||||
},
|
||||
"CanCollide": {
|
||||
"Type": "Bool",
|
||||
"Value": true
|
||||
},
|
||||
"FrontSurfaceInput": {
|
||||
"Type": "Enum",
|
||||
"Value": 0
|
||||
},
|
||||
"LeftSurfaceInput": {
|
||||
"Type": "Enum",
|
||||
"Value": 0
|
||||
},
|
||||
"RightSurface": {
|
||||
"Type": "Enum",
|
||||
"Value": 0
|
||||
},
|
||||
"FrontSurface": {
|
||||
"Type": "Enum",
|
||||
"Value": 0
|
||||
},
|
||||
"TopSurfaceInput": {
|
||||
"Type": "Enum",
|
||||
"Value": 0
|
||||
},
|
||||
"CastShadow": {
|
||||
"Type": "Bool",
|
||||
"Value": true
|
||||
},
|
||||
"BottomSurface": {
|
||||
"Type": "Enum",
|
||||
"Value": 0
|
||||
},
|
||||
"Duration": {
|
||||
"Type": "Int32",
|
||||
"Value": 10
|
||||
},
|
||||
"Velocity": {
|
||||
"Type": "Vector3",
|
||||
"Value": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
"BottomSurfaceInput": {
|
||||
"Type": "Enum",
|
||||
"Value": 0
|
||||
},
|
||||
"TopSurface": {
|
||||
"Type": "Enum",
|
||||
"Value": 0
|
||||
},
|
||||
"CFrame": {
|
||||
"Type": "CFrame",
|
||||
"Value": [
|
||||
-6.0,
|
||||
0.500001,
|
||||
-11.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
"TeamColor": {
|
||||
"Type": "BrickColor",
|
||||
"Value": 194
|
||||
},
|
||||
"RotVelocity": {
|
||||
"Type": "Vector3",
|
||||
"Value": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
"Reflectance": {
|
||||
"Type": "Float32",
|
||||
"Value": 0.0
|
||||
},
|
||||
"AllowTeamChangeOnTouch": {
|
||||
"Type": "Bool",
|
||||
"Value": false
|
||||
},
|
||||
"RightParamA": {
|
||||
"Type": "Float32",
|
||||
"Value": -0.5
|
||||
},
|
||||
"LeftParamA": {
|
||||
"Type": "Float32",
|
||||
"Value": -0.5
|
||||
},
|
||||
"Tags": {
|
||||
"Type": "BinaryString",
|
||||
"Value": ""
|
||||
},
|
||||
"Transparency": {
|
||||
"Type": "Float32",
|
||||
"Value": 0.0
|
||||
},
|
||||
"Shape": {
|
||||
"Type": "Enum",
|
||||
"Value": 1
|
||||
},
|
||||
"FrontParamA": {
|
||||
"Type": "Float32",
|
||||
"Value": -0.5
|
||||
},
|
||||
"RootPriority": {
|
||||
"Type": "Int32",
|
||||
"Value": 0
|
||||
},
|
||||
"FrontParamB": {
|
||||
"Type": "Float32",
|
||||
"Value": 0.5
|
||||
},
|
||||
"FormFactor": {
|
||||
"Type": "Enum",
|
||||
"Value": 1
|
||||
},
|
||||
"BottomParamB": {
|
||||
"Type": "Float32",
|
||||
"Value": 0.5
|
||||
},
|
||||
"BackSurface": {
|
||||
"Type": "Enum",
|
||||
"Value": 0
|
||||
},
|
||||
"BottomParamA": {
|
||||
"Type": "Float32",
|
||||
"Value": -0.5
|
||||
},
|
||||
"Enabled": {
|
||||
"Type": "Bool",
|
||||
"Value": true
|
||||
},
|
||||
"BackParamB": {
|
||||
"Type": "Float32",
|
||||
"Value": 0.5
|
||||
},
|
||||
"BackParamA": {
|
||||
"Type": "Float32",
|
||||
"Value": -0.5
|
||||
},
|
||||
"LeftParamB": {
|
||||
"Type": "Float32",
|
||||
"Value": 0.5
|
||||
},
|
||||
"TopParamA": {
|
||||
"Type": "Float32",
|
||||
"Value": -0.5
|
||||
},
|
||||
"RightParamB": {
|
||||
"Type": "Float32",
|
||||
"Value": 0.5
|
||||
},
|
||||
"CollisionGroupId": {
|
||||
"Type": "Int32",
|
||||
"Value": 0
|
||||
},
|
||||
"BackSurfaceInput": {
|
||||
"Type": "Enum",
|
||||
"Value": 0
|
||||
},
|
||||
"CustomPhysicalProperties": {
|
||||
"Type": "PhysicalProperties",
|
||||
"Value": null
|
||||
},
|
||||
"TopParamB": {
|
||||
"Type": "Float32",
|
||||
"Value": 0.5
|
||||
},
|
||||
"Material": {
|
||||
"Type": "Enum",
|
||||
"Value": 256
|
||||
}
|
||||
},
|
||||
"Id": "da5dd362-4eb6-488a-984b-c96327927a70",
|
||||
"Children": [],
|
||||
"Parent": "21406306-61c7-45f6-9e3e-50cd6b609214"
|
||||
}
|
||||
},
|
||||
"root_id": "21406306-61c7-45f6-9e3e-50cd6b609214",
|
||||
"metadata": {
|
||||
"da5dd362-4eb6-488a-984b-c96327927a70": {
|
||||
"ignore_unknown_instances": false,
|
||||
"source_path": "src/spawn.rbxmx",
|
||||
"project_definition": null
|
||||
},
|
||||
"21406306-61c7-45f6-9e3e-50cd6b609214": {
|
||||
"ignore_unknown_instances": false,
|
||||
"source_path": "src",
|
||||
"project_definition": [
|
||||
"spawn_location",
|
||||
{
|
||||
"class_name": null,
|
||||
"children": {},
|
||||
"properties": {},
|
||||
"ignore_unknown_instances": null,
|
||||
"path": "src"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
85
test-projects/spawn_location/src/spawn.rbxmx
Normal file
85
test-projects/spawn_location/src/spawn.rbxmx
Normal file
@@ -0,0 +1,85 @@
|
||||
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||
<Meta name="ExplicitAutoJoints">true</Meta>
|
||||
<External>null</External>
|
||||
<External>nil</External>
|
||||
<Item class="SpawnLocation" referent="RBX8927A074BA5942B696D00BDFD02B5365">
|
||||
<Properties>
|
||||
<bool name="AllowTeamChangeOnTouch">false</bool>
|
||||
<bool name="Anchored">true</bool>
|
||||
<float name="BackParamA">-0.5</float>
|
||||
<float name="BackParamB">0.5</float>
|
||||
<token name="BackSurface">0</token>
|
||||
<token name="BackSurfaceInput">0</token>
|
||||
<float name="BottomParamA">-0.5</float>
|
||||
<float name="BottomParamB">0.5</float>
|
||||
<token name="BottomSurface">0</token>
|
||||
<token name="BottomSurfaceInput">0</token>
|
||||
<CoordinateFrame name="CFrame">
|
||||
<X>-6</X>
|
||||
<Y>0.500001013</Y>
|
||||
<Z>-11</Z>
|
||||
<R00>1</R00>
|
||||
<R01>0</R01>
|
||||
<R02>0</R02>
|
||||
<R10>0</R10>
|
||||
<R11>1</R11>
|
||||
<R12>0</R12>
|
||||
<R20>0</R20>
|
||||
<R21>0</R21>
|
||||
<R22>1</R22>
|
||||
</CoordinateFrame>
|
||||
<bool name="CanCollide">true</bool>
|
||||
<bool name="CastShadow">true</bool>
|
||||
<int name="CollisionGroupId">0</int>
|
||||
<Color3uint8 name="Color3uint8">4288914085</Color3uint8>
|
||||
<PhysicalProperties name="CustomPhysicalProperties">
|
||||
<CustomPhysics>false</CustomPhysics>
|
||||
</PhysicalProperties>
|
||||
<int name="Duration">10</int>
|
||||
<bool name="Enabled">true</bool>
|
||||
<float name="FrontParamA">-0.5</float>
|
||||
<float name="FrontParamB">0.5</float>
|
||||
<token name="FrontSurface">0</token>
|
||||
<token name="FrontSurfaceInput">0</token>
|
||||
<float name="LeftParamA">-0.5</float>
|
||||
<float name="LeftParamB">0.5</float>
|
||||
<token name="LeftSurface">0</token>
|
||||
<token name="LeftSurfaceInput">0</token>
|
||||
<bool name="Locked">false</bool>
|
||||
<bool name="Massless">false</bool>
|
||||
<token name="Material">256</token>
|
||||
<string name="Name">SpawnLocation</string>
|
||||
<bool name="Neutral">true</bool>
|
||||
<float name="Reflectance">0</float>
|
||||
<float name="RightParamA">-0.5</float>
|
||||
<float name="RightParamB">0.5</float>
|
||||
<token name="RightSurface">0</token>
|
||||
<token name="RightSurfaceInput">0</token>
|
||||
<int name="RootPriority">0</int>
|
||||
<Vector3 name="RotVelocity">
|
||||
<X>0</X>
|
||||
<Y>0</Y>
|
||||
<Z>0</Z>
|
||||
</Vector3>
|
||||
<BinaryString name="Tags"></BinaryString>
|
||||
<int name="TeamColor">194</int>
|
||||
<float name="TopParamA">-0.5</float>
|
||||
<float name="TopParamB">0.5</float>
|
||||
<token name="TopSurface">0</token>
|
||||
<token name="TopSurfaceInput">0</token>
|
||||
<float name="Transparency">0</float>
|
||||
<Vector3 name="Velocity">
|
||||
<X>0</X>
|
||||
<Y>0</Y>
|
||||
<Z>0</Z>
|
||||
</Vector3>
|
||||
<token name="formFactorRaw">1</token>
|
||||
<token name="shape">1</token>
|
||||
<Vector3 name="size">
|
||||
<X>12</X>
|
||||
<Y>1</Y>
|
||||
<Z>12</Z>
|
||||
</Vector3>
|
||||
</Properties>
|
||||
</Item>
|
||||
</roblox>
|
||||
Reference in New Issue
Block a user