movement stuff

This commit is contained in:
GoaLitiuM
2021-04-08 19:31:01 +03:00
parent ae8983a90e
commit 1234dd9393
11 changed files with 248 additions and 141 deletions

View File

@@ -1,13 +1,14 @@
{
"ID": "3c7bc3854d42f9b1b0fea9ba0d7fa8e9",
"TypeName": "FlaxEditor.Content.Settings.GameSettings",
"EngineBuild": 6216,
"EngineBuild": 6217,
"Data": {
"ProductName": "Goake",
"CompanyName": "GoaLitiuM",
"FirstScene": "0733cc9b40d3d05366be64bbd9b59e21",
"NoSplashScreen": true,
"Time": "a55dc3c04da4ea3744b7f1994565beac",
"Physics": "4bd8a4cc460399b5f1975fbe0a668e3f",
"Input": "8ec53dba4c238bfbea1d62922e612a4d",
"Graphics": "f94d5aae457aeba67033a8a4ca753214",
"GameCooking": "af2e52554f7faed7b4937181dd22d166",

View File

@@ -31,12 +31,11 @@
"Name": "PlayerPrefab",
"Transform": {
"Translation": {
"X": -82.89323425292969,
"Y": 111.32740783691406,
"Z": 114.5750503540039
"X": -913.1759033203125,
"Y": 207.86880493164063,
"Z": 433.89312744140627
}
},
"Mass": 3784.5869140625,
"LinearDamping": 0.0,
"AngularDamping": 0.0,
"Constraints": 56,
@@ -82,10 +81,26 @@
"W": 0.7071068286895752
}
},
"IsTrigger": true,
"ContactOffset": 0.0,
"Material": "ffe0e84c49607480f67a3994a7fe11a8",
"Radius": 16.0,
"Height": 52.0
},
{
"ID": "9677298d46e5d5d7021f7cb607bd3023",
"TypeName": "FlaxEngine.BoxCollider",
"ParentID": "4ef1f38b4569142b55b0ff935525d47a",
"IsActive": false,
"Name": "BoxCollider",
"IsTrigger": true,
"Material": "ffe0e84c49607480f67a3994a7fe11a8",
"Size": {
"X": 32.0,
"Y": 84.0,
"Z": 32.0
}
},
{
"ID": "b5d566374477944e69bdc2b86249883b",
"TypeName": "FlaxEngine.UICanvas",
@@ -114,7 +129,7 @@
"TypeName": "Cabrito.ConsoleScript",
"ParentID": "b5d566374477944e69bdc2b86249883b",
"V": {
"ConsoleFont": "ec3a34464c0c59c40c52a29f469f161f",
"ConsoleFont": "43f32bec443158643f53699f07b2e09c",
"BackgroundColor": {
"R": 0.0,
"G": 0.0,
@@ -131,13 +146,13 @@
"Transform": {
"Translation": {
"X": 0.0,
"Y": 733.0,
"Y": 887.0,
"Z": 0.0
}
},
"Control": "FlaxEngine.GUI.Label",
"Data": {
"Text": "FPS: 14\nrFPS: 13\nCon: NaNms\nDirectX11\nGC memory: 15.89691MB",
"Text": "FPS: 120\nrFPS: 120\nCon: NaNms\nDirectX11\nGC memory: 8.103872MB",
"TextColor": {
"R": 1.0,
"G": 1.0,

View File

@@ -1,7 +1,7 @@
{
"ID": "8ec53dba4c238bfbea1d62922e612a4d",
"TypeName": "FlaxEditor.Content.Settings.InputSettings",
"EngineBuild": 6216,
"EngineBuild": 6217,
"Data": {
"ActionMappings": [
{
@@ -59,6 +59,14 @@
"MouseButton": 0,
"GamepadButton": 0,
"Gamepad": 0
},
{
"Name": "Jump",
"Mode": 0,
"Key": 32,
"MouseButton": 3,
"GamepadButton": 0,
"Gamepad": 0
}
],
"AxisMappings": [

View File

@@ -1,11 +1,11 @@
{
"ID": "4bd8a4cc460399b5f1975fbe0a668e3f",
"TypeName": "FlaxEditor.Content.Settings.PhysicsSettings",
"EngineBuild": 6216,
"EngineBuild": 6217,
"Data": {
"DefaultGravity": {
"X": 0.0,
"Y": -9810.0,
"Y": -800.0,
"Z": 0.0
},
"QueriesHitTriggers": true,

View File

@@ -1,7 +1,7 @@
{
"ID": "a55dc3c04da4ea3744b7f1994565beac",
"TypeName": "FlaxEditor.Content.Settings.TimeSettings",
"EngineBuild": 6216,
"EngineBuild": 6217,
"Data": {
"UpdateFPS": 120.0,
"PhysicsFPS": 60.0,