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.
Android game development
Re: Android game development
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.
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
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?
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?
-
- Party member
- Posts: 730
- Joined: Sat Apr 26, 2014 7:46 pm
Re: Android game development
What version of ndk are you using? also those instructions worked for me when i originally set up my build server.
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: Android game development
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?
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Re: Android game development
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?
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?
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: Android game development
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
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
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Re: Android game development
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!
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!
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: Android game development
Yeah, versions are outdated, newer versions should always work
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Who is online
Users browsing this forum: No registered users and 4 guests