Evil stuff
This commit is contained in:
parent
a48dead3cc
commit
859fd960f0
5
.vscode/settings.json
vendored
Normal file
5
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"Lua.diagnostics.disable": [
|
||||
"different-requires"
|
||||
]
|
||||
}
|
14
main.lua
14
main.lua
@ -1,11 +1,11 @@
|
||||
local Height = 0
|
||||
local Width = 0
|
||||
|
||||
local myMath = require("modules.math")
|
||||
local myTypes = require("modules.types")
|
||||
local conductor = require("modules.conductor")
|
||||
local json = require("modules.json")
|
||||
local files = require("modules.files")
|
||||
local myMath = require("source.modules.math")
|
||||
local myTypes = require("source.modules.types")
|
||||
local conductor = require("source.modules.conductor")
|
||||
local json = require("source.modules.json")
|
||||
local files = require("source.modules.files")
|
||||
local socket = require("socket")
|
||||
|
||||
local newVector2 = myTypes.Vector2(10, 10)
|
||||
@ -17,6 +17,10 @@ local songDifficulty = "erect"
|
||||
|
||||
local chartString = files.read_file(string.format("charts/%s/%s-%s.json", songName, songName, songDifficulty))
|
||||
|
||||
if not chartString then
|
||||
error("Chart couldn't be loaded!")
|
||||
end
|
||||
|
||||
print(chartString)
|
||||
local chart = json.parse(chartString).song
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
local myMath = require("modules.math")
|
||||
local logging = require("modules.logging")
|
||||
local myMath = require("source.modules.math")
|
||||
local logging = require("source.modules.logging")
|
||||
|
||||
local conductor = {}
|
||||
conductor.bpm = 120
|
@ -1,6 +1,6 @@
|
||||
local module = {}
|
||||
|
||||
local myMath = require("modules.math")
|
||||
local myMath = require("source.modules.math")
|
||||
|
||||
local Vector2 = {}
|
||||
Vector2.__index = Vector2
|
Reference in New Issue
Block a user