From 0593330ebe1c64a2a8c4eecc90f100afb3be497b Mon Sep 17 00:00:00 2001 From: nucular Date: Wed, 2 Mar 2016 00:37:06 +0100 Subject: [PATCH] LoveFrames doesn't support 0.10.0 --- README.md | 4 +++- demo/conf.lua | 4 ++-- demo/main.lua | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4e7ce83..1fbebfa 100644 --- a/README.md +++ b/README.md @@ -13,13 +13,15 @@ To run the demo application you first need to download git submodule update --init love demo ``` +Note: Due to LoveFrames only supporting LÖVE 0.9.x, this dependency is inherited +by the demo. A move to a new GUI framework is pending. Example usage ------------- These examples should play a randomly generated sound. -With [LÖVE](http://love2d.org) 0.9.x: +With [LÖVE](http://love2d.org): ```lua local sfxr = require("sfxr") diff --git a/demo/conf.lua b/demo/conf.lua index bd7f82b..c94e801 100644 --- a/demo/conf.lua +++ b/demo/conf.lua @@ -1,6 +1,6 @@ function love.conf(t) - t.version = "0.9.0" + t.version = love._version:match("0%.9%.%d+") or "0.9.x" t.window.width = 640 t.window.height = 600 t.window.title = "sfxr.lua Demo" -end \ No newline at end of file +end diff --git a/demo/main.lua b/demo/main.lua index 6c6794e..7136455 100644 --- a/demo/main.lua +++ b/demo/main.lua @@ -372,7 +372,7 @@ function createActionButtons() :Center() :SetVisible(false) :SetModal(false) - + local frl = lf.Create("columnlist", fr) :SetPos(5, 30) :SetSize(390, 235) @@ -647,7 +647,7 @@ function love.load() require("loveframes") lf = loveframes lf.util.SetActiveSkin("Orange") - + love.graphics.setBackgroundColor(200, 200, 200) if not love.filesystem.isDirectory("sounds") then