Added game icon and changed README.md
This commit is contained in:
parent
2e96933c7a
commit
7814b9cf66
10
README.md
10
README.md
@ -1,3 +1,11 @@
|
||||
# FNFLove
|
||||
|
||||
FNF written in Lua : Love2d
|
||||
FNF written in Lua : Love2d
|
||||
|
||||
# HOW TO USE
|
||||
|
||||
Download LOVE for your device: https://love2d.org/
|
||||
|
||||
Download, unarchive and run with your device executable:
|
||||
- windows.bat (Windows)
|
||||
- linux.sh (linux)
|
1
conf.lua
1
conf.lua
@ -1,3 +1,4 @@
|
||||
function love.conf(t)
|
||||
t.window.title = "FNFLove2D"
|
||||
t.window.icon = "icon.png"
|
||||
end
|
19
main.lua
19
main.lua
@ -34,21 +34,6 @@ conductor:mapBpmChanges(chart)
|
||||
local step = 0
|
||||
local beat = 0
|
||||
|
||||
local graphics = {
|
||||
}
|
||||
|
||||
function loadGraphic(graphic)
|
||||
if graphic.graphics == love.graphics.newImage then
|
||||
graphic.loaded = love.graphics.newImage(graphic.path)
|
||||
end
|
||||
|
||||
if graphic.children then
|
||||
for index, graphicChild in next, graphic.children do
|
||||
loadGraphic(graphicChild)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
local playing = false
|
||||
|
||||
local characters = {}
|
||||
@ -77,7 +62,6 @@ local holded = {
|
||||
}
|
||||
|
||||
local receptors = {
|
||||
|
||||
}
|
||||
|
||||
function love.load()
|
||||
@ -94,11 +78,10 @@ function love.load()
|
||||
table.insert(unspawnedNotes, newNote)
|
||||
end
|
||||
end
|
||||
|
||||
for i = 0, 3 do
|
||||
local receptor = myTypes.Sprite("sprites/NOTE_assets.png", "sprites/NOTE_assets.json", false)
|
||||
receptor:PlayAnimation("arrow"..directions[i+1], 25, false)
|
||||
|
||||
|
||||
receptor.position = myTypes.Vector2(100 + (65 * i), 0)
|
||||
|
||||
receptor.ui = true -- So it doesnt move with the camera.
|
||||
|
Reference in New Issue
Block a user