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",
"arch": "x64",
"version": "0.20.7",
"generatedAt": "03/05/2020 09:41:24",
"version": "0.20.6",
"generatedAt": "28/04/2020 23:25:06",
"sandbox": {
"coroutine": {
"create": "function",
@ -20,12 +20,11 @@
"xpcall": "function",
"_DEVICE_PAD_BOTTOM": 0,
"ipairs": "function",
"_TEV_BUILD": "0207",
"_TEV_BUILD": "0206",
"colour": "cdata",
"print": "function",
"pcall": "function",
"gcinfo": "function",
"loadstring": "function",
"sleep": "function",
"spawn": "function",
"vector2": "cdata",
@ -43,10 +42,10 @@
"insert": "function"
},
"error": "function",
"_TEV_VERSION": "0.20.7",
"_TEV_VERSION": "0.20.6",
"_DEVICE": "Mac",
"_VERSION": "Lua 5.1",
"require": "function",
"_OS": "OSX",
"next": "function",
"math": {
"ceil": "function",
@ -80,7 +79,7 @@
"pi": 3.1415926535898,
"rad": "function"
},
"_OS": "OSX",
"unpack": "function",
"os": {
"difftime": "function",
"date": "function",
@ -88,7 +87,9 @@
"clock": "function",
"parseISO8601": "function"
},
"type": "function",
"thread": {
"create": "function"
},
"select": "function",
"string": {
"split": "function",
@ -107,22 +108,18 @@
"format": "function",
"gsub": "function"
},
"unpack": "function",
"thread": {
"create": "function"
},
"type": "function",
"require": "function",
"teverse": {
"input": "input",
"tween": "tween",
"networking": "networking",
"interface": "guiFrame",
"guiHelper": "guiHelper",
"scene": "scene",
"http": "http",
"load": "function",
"construct": "function",
"guiHelper": "guiHelper",
"interface": "guiFrame",
"json": "json",
"debug": "debug",
"http": "http",
"dev": "dev",
"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": {
"methods": {
"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": {
"methods": [],
"className": "debug",
@ -1797,9 +1703,7 @@
},
"prompt": {
"parameters": [],
"returns": [
"boolean"
],
"returns": [],
"description": "Prompts the user to select a Lua file, this method then triggers app:loadScript(path)"
}
},
@ -1809,5 +1713,5 @@
"properties": []
}
},
"build": "0207"
"build": "0206"
}

View File

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

View File

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