2021-07-25 20:10:06 +02:00
|
|
|
|
2021-08-12 21:26:31 +02:00
|
|
|
local VolforceWindow = require('components.volforceWindow')
|
|
|
|
|
2021-08-31 19:52:02 +02:00
|
|
|
local Banner = require('gameplay.banner')
|
2021-08-31 18:24:48 +02:00
|
|
|
local CritLine = require('gameplay.crit_line')
|
|
|
|
local Console = require('gameplay.console')
|
2021-08-31 19:52:02 +02:00
|
|
|
local Gauge = require('gameplay.gauge')
|
2021-09-05 11:50:30 +02:00
|
|
|
local Chain = require('gameplay.chain')
|
2021-07-25 20:10:06 +02:00
|
|
|
|
2021-08-31 18:24:48 +02:00
|
|
|
local resx, resy = game.GetResolution()
|
|
|
|
local desw, desh;
|
|
|
|
local scale;
|
2021-08-30 18:51:47 +02:00
|
|
|
|
2021-09-05 11:50:30 +02:00
|
|
|
local chain = 0;
|
|
|
|
|
2021-08-31 18:24:48 +02:00
|
|
|
function resetLayoutInformation()
|
2021-08-30 18:51:47 +02:00
|
|
|
resx, resy = game.GetResolution()
|
2021-08-31 18:24:48 +02:00
|
|
|
desw = 1080
|
|
|
|
desh = 1920
|
2021-08-30 18:51:47 +02:00
|
|
|
scale = resx / desw
|
2021-07-25 20:10:06 +02:00
|
|
|
end
|
|
|
|
|
2021-08-31 18:24:48 +02:00
|
|
|
function render(deltaTime)
|
|
|
|
resetLayoutInformation();
|
|
|
|
gfx.Scale(scale, scale);
|
2021-08-31 19:52:02 +02:00
|
|
|
|
|
|
|
Banner.render(deltaTime);
|
|
|
|
Gauge.render(
|
|
|
|
deltaTime,
|
|
|
|
gameplay.gauge.type,
|
|
|
|
gameplay.gauge.value,
|
|
|
|
(game.GetSkinSetting('_gaugeARS') == 1)
|
|
|
|
);
|
2021-09-05 15:22:48 +02:00
|
|
|
Chain.render(deltaTime, gameplay.comboState, chain, gameplay.critLine.x, gameplay.critLine.y);
|
2021-08-30 18:51:47 +02:00
|
|
|
end
|
|
|
|
|
2021-08-31 18:24:48 +02:00
|
|
|
function render_crit_base(deltaTime)
|
|
|
|
CritLine.renderBase(deltaTime, gameplay.critLine.x, gameplay.critLine.y, -gameplay.critLine.rotation);
|
|
|
|
Console.render(deltaTime, gameplay.critLine.x, gameplay.critLine.y, -gameplay.critLine.rotation);
|
2021-07-25 20:10:06 +02:00
|
|
|
end
|
2021-08-30 18:51:47 +02:00
|
|
|
|
2021-08-31 18:24:48 +02:00
|
|
|
function render_crit_overlay(deltaTime)
|
2021-07-25 20:10:06 +02:00
|
|
|
|
|
|
|
end
|
2021-07-26 16:22:00 +02:00
|
|
|
|
2021-08-31 18:24:48 +02:00
|
|
|
function render_intro(deltaTime)
|
|
|
|
return true
|
2021-08-30 18:22:21 +02:00
|
|
|
end
|
2021-07-25 20:10:06 +02:00
|
|
|
|
2021-08-31 18:24:48 +02:00
|
|
|
function render_outro(deltaTime, clearState)
|
|
|
|
return true, 1
|
2021-08-30 18:51:47 +02:00
|
|
|
end
|
|
|
|
|
2021-08-31 18:24:48 +02:00
|
|
|
function update_score(newScore)
|
2021-08-30 18:51:47 +02:00
|
|
|
|
|
|
|
end
|
|
|
|
|
2021-08-31 18:24:48 +02:00
|
|
|
function update_combo(newCombo)
|
2021-09-05 11:50:30 +02:00
|
|
|
chain = newCombo
|
2021-08-30 18:51:47 +02:00
|
|
|
end
|
|
|
|
|
2021-08-31 18:24:48 +02:00
|
|
|
function near_hit(wasLate)
|
2021-08-30 18:51:47 +02:00
|
|
|
|
2021-08-30 18:22:21 +02:00
|
|
|
end
|
2021-08-30 18:51:47 +02:00
|
|
|
|
2021-08-31 18:24:48 +02:00
|
|
|
function button_hit(button, rating, delta)
|
2021-08-30 18:51:47 +02:00
|
|
|
|
2021-08-31 18:24:48 +02:00
|
|
|
end
|
2021-08-30 18:51:47 +02:00
|
|
|
|
2021-08-31 18:24:48 +02:00
|
|
|
function laser_slam_hit(slamLength, startPos, endPost, index)
|
2021-08-30 18:51:47 +02:00
|
|
|
|
2021-08-31 18:24:48 +02:00
|
|
|
end
|
2021-08-30 18:51:47 +02:00
|
|
|
|
2021-08-31 18:24:48 +02:00
|
|
|
function laser_alert(isRight)
|
2021-08-30 18:51:47 +02:00
|
|
|
|
2021-07-25 20:10:06 +02:00
|
|
|
end
|
|
|
|
|
2021-08-31 18:24:48 +02:00
|
|
|
function practice_start(mission_type, mission_threshold, mission_description)
|
2021-07-25 20:10:06 +02:00
|
|
|
|
|
|
|
end
|
|
|
|
|
2021-08-31 18:24:48 +02:00
|
|
|
function practice_end_run(playCount, successCount, isSuccessful, scoring)
|
2021-07-25 20:10:06 +02:00
|
|
|
|
|
|
|
end
|
2021-08-12 21:26:31 +02:00
|
|
|
|
2021-08-31 18:24:48 +02:00
|
|
|
function practice_end(playCount, successCount)
|
2021-07-25 20:10:06 +02:00
|
|
|
|
|
|
|
end
|
|
|
|
|