Invalid escape sequence near ""
Posted: Wed Nov 18, 2015 5:46 pm
Hey Everyone,
I'v been trying to implement 'splashy' (https://github.com/karai17/splashy) - a graphical library for creating splash screens, but got the error
My main.lua looks like this - let me know if you need anything else. How can I stop this? am I just doing the formatting of the file path wrong?
Thanks!
I'v been trying to implement 'splashy' (https://github.com/karai17/splashy) - a graphical library for creating splash screens, but got the error
Code: Select all
Invalid escape sequence near ""
Thanks!
Code: Select all
require "player"
require "camera"
splashy = require "\lib\splashy\init"
function love.load()
player.load()
splashy.drawn = 0
electroSplash = love.graphics.newImage("\imgs\splash\electroSplash.png")
end
function love.update(dt)
splashy.update(dt)
end
function love.draw()
splashy.draw()
--draw splash screen
splashy.addSplash(electroSplash)
end