Compare commits
3 Commits
85d883a144
...
7020620496
Author | SHA1 | Date |
---|---|---|
Jill | 7020620496 | |
Jill | 6d75cade25 | |
Jill | ede5d69c8c |
|
@ -0,0 +1 @@
|
|||
release.lua
|
4
main.xml
4
main.xml
|
@ -750,6 +750,10 @@
|
|||
self:luaeffect('Update')
|
||||
end
|
||||
|
||||
if not pcall(function() oat._release = require('release') end) then
|
||||
oat._release = require('release_blank')
|
||||
end
|
||||
|
||||
local success, result = pcall(function()
|
||||
require('main')
|
||||
end)
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
-- If fields of this are missing, you likely forgot to run update-release.sh
|
||||
-- If they're missing and you're an end user, you likely downloaded an unstable release through the repository
|
||||
|
||||
return {
|
||||
branch = 'unknown',
|
||||
commit = 'unknown',
|
||||
version = 'unknown',
|
||||
|
||||
name = 'uranium',
|
||||
prettyName = 'Uranium Template',
|
||||
homeURL = 'https://git.oat.zone/oat/uranium-template'
|
||||
}
|
|
@ -1,4 +1,13 @@
|
|||
require('stdlib.players')
|
||||
|
||||
return function()
|
||||
if P1 then
|
||||
P1:SetNoteDataFromLua({})
|
||||
end
|
||||
if P2 then
|
||||
P2:SetNoteDataFromLua({})
|
||||
end
|
||||
|
||||
function uranium.update()
|
||||
if b >= 1 then
|
||||
GAMESTATE:SetSongBeat(b % 1)
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
local max_pn = 8
|
||||
|
||||
---@type Player[]
|
||||
P = {}
|
||||
-- for type declarations
|
||||
---@type Player
|
||||
P1 = nil
|
||||
---@type Player
|
||||
P2 = nil
|
||||
---@type Player
|
||||
P3 = nil
|
||||
---@type Player
|
||||
P4 = nil
|
||||
---@type Player
|
||||
P5 = nil
|
||||
---@type Player
|
||||
P6 = nil
|
||||
---@type Player
|
||||
P7 = nil
|
||||
---@type Player
|
||||
P8 = nil
|
||||
|
||||
for pn = 1, max_pn do
|
||||
local player = SCREENMAN('PlayerP' .. pn)
|
||||
oat['P' .. pn] = player
|
||||
P[pn] = player
|
||||
end
|
Loading…
Reference in New Issue