Compare commits

..

No commits in common. "4c83652c300d6c7a62ff79ff74438f7e4c10322b" and "7174736ea966333fbebc6d2b70a8e46b9fafdc8f" have entirely different histories.

3 changed files with 25 additions and 123 deletions

128
api.json
View File

@ -1,8 +1,8 @@
{ {
"os": "OSX", "os": "OSX",
"arch": "x64", "arch": "x64",
"version": "0.20.7", "version": "0.20.6",
"generatedAt": "03/05/2020 09:41:24", "generatedAt": "28/04/2020 23:25:06",
"sandbox": { "sandbox": {
"coroutine": { "coroutine": {
"create": "function", "create": "function",
@ -20,12 +20,11 @@
"xpcall": "function", "xpcall": "function",
"_DEVICE_PAD_BOTTOM": 0, "_DEVICE_PAD_BOTTOM": 0,
"ipairs": "function", "ipairs": "function",
"_TEV_BUILD": "0207", "_TEV_BUILD": "0206",
"colour": "cdata", "colour": "cdata",
"print": "function", "print": "function",
"pcall": "function", "pcall": "function",
"gcinfo": "function", "gcinfo": "function",
"loadstring": "function",
"sleep": "function", "sleep": "function",
"spawn": "function", "spawn": "function",
"vector2": "cdata", "vector2": "cdata",
@ -43,10 +42,10 @@
"insert": "function" "insert": "function"
}, },
"error": "function", "error": "function",
"_TEV_VERSION": "0.20.7", "_TEV_VERSION": "0.20.6",
"_DEVICE": "Mac", "_DEVICE": "Mac",
"_VERSION": "Lua 5.1", "_VERSION": "Lua 5.1",
"require": "function", "_OS": "OSX",
"next": "function", "next": "function",
"math": { "math": {
"ceil": "function", "ceil": "function",
@ -80,7 +79,7 @@
"pi": 3.1415926535898, "pi": 3.1415926535898,
"rad": "function" "rad": "function"
}, },
"_OS": "OSX", "unpack": "function",
"os": { "os": {
"difftime": "function", "difftime": "function",
"date": "function", "date": "function",
@ -88,7 +87,9 @@
"clock": "function", "clock": "function",
"parseISO8601": "function" "parseISO8601": "function"
}, },
"type": "function", "thread": {
"create": "function"
},
"select": "function", "select": "function",
"string": { "string": {
"split": "function", "split": "function",
@ -107,22 +108,18 @@
"format": "function", "format": "function",
"gsub": "function" "gsub": "function"
}, },
"unpack": "function", "type": "function",
"thread": { "require": "function",
"create": "function"
},
"teverse": { "teverse": {
"input": "input", "input": "input",
"tween": "tween",
"networking": "networking", "networking": "networking",
"interface": "guiFrame",
"guiHelper": "guiHelper",
"scene": "scene", "scene": "scene",
"http": "http",
"load": "function", "load": "function",
"construct": "function", "construct": "function",
"guiHelper": "guiHelper",
"interface": "guiFrame",
"json": "json", "json": "json",
"debug": "debug",
"http": "http",
"dev": "dev", "dev": "dev",
"disconnect": "function" "disconnect": "function"
}, },
@ -1030,37 +1027,6 @@
} }
} }
}, },
"block": {
"methods": {
"setShader": {
"parameters": [
{
"type": "string",
"name": "mesh"
}
],
"returns": [],
"description": "Sets mesh"
}
},
"className": "block",
"events": [],
"constructable": true,
"properties": {
"position": {
"hasGetter": true,
"type": "vector3",
"description": "",
"hasSetter": true
},
"mesh": {
"hasGetter": true,
"type": "string",
"description": "",
"hasSetter": true
}
}
},
"http": { "http": {
"methods": { "methods": {
"delete": { "delete": {
@ -1609,66 +1575,6 @@
} }
} }
}, },
"tween": {
"methods": {
"begin": {
"parameters": [
{
"type": "variant",
"name": "object"
},
{
"type": "number",
"name": "duration"
},
{
"type": "table",
"name": "properties"
},
{
"type": "string",
"name": "easing"
},
{
"type": "function?",
"name": "tweenCallback"
}
],
"returns": [],
"description": "Creates and starts a tween"
},
"create": {
"parameters": [
{
"type": "variant",
"name": "object"
},
{
"type": "number",
"name": "duration"
},
{
"type": "table",
"name": "properties"
},
{
"type": "string",
"name": "easing"
},
{
"type": "function?",
"name": "tweenCallback"
}
],
"returns": [],
"description": "Creates a tween"
}
},
"className": "tween",
"events": [],
"constructable": false,
"properties": []
},
"debug": { "debug": {
"methods": [], "methods": [],
"className": "debug", "className": "debug",
@ -1797,9 +1703,7 @@
}, },
"prompt": { "prompt": {
"parameters": [], "parameters": [],
"returns": [ "returns": [],
"boolean"
],
"description": "Prompts the user to select a Lua file, this method then triggers app:loadScript(path)" "description": "Prompts the user to select a Lua file, this method then triggers app:loadScript(path)"
} }
}, },
@ -1809,5 +1713,5 @@
"properties": [] "properties": []
} }
}, },
"build": "0207" "build": "0206"
} }

View File

@ -2,16 +2,14 @@
local disclaimer = teverse.construct("guiTextBox", { local disclaimer = teverse.construct("guiTextBox", {
parent = teverse.coreInterface, parent = teverse.coreInterface,
size = guiCoord(0, 140, 0, 25), size = guiCoord(1, -60, 0, 20),
position = guiCoord(0.5, -70, 1, -35), position = guiCoord(0, 30, 1, -20),
text = "User Generated Content", backgroundAlpha = 0,
textSize = 14, text = "You are running user generated code",
textColour = colour(0, 0, 0), textShadowSize = 2,
textAlign = "middle", textSize = 12,
textFont = "tevurl:fonts/openSansSemiBold.ttf", textColour = colour(1, 1, 1),
strokeRadius = 2, textAlign = "middle"
dropShadowAlpha = 0.15,
strokeAlpha = 0.05
}) })
disclaimer:on("mouseLeftUp", function() disclaimer:on("mouseLeftUp", function()

View File

@ -105,7 +105,7 @@ return {
}) })
end end
if _DEVICE:sub(0, 6) ~= "iPhone" then if _TEV_VERSION ~= "0.20.6" then
local appGui = createApp({ local appGui = createApp({
id = "", id = "",
name = "Learn Code", name = "Learn Code",