move files to folders n stuff

This commit is contained in:
jill 2021-09-19 15:16:40 +03:00
parent f9cf276952
commit dfc2bacc29
22 changed files with 20 additions and 20 deletions

View file

@ -1,6 +1,6 @@
# Box of Eases (working title) # 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. 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 ## Screenshots
![Previewing eases](./screenshot1.png) ![Previewing eases](./docs/screenshot1.png)
![Mixing eases](./screenshot2.png) ![Mixing eases](./docs/screenshot2.png)
## Attributions ## Attributions

View file

Before

Width:  |  Height:  |  Size: 166 B

After

Width:  |  Height:  |  Size: 166 B

View file

Before

Width:  |  Height:  |  Size: 196 B

After

Width:  |  Height:  |  Size: 196 B

View file

Before

Width:  |  Height:  |  Size: 132 B

After

Width:  |  Height:  |  Size: 132 B

View file

Before

Width:  |  Height:  |  Size: 175 B

After

Width:  |  Height:  |  Size: 175 B

View file

Before

Width:  |  Height:  |  Size: 177 B

After

Width:  |  Height:  |  Size: 177 B

View file

Before

Width:  |  Height:  |  Size: 168 B

After

Width:  |  Height:  |  Size: 168 B

View file

Before

Width:  |  Height:  |  Size: 159 B

After

Width:  |  Height:  |  Size: 159 B

View file

Before

Width:  |  Height:  |  Size: 209 B

After

Width:  |  Height:  |  Size: 209 B

View file

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View file

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 75 KiB

View file

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 112 KiB

View file

@ -4,15 +4,15 @@ for k, v in pairs(_G) do
end end
love.graphics.setDefaultFilter('nearest', 'nearest') 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' slider = require 'src.slider'
dropdown = require 'dropdown' dropdown = require 'src.dropdown'
graph = require 'graph' graph = require 'src.graph'
button = require 'button' button = require 'src.button'
tooltips = require 'tooltips' tooltips = require 'src.tooltips'
modes = { modes = {
preview = 1, preview = 1,
@ -27,7 +27,7 @@ function createUI()
button.createButtons() button.createButtons()
end end
require 'util' -- exports into global table require 'src.util' -- exports into global table
-- rendering constants -- rendering constants

View file

@ -1,14 +1,14 @@
local self = {} local self = {}
local icon = { local icon = {
inease = love.graphics.newImage('inease-icon.png'), inease = love.graphics.newImage('assets/textures/inease-icon.png'),
outease = love.graphics.newImage('outease-icon.png'), outease = love.graphics.newImage('assets/textures/outease-icon.png'),
inoutease = love.graphics.newImage('inoutease-icon.png'), inoutease = love.graphics.newImage('assets/textures/inoutease-icon.png'),
transientease = love.graphics.newImage('transientease-icon.png'), transientease = love.graphics.newImage('assets/textures/transientease-icon.png'),
unknownease = love.graphics.newImage('unknownease-icon.png'), unknownease = love.graphics.newImage('assets/textures/unknownease-icon.png'),
linearease = love.graphics.newImage('linearease-icon.png'), linearease = love.graphics.newImage('assets/textures/linearease-icon.png'),
instantease = love.graphics.newImage('instantease-icon.png'), instantease = love.graphics.newImage('assets/textures/instantease-icon.png'),
pulseease = love.graphics.newImage('pulseease-icon.png'), pulseease = love.graphics.newImage('assets/textures/pulseease-icon.png'),
} }
local dropdowns = {} local dropdowns = {}

View file

@ -1,6 +1,6 @@
local self = {} local self = {}
local easelib = require 'easelib' local easelib = require 'src.easelib'
function self.mixEase(e1, e2, point, param1, param2) function self.mixEase(e1, e2, point, param1, param2)
if not point then point = 0.5 end if not point then point = 0.5 end