From 8285dc2b0cb5eae93e9532d9a6c4c75f3dcaafab Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 13 Sep 2017 04:09:08 +0200 Subject: Renamed clouds animation file as animations aren't only for maps --- config/animations/clouds-default.lua | 18 ++++++++++++++++++ config/animations/default-clouds.lua | 18 ------------------ config/maps/default.lua | 2 +- 3 files changed, 19 insertions(+), 19 deletions(-) create mode 100644 config/animations/clouds-default.lua delete mode 100644 config/animations/default-clouds.lua (limited to 'config') diff --git a/config/animations/clouds-default.lua b/config/animations/clouds-default.lua new file mode 100644 index 0000000..bbf8a28 --- /dev/null +++ b/config/animations/clouds-default.lua @@ -0,0 +1,18 @@ +return +{ + default = { + [1] = love.graphics.newQuad( 1, 1, 158,47, 478,49), + frames = 1, + repeated = true + }, + default2 = { + [1] = love.graphics.newQuad(160, 1, 158,47, 478,49), + frames = 1, + repeated = true + }, + default3 = { + [1] = love.graphics.newQuad(319, 1, 158,47, 478,49), + frames = 1, + repeated = true + } +} diff --git a/config/animations/default-clouds.lua b/config/animations/default-clouds.lua deleted file mode 100644 index bbf8a28..0000000 --- a/config/animations/default-clouds.lua +++ /dev/null @@ -1,18 +0,0 @@ -return -{ - default = { - [1] = love.graphics.newQuad( 1, 1, 158,47, 478,49), - frames = 1, - repeated = true - }, - default2 = { - [1] = love.graphics.newQuad(160, 1, 158,47, 478,49), - frames = 1, - repeated = true - }, - default3 = { - [1] = love.graphics.newQuad(319, 1, 158,47, 478,49), - frames = 1, - repeated = true - } -} diff --git a/config/maps/default.lua b/config/maps/default.lua index 216e703..8bb5ebc 100644 --- a/config/maps/default.lua +++ b/config/maps/default.lua @@ -15,7 +15,7 @@ return create = { { clouds = "assets/clouds.png", - animations = "default-clouds" + animations = "clouds-default" }, { ratio = 0, -- cgit v1.1