Page 1 of 1

Issues Using my own game.love

Posted: Thu Mar 27, 2014 12:10 am
by Noobulater
So I've just started working with the android love port,
But I can't seem to get my game to run, is there anything wrong with this file structure ?

https://love2d.org/imgmirrur/qJbNdlJ.png

( I am using org.love2d.android )

Also I am not compiling using Eclipse, I am using the correct system with the .bat files

Re: Issues Using my own game.love

Posted: Mon Mar 31, 2014 8:14 pm
by fysx
Yes. The assets directory that contains game.love must not be a subdirectory of src/ instead it must be in love_android_sdl2/assets.

Re: Issues Using my own game.love

Posted: Sat Apr 05, 2014 9:10 pm
by Noobulater
Alright so I changed the setup, but I'm still having issues, doesn't seem to be loading the game file.

any suggestions?

https://love2d.org/imgmirrur/Dyi9qYy.png

I made game.love by zipping my game folder, I then opened it using Notepad and saved it as a .love file

Re: Issues Using my own game.love

Posted: Sun Apr 06, 2014 5:15 pm
by T-Bone
Noobulater wrote:Alright so I changed the setup, but I'm still having issues, doesn't seem to be loading the game file.

any suggestions?

https://love2d.org/imgmirrur/Dyi9qYy.png

I made game.love by zipping my game folder, I then opened it using Notepad and saved it as a .love file
I'm not sure how Notepad deals with formatting of binary data. Try zipping it again and just renaming it (right click -> rename). Also, try to run it with regular LÖVE on your computer before trying with the Android port, if it works on your computer it should work on Android as well.

Re: Issues Using my own game.love

Posted: Sun Apr 06, 2014 5:44 pm
by Noobulater
Hahah Excellent! it worked, I just got an error screen, but I can fix that! Thanks guys!