mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
+ New Dictionary Helpers + Made ImGui Payloads safer + Start of Component drag'n'drop
505 lines
7.7 KiB
Plaintext
505 lines
7.7 KiB
Plaintext
{
|
|
Name = "Scene name here pls!!!",
|
|
Entities = [
|
|
{
|
|
Id = 820806682740348099,
|
|
NameComponent = {
|
|
Name = "Quad"
|
|
},
|
|
SpriteRendererComponent = {
|
|
Color = {
|
|
R = 0,
|
|
G = 0.55117774,
|
|
B = 0.32878688,
|
|
A = 1
|
|
},
|
|
Sprite = "Textures/TestMat/rustediron2_albedo.png",
|
|
UvTransform = {
|
|
X = 0,
|
|
Y = 0,
|
|
Z = 1,
|
|
W = 1
|
|
}
|
|
},
|
|
TransformComponent = {
|
|
Position = {
|
|
X = -0.72789681,
|
|
Y = 2,
|
|
Z = 0
|
|
},
|
|
Rotation = {
|
|
X = 0,
|
|
Y = 0,
|
|
Z = 0,
|
|
W = 1
|
|
},
|
|
Scale = {
|
|
X = 1,
|
|
Y = 1,
|
|
Z = 1
|
|
},
|
|
EditorEulerRotation = {
|
|
X = 0,
|
|
Y = 0,
|
|
Z = 0
|
|
}
|
|
},
|
|
Rigidbody2D = {
|
|
BodyType = .Dynamic,
|
|
FixedRotation = false
|
|
},
|
|
BoxCollider2D = {
|
|
Offset = {
|
|
X = 0,
|
|
Y = 0
|
|
},
|
|
Size = {
|
|
X = 0.5,
|
|
Y = 0.5
|
|
},
|
|
Density = 1,
|
|
Friction = 0.5,
|
|
Restitution = 0,
|
|
RestitutionThreshold = 0.5
|
|
}
|
|
},
|
|
{
|
|
Id = 15398726361722237419,
|
|
NameComponent = {
|
|
Name = "Floor"
|
|
},
|
|
SpriteRendererComponent = {
|
|
Color = {
|
|
R = 1,
|
|
G = 0.941887021,
|
|
B = 0.401484519,
|
|
A = 1
|
|
},
|
|
Sprite = "",
|
|
UvTransform = {
|
|
X = 0,
|
|
Y = 0,
|
|
Z = 1,
|
|
W = 1
|
|
}
|
|
},
|
|
TransformComponent = {
|
|
Position = {
|
|
X = 0,
|
|
Y = -0.5,
|
|
Z = 0
|
|
},
|
|
Rotation = {
|
|
X = 0,
|
|
Y = 0,
|
|
Z = 0,
|
|
W = 1
|
|
},
|
|
Scale = {
|
|
X = 10,
|
|
Y = 1,
|
|
Z = 1
|
|
},
|
|
EditorEulerRotation = {
|
|
X = 0,
|
|
Y = 0,
|
|
Z = 0
|
|
}
|
|
},
|
|
Rigidbody2D = {
|
|
BodyType = .Static,
|
|
FixedRotation = false
|
|
},
|
|
BoxCollider2D = {
|
|
Offset = {
|
|
X = 0,
|
|
Y = 0
|
|
},
|
|
Size = {
|
|
X = 0.5,
|
|
Y = 0.5
|
|
},
|
|
Density = 1,
|
|
Friction = 0.5,
|
|
Restitution = 0,
|
|
RestitutionThreshold = 0.5
|
|
}
|
|
},
|
|
{
|
|
Id = 1491484622542812645,
|
|
NameComponent = {
|
|
Name = "Camera"
|
|
},
|
|
TransformComponent = {
|
|
Position = {
|
|
X = 0,
|
|
Y = 1,
|
|
Z = -5
|
|
},
|
|
Rotation = {
|
|
X = 0,
|
|
Y = 0,
|
|
Z = 0,
|
|
W = 1
|
|
},
|
|
Scale = {
|
|
X = 1,
|
|
Y = 1,
|
|
Z = 1
|
|
},
|
|
EditorEulerRotation = {
|
|
X = 0,
|
|
Y = 0,
|
|
Z = 0
|
|
}
|
|
},
|
|
CameraComponent = {
|
|
Primary = true,
|
|
ProjectionType = .InfinitePerspective,
|
|
PerspectiveFovY = 1.30899692,
|
|
PerspectiveNearPlane = 0.100000001,
|
|
PerspectiveFarPlane = 10000,
|
|
OrthographicHeight = 10,
|
|
OrthographicNearPlane = 0,
|
|
OrthographicFarPlane = 10,
|
|
AspectRatio = 1.17151165,
|
|
FixedAspectRatio = false
|
|
},
|
|
ScriptComponent = {
|
|
ScriptClass = "Sandbox.Camera",
|
|
Fields = [
|
|
DistanceFromPlayer = (Float)-7,
|
|
DontFollowRadius = (Float)3
|
|
] }
|
|
},
|
|
{
|
|
Id = 15710354273720487680,
|
|
NameComponent = {
|
|
Name = "Player"
|
|
},
|
|
CircleRendererComponent = {
|
|
Color = {
|
|
R = 1,
|
|
G = 0,
|
|
B = 0,
|
|
A = 1
|
|
},
|
|
InnerRadius = 0.300000012,
|
|
Sprite = "",
|
|
UvTransform = {
|
|
X = 0,
|
|
Y = 0,
|
|
Z = 1,
|
|
W = 1
|
|
}
|
|
},
|
|
TransformComponent = {
|
|
Position = {
|
|
X = -0.121203199,
|
|
Y = 0.660161018,
|
|
Z = 0
|
|
},
|
|
Rotation = {
|
|
X = 0,
|
|
Y = 0,
|
|
Z = 0,
|
|
W = 1
|
|
},
|
|
Scale = {
|
|
X = 1,
|
|
Y = 1,
|
|
Z = 1
|
|
},
|
|
EditorEulerRotation = {
|
|
X = 0,
|
|
Y = 0,
|
|
Z = 0
|
|
}
|
|
},
|
|
Rigidbody2D = {
|
|
BodyType = .Dynamic,
|
|
FixedRotation = false
|
|
},
|
|
CircleCollider2D = {
|
|
Offset = {
|
|
X = 0,
|
|
Y = 0
|
|
},
|
|
Radius = 0.5,
|
|
Density = 1,
|
|
Friction = 0.5,
|
|
Restitution = 0,
|
|
RestitutionThreshold = 0.5
|
|
},
|
|
ScriptComponent = {
|
|
ScriptClass = "Sandbox.MyTestEntity",
|
|
Fields = [
|
|
_rigidBody = (Component)0,
|
|
TheEntity = (Entity)0,
|
|
JumpForce = (Float)200,
|
|
MoveForce = (Float)148,
|
|
MyNumber = (Int)22,
|
|
Camera = (Entity)1491484622542812645
|
|
] }
|
|
},
|
|
{
|
|
Id = 935640822766280888,
|
|
NameComponent = {
|
|
Name = "Light"
|
|
},
|
|
TransformComponent = {
|
|
Position = {
|
|
X = 3.88327599,
|
|
Y = 0,
|
|
Z = -0.808795214
|
|
},
|
|
Rotation = {
|
|
X = 0.497987002,
|
|
Y = -0.103420995,
|
|
Z = 0.155380026,
|
|
W = 0.846859217
|
|
},
|
|
Scale = {
|
|
X = 0.999997795,
|
|
Y = 1,
|
|
Z = 1
|
|
},
|
|
EditorEulerRotation = {
|
|
X = 1.09089541,
|
|
Y = -0.340793997,
|
|
Z = 0.160857871
|
|
}
|
|
},
|
|
LightComponent = {
|
|
LightType = .Directional,
|
|
Illuminance = 12.8999996,
|
|
Color = {
|
|
R = 0.985467017,
|
|
G = 1,
|
|
B = 0.569977999
|
|
}
|
|
}
|
|
},
|
|
{
|
|
Id = 721949523193525565,
|
|
NameComponent = {
|
|
Name = "Sphere"
|
|
},
|
|
TransformComponent = {
|
|
Position = {
|
|
X = 0,
|
|
Y = 0,
|
|
Z = 2.56930423
|
|
},
|
|
Rotation = {
|
|
X = 0,
|
|
Y = 0,
|
|
Z = 0,
|
|
W = 1
|
|
},
|
|
Scale = {
|
|
X = 1,
|
|
Y = 1,
|
|
Z = 1
|
|
},
|
|
EditorEulerRotation = {
|
|
X = 0,
|
|
Y = 0,
|
|
Z = 0
|
|
}
|
|
},
|
|
MeshComponent = {
|
|
Mesh = "Models/sphere.glb"
|
|
},
|
|
MeshRendererComponent = {
|
|
Material = "Textures/TestMaterial.mat"
|
|
}
|
|
},
|
|
{
|
|
Id = 2241063100006479259,
|
|
NameComponent = {
|
|
Name = "Floor 2"
|
|
},
|
|
SpriteRendererComponent = {
|
|
Color = {
|
|
R = 0.425658971,
|
|
G = 0.855207503,
|
|
B = 0.0558161139,
|
|
A = 1
|
|
},
|
|
Sprite = "",
|
|
UvTransform = {
|
|
X = 0,
|
|
Y = 0,
|
|
Z = 1,
|
|
W = 1
|
|
}
|
|
},
|
|
TransformComponent = {
|
|
Position = {
|
|
X = 6.74610233,
|
|
Y = -2.03225923,
|
|
Z = 0
|
|
},
|
|
Rotation = {
|
|
X = 0,
|
|
Y = 0,
|
|
Z = -0.331792623,
|
|
W = 0.943352461
|
|
},
|
|
Scale = {
|
|
X = 5.29557419,
|
|
Y = 1,
|
|
Z = 1
|
|
},
|
|
EditorEulerRotation = {
|
|
X = 0,
|
|
Y = 0,
|
|
Z = -0.676406503
|
|
}
|
|
},
|
|
Rigidbody2D = {
|
|
BodyType = .Static,
|
|
FixedRotation = false
|
|
},
|
|
BoxCollider2D = {
|
|
Offset = {
|
|
X = 0,
|
|
Y = 0
|
|
},
|
|
Size = {
|
|
X = 0.5,
|
|
Y = 0.5
|
|
},
|
|
Density = 1,
|
|
Friction = 0.5,
|
|
Restitution = 0,
|
|
RestitutionThreshold = 0.5
|
|
}
|
|
},
|
|
{
|
|
Id = 5126705881069187728,
|
|
NameComponent = {
|
|
Name = "Floor 3"
|
|
},
|
|
SpriteRendererComponent = {
|
|
Color = {
|
|
R = 0.666117013,
|
|
G = 0.0600316115,
|
|
B = 1,
|
|
A = 1
|
|
},
|
|
Sprite = "",
|
|
UvTransform = {
|
|
X = 0,
|
|
Y = 0,
|
|
Z = 1,
|
|
W = 1
|
|
}
|
|
},
|
|
TransformComponent = {
|
|
Position = {
|
|
X = 15.2321291,
|
|
Y = -1.98709261,
|
|
Z = 0
|
|
},
|
|
Rotation = {
|
|
X = 0,
|
|
Y = 0,
|
|
Z = 0.134986058,
|
|
W = 0.990847468
|
|
},
|
|
Scale = {
|
|
X = 13.9764547,
|
|
Y = 1,
|
|
Z = 1
|
|
},
|
|
EditorEulerRotation = {
|
|
X = 0,
|
|
Y = 0,
|
|
Z = 0.270798802
|
|
}
|
|
},
|
|
Rigidbody2D = {
|
|
BodyType = .Static,
|
|
FixedRotation = false
|
|
},
|
|
BoxCollider2D = {
|
|
Offset = {
|
|
X = 0,
|
|
Y = 0
|
|
},
|
|
Size = {
|
|
X = 0.5,
|
|
Y = 0.5
|
|
},
|
|
Density = 1,
|
|
Friction = 0.5,
|
|
Restitution = 0.800000012,
|
|
RestitutionThreshold = 0.5
|
|
}
|
|
},
|
|
{
|
|
Id = 6861260438693901700,
|
|
NameComponent = {
|
|
Name = "Floor 4"
|
|
},
|
|
SpriteRendererComponent = {
|
|
Color = {
|
|
R = 0.176544309,
|
|
G = 0.666713238,
|
|
B = 0.687030852,
|
|
A = 1
|
|
},
|
|
Sprite = "",
|
|
UvTransform = {
|
|
X = 0,
|
|
Y = 0,
|
|
Z = 1,
|
|
W = 1
|
|
}
|
|
},
|
|
TransformComponent = {
|
|
Position = {
|
|
X = -6.27842855,
|
|
Y = 2.62550187,
|
|
Z = 0
|
|
},
|
|
Rotation = {
|
|
X = 0,
|
|
Y = 0,
|
|
Z = 0.187087849,
|
|
W = 0.982343197
|
|
},
|
|
Scale = {
|
|
X = 0.999999464,
|
|
Y = 6.49634314,
|
|
Z = 1
|
|
},
|
|
EditorEulerRotation = {
|
|
X = 0,
|
|
Y = 0,
|
|
Z = 0.376393616
|
|
}
|
|
},
|
|
Rigidbody2D = {
|
|
BodyType = .Static,
|
|
FixedRotation = false
|
|
},
|
|
BoxCollider2D = {
|
|
Offset = {
|
|
X = 0,
|
|
Y = 0
|
|
},
|
|
Size = {
|
|
X = 0.5,
|
|
Y = 0.5
|
|
},
|
|
Density = 1,
|
|
Friction = 0.5,
|
|
Restitution = 0.899999917,
|
|
RestitutionThreshold = 0.5
|
|
}
|
|
}
|
|
]
|
|
} |