move files to folders n stuff
|
@ -1,6 +1,6 @@
|
|||
# Box of Eases (working title)
|
||||
|
||||
![logo](./logo.png)
|
||||
![logo](./docs/logo.png)
|
||||
|
||||
A simple Love2D application to create, preview and mix eases, meant for NITG modding.
|
||||
|
||||
|
@ -14,9 +14,9 @@ Then launch the game like so: https://love2d.org/wiki/Getting_Started#Running_Ga
|
|||
|
||||
## Screenshots
|
||||
|
||||
![Previewing eases](./screenshot1.png)
|
||||
![Previewing eases](./docs/screenshot1.png)
|
||||
|
||||
![Mixing eases](./screenshot2.png)
|
||||
![Mixing eases](./docs/screenshot2.png)
|
||||
|
||||
## Attributions
|
||||
|
||||
|
|
Before Width: | Height: | Size: 166 B After Width: | Height: | Size: 166 B |
Before Width: | Height: | Size: 196 B After Width: | Height: | Size: 196 B |
Before Width: | Height: | Size: 132 B After Width: | Height: | Size: 132 B |
Before Width: | Height: | Size: 175 B After Width: | Height: | Size: 175 B |
Before Width: | Height: | Size: 177 B After Width: | Height: | Size: 177 B |
Before Width: | Height: | Size: 168 B After Width: | Height: | Size: 168 B |
Before Width: | Height: | Size: 159 B After Width: | Height: | Size: 159 B |
Before Width: | Height: | Size: 209 B After Width: | Height: | Size: 209 B |
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 75 KiB |
Before Width: | Height: | Size: 112 KiB After Width: | Height: | Size: 112 KiB |
16
main.lua
|
@ -4,15 +4,15 @@ for k, v in pairs(_G) do
|
|||
end
|
||||
|
||||
love.graphics.setDefaultFilter('nearest', 'nearest')
|
||||
interfaceFont = love.graphics.newFont('Inter-Regular.otf', 20)
|
||||
interfaceFont = love.graphics.newFont('assets/fonts/Inter-Regular.otf', 20)
|
||||
|
||||
ease = require 'ease'
|
||||
ease = require 'src.ease'
|
||||
|
||||
slider = require 'slider'
|
||||
dropdown = require 'dropdown'
|
||||
graph = require 'graph'
|
||||
button = require 'button'
|
||||
tooltips = require 'tooltips'
|
||||
slider = require 'src.slider'
|
||||
dropdown = require 'src.dropdown'
|
||||
graph = require 'src.graph'
|
||||
button = require 'src.button'
|
||||
tooltips = require 'src.tooltips'
|
||||
|
||||
modes = {
|
||||
preview = 1,
|
||||
|
@ -27,7 +27,7 @@ function createUI()
|
|||
button.createButtons()
|
||||
end
|
||||
|
||||
require 'util' -- exports into global table
|
||||
require 'src.util' -- exports into global table
|
||||
|
||||
-- rendering constants
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
local self = {}
|
||||
|
||||
local icon = {
|
||||
inease = love.graphics.newImage('inease-icon.png'),
|
||||
outease = love.graphics.newImage('outease-icon.png'),
|
||||
inoutease = love.graphics.newImage('inoutease-icon.png'),
|
||||
transientease = love.graphics.newImage('transientease-icon.png'),
|
||||
unknownease = love.graphics.newImage('unknownease-icon.png'),
|
||||
linearease = love.graphics.newImage('linearease-icon.png'),
|
||||
instantease = love.graphics.newImage('instantease-icon.png'),
|
||||
pulseease = love.graphics.newImage('pulseease-icon.png'),
|
||||
inease = love.graphics.newImage('assets/textures/inease-icon.png'),
|
||||
outease = love.graphics.newImage('assets/textures/outease-icon.png'),
|
||||
inoutease = love.graphics.newImage('assets/textures/inoutease-icon.png'),
|
||||
transientease = love.graphics.newImage('assets/textures/transientease-icon.png'),
|
||||
unknownease = love.graphics.newImage('assets/textures/unknownease-icon.png'),
|
||||
linearease = love.graphics.newImage('assets/textures/linearease-icon.png'),
|
||||
instantease = love.graphics.newImage('assets/textures/instantease-icon.png'),
|
||||
pulseease = love.graphics.newImage('assets/textures/pulseease-icon.png'),
|
||||
}
|
||||
|
||||
local dropdowns = {}
|
|
@ -1,6 +1,6 @@
|
|||
local self = {}
|
||||
|
||||
local easelib = require 'easelib'
|
||||
local easelib = require 'src.easelib'
|
||||
|
||||
function self.mixEase(e1, e2, point, param1, param2)
|
||||
if not point then point = 0.5 end
|