1
0
mirror of synced 2024-12-01 02:27:21 +01:00
OpenTaiko/Test/BGScriptAPI.lua

28 lines
679 B
Lua
Raw Normal View History

local playerCount = 0
local p1IsBlue = false
local fps = 0
local deltaTime = 0
local isClear = { false, false, false, false, false }
local towerNightNum = 0
local battleState = 0
2023-02-22 09:24:21 +01:00
local battleWin = false
2023-02-24 19:36:32 +01:00
local gauge = { 0, 0, 0, 0, 0 }
local bpm = { 0, 0, 0, 0, 0 }
function setConstValues(_playerCount, _p1IsBlue)
playerCount = _playerCount
p1IsBlue = _p1IsBlue
end
2023-02-24 19:36:32 +01:00
function updateValues(_deltaTime, _fps, _isClear, _towerNightNum, _battleState, _battleWin, _gauge, _bpm)
deltaTime = _deltaTime
fps = _fps
isClear = _isClear
towerNightNum = _towerNightNum
battleState = _battleState
2023-02-22 09:24:21 +01:00
battleWin = _battleWin
2023-02-24 19:36:32 +01:00
gauge = _gauge
bpm = _bpm
end