Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Wanna try this? https://www.mediafire.com/file/7no7jwubf98jakr/Spellrazor.app.zip/file

(3 edits)

Thanks. Unfortunately still getting the exact same error (literally character-for-character the same) with the .love file from that archive. Please don't feel obligated to troubleshoot this for my sake; I do have a perfectly acceptable way of playing the game with wine. :)

If you do have a linux system handy, it would be interesting whether you're getting the same error with the AppImage from https://love2d.org/ which should guarantee the same environment. From my cursory glance through the docs at https://love2d.org/wiki/love.graphics.newCanvas, it appears you're trying to invoke newCanvas in a way that was removed in 11.0, so I'm honestly surprised to hear that you have it working with 11.2 at all.

EDIT:

I can confirm that running the following sed command seems to fix things without any glaring issues for love 11.2:

sed -i 's/, \?gCanvasMode, \?0//' main.lua

Nevermind. You just end up with a new error once you get past the main menu:

Error
game/StateGame.lua:179: bad argument #2 to 'newSource' (string expected, got no value)
Traceback
[C]: in function 'newSource'
game/StateGame.lua:179: in function 'switch'
game/StateMenu.lua:404: in function 'startGameFromMenu'
game/StateMenu.lua:383: in function <game statemenu.lua:380="">
library/CWindowDialog.lua:42: in function 'keypressed'
main.lua:773: in function <main.lua:747>
[C]: in function 'xpcall'</main.lua:747></game>

To me it looks like, it's probably best to either just recommend wine for linux users or actually create an appimage as described at https://love2d.org/wiki/Game_Distribution.