feat: working on in app quiz creation
This commit is contained in:
@@ -3,7 +3,7 @@ return {
|
||||
name = 'Jeopardy', -- name of the game for your executable
|
||||
developer = 'Ryan Ward', -- dev name used in metadata of the file
|
||||
output = 'bin', -- output location for your game, defaults to $SAVE_DIRECTORY
|
||||
version = '1.0.4', -- 'version' of your game, used to name the folder in output
|
||||
version = '1.0.5', -- 'version' of your game, used to name the folder in output
|
||||
love = '11.5', -- version of LÖVE to use, must match github releases
|
||||
ignore = {'bin', 'love', 'server_test', '.gitignore', '.gitmodules', 'build.lua', 'login_dialog.yaml', 'package.bat', 'README.md'}, -- folders/files to ignore in your project
|
||||
icon = 'assets/icon.png', -- 256x256px PNG icon for game, will be converted for you
|
||||
|
||||
+1
-1
Submodule gui updated: 27995af07f...351f2762d5
@@ -171,6 +171,12 @@ function LoadTemplate(name, path)
|
||||
ALIGN_LEFT = gui.ALIGN_LEFT,
|
||||
ALIGN_RIGHT = gui.ALIGN_RIGHT,
|
||||
ALIGN_JUSTIFY = gui.ALIGN_JUSTIFY,
|
||||
IMAGE = "image",
|
||||
AUDIO = "audio",
|
||||
VIDEO = "video",
|
||||
TEXT = "text",
|
||||
LIST = "list",
|
||||
NUMBER = "number",
|
||||
-- Global vars
|
||||
color = color,
|
||||
error = multi.error,
|
||||
@@ -182,6 +188,7 @@ function LoadTemplate(name, path)
|
||||
-- love stuff
|
||||
newSource = love.audio.newSource,
|
||||
log = templateLog,
|
||||
|
||||
}
|
||||
|
||||
env._G = env
|
||||
|
||||
@@ -44,6 +44,11 @@ local function index(window, q, callback)
|
||||
}, imageHolder, plusLabel, imageHolder2)
|
||||
|
||||
useDefaultHandler(callback)
|
||||
|
||||
return {
|
||||
{imageA=IMAGE, description="First image to display"},
|
||||
{imageB=IMAGE, description="Second image to display"},
|
||||
}
|
||||
end
|
||||
|
||||
local function update(dt)
|
||||
|
||||
@@ -84,6 +84,11 @@ local function index(window, q, callback)
|
||||
end
|
||||
end,
|
||||
},confirm)
|
||||
|
||||
-- Return the expected types
|
||||
return {
|
||||
{choices=LIST, description="List of options"}
|
||||
}
|
||||
end
|
||||
|
||||
local function update(dt) -- time in seconds that has passed since
|
||||
|
||||
@@ -29,6 +29,11 @@ local function index(window, q, callback)
|
||||
imageHolder:setDualDim(0,0,imageHolder.imageWidth,imageHolder.imageHeight)
|
||||
|
||||
useDefaultHandler(callback)
|
||||
|
||||
-- Return the expected types
|
||||
return {
|
||||
{image=IMGAE, description="Image the question is about"}
|
||||
}
|
||||
end
|
||||
|
||||
local function update(dt) -- time in seconds that has passed since
|
||||
|
||||
@@ -44,6 +44,11 @@ local function index(window, q, callback)
|
||||
end)
|
||||
|
||||
useDefaultHandler(callback)
|
||||
|
||||
-- Return the expected types
|
||||
return {
|
||||
{sound=AUDIO, description="Sound that will be played"}
|
||||
}
|
||||
end
|
||||
|
||||
local function update(dt) -- time in seconds that has passed since
|
||||
|
||||
@@ -36,6 +36,11 @@ local function index(window, q, callback)
|
||||
video.XButton.visible = false
|
||||
|
||||
useDefaultHandler(callback)
|
||||
|
||||
-- Return the expected types
|
||||
return {
|
||||
{video=VIDEO, description="Video that will be played"}
|
||||
}
|
||||
end
|
||||
|
||||
local function update(dt) -- time in seconds that has passed since
|
||||
|
||||
@@ -73,6 +73,22 @@ local function index(window, q, callback)
|
||||
end)
|
||||
|
||||
useDefaultHandler(callback)
|
||||
|
||||
-- Return the expected types
|
||||
return {
|
||||
{
|
||||
zoom=IMAGE,
|
||||
description = "Full zoom in on an image"
|
||||
},
|
||||
{
|
||||
minzoom=IMAGE,
|
||||
description = "Minimum zoom before the full image is revealed"
|
||||
},
|
||||
{
|
||||
fullimage=IMAGE,
|
||||
description = "Full image to show"
|
||||
}
|
||||
}
|
||||
end
|
||||
|
||||
local function update(dt) -- time in seconds that has passed since
|
||||
|
||||
Reference in New Issue
Block a user