Page 1 of 1
Android game development
Posted: Tue Jan 31, 2017 12:47 pm
by joker
Hey, I am new to LOVE. I want to start by building a simple Android game. Can you suggest few tutorials for Android game development.
I want to learn touch events, sprite animation, GUI elements (buttons, checkboxes, scrolling), scene management (overlays, remove, restart scene), saving and loading files.
I know the basics and a little bit of physics. I have even made a game before in corona SDK. Please help me make the transition.to LOVE easier.
Re: Android game development
Posted: Wed Feb 01, 2017 5:06 am
by joker
How do I make an Android game for different screen sizes? I need the whole content to scale according to the screen resolution.
I am using anim8 for animation. It is a cool library. All I need now is an quick way of handling touch events, a widget library, scene management and save and load files.
Re: Android game development
Posted: Wed Feb 01, 2017 2:46 pm
by joker
I am having trouble following these instructions
https://bitbucket.org/MartinFelis/love- ... id_-_Linux
When I run ndk-build on android-sdl2 I get this error.
make: ~/bin/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86/bin/arm-linux-androideabi-g++: Command not found
~/bin/android-ndk-r13b/build/core/build-binary.mk:499: recipe for target 'obj/local/armeabi/objs/love/src/love.o' failed
make: *** [obj/local/armeabi/objs/love/src/love.o] Error 127
What am I doing wrong?
Re: Android game development
Posted: Fri Feb 10, 2017 4:33 pm
by bobbyjones
What version of ndk are you using? also those instructions worked for me when i originally set up my build server.
Re: Android game development
Posted: Sat Feb 11, 2017 7:45 am
by Positive07
Can you also give us information of your system? What architecture is your processor? Which version and flavor of Linux you are running on? What Java Development Kit are you using, Oracle's or Open?
Re: Android game development
Posted: Tue Feb 21, 2017 6:15 am
by xypotion
Er, hello! Mind if I co-opt this thread for a minute? I'm ALSO having trouble getting through the Android wiki's build instructions at
https://bitbucket.org/MartinFelis/love- ... -_Mac_OS_X (Mac, not Linux). My two problems are:
1. I couldn't get the r9d NDK, so I just downloaded the latest from
https://developer.android.com/ndk/downloads/index.html. Am I gonna be OK? The oldest they have available in the official archives is r10e, and I get a 403 error when I try to get r9d from
https://web.archive.org/web/20140625232 ... index.html. Really hope this isn't a dealbreaker.
2. I can't
git clone git@bitbucket.org:MartinFelis/love-android-sdl2.git. When I try, I get "fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists". I see that the repo exists at
https://bitbucket.org/MartinFelis/love-android-sdl2.git. Do I need a Bitbucket account? Or am I doing something wrong?
Re: Android game development
Posted: Tue Feb 21, 2017 7:24 am
by Positive07
I told him to download an older version because he had a 32 bits Linux which Android NDK deprecated since r10 and onwards. In Mac and Windows you can always use the newest (and that is actually recommended).
You can try to use
git clone https://bitbucket.org/MartinFelis/love-android-sdl2.git instead, that should also work. I have no idea why it failed to you
Re: Android game development
Posted: Tue Feb 21, 2017 6:26 pm
by xypotion
HTTPS worked! Thanks.
And OK, good, regarding the NDK. I was worried I wouldn't be able to do this at all without r9d. 32b vs 64b... that's an important detail! Maybe I'll make an account and update that wiki page once I get this working.
Thanks for your help!
Re: Android game development
Posted: Tue Feb 21, 2017 6:37 pm
by Positive07
Yeah, versions are outdated, newer versions should always work