Will you beat 10 seconds? by Urfoex

[raw]
made by Urfoex for LD27 (JAM)
Can you shake it?

This one will make you sweat.

It's plain simple:
You rotate and shake your android device till all balls are gone.


1) Put the Android APK on your device.
Then install it by opening it the apk.
With update 4 all needed libraries should be included.
---After installing run the controller. It wants to download some files via Ministro - it might take a bit. Ministro is providing some shared Qt libraries.---
(Thanks caranha for mentioning)
2) Load the the game on your computer.
3) Start the Android controller in listening mode.
4) Start the game.
5) Get ready to shake!
6) Push any key on your keyboard.
7) Shake it!
8) Rotate it!
9) Shake it!

You lose when the lower lane is full with balls.
You win when there are no balls left.

Hint: Turn off your screen / cover it to not accidentally touch something and disconnect.


Have fun!


PS: Colors matter!
Green kills Green. Red kills Red. Blue kills Blue.
And Yellow can be killed by all three.

PPS: How long did you last and how much points did you get?
Let it in the comments ;-)


PPPS: Could anyone please help porting to Windows & Mac (&iPhone?)?


Update 1:
-> It starts in fullscreen now.
-> Connecting to your device is done in the start-screen now.

Update 2:
-> Made a Windows port via mingw cross-compile. Does it work on Windows?

Update 3:
-> Resizing Android GUI. It should fit now on all screens. But you now really need to cover it up to not accidentally touch any button.


Info:
-> Thanks a lot caranha (http://www.ludumdare.com/compo/ludum-dare-27/?action=preview&uid=7847) for making a video! I've put it in the top.

-> There is now an image that shows the axis that are used to move your balls. The Binding is XYZ to RGB. X - Red , Y - Green, Z - Blue. Hope that helps a bit.


Update 4:
-> You can now restart via R or SPACE.
-> The android controller is now separate! But includes (hopefully) all needed libraries.

Ratings

Coolness 100% 1
Overall(Jam) 2.63 500
Audio(Jam) 2.00 464
Fun(Jam) 2.38 491
Graphics(Jam) 1.84 591
Humor(Jam) 1.88 420
Innovation(Jam) 3.58 72
Mood(Jam) 2.18 511
Theme(Jam) 2.65 477

Feedback

matthias_zarzecki
27. Aug 2013 路 07:07 UTC
Linux + android only? Bold setup. Hope this gets found!
zanval
27. Aug 2013 路 12:45 UTC
I tested this on Ubuntu 13.04 with Android 4.1.2.

I had a bug that the rendering ingame froze for some seconds regularly, so it was not fully playable for me.
(Also the window size is too big for my notebook. My total height is 768)

Now to the game:
The controls are very impressive from a programmers view.
The controls themself worked very smooth for me and reacted very fast.

I can imagine such a game being a lot of fun with multiplayer!
Reminds me of Wii Gameplay.
馃帳 Urfoex
28. Aug 2013 路 10:47 UTC
Thanks for the comments!

I currently am not able to compile other builds then Android and Linux :-(
But I would put them here if somebody could build them ;-)

I fixed the initial game freeze by putting the network connection in the start screen. It might also reduce freezings in game.

Also it now starts in fullscreen mode so it should fit *any* screen size.
Tainted_Code
28. Aug 2013 路 12:40 UTC
Ahaha, I have an Android Device, was cool ;D
Jimanzium
28. Aug 2013 路 15:46 UTC
No linux or android here :/ You could link an android emulator or virtual linux machine,
Starspell
28. Aug 2013 路 17:28 UTC
An emulator would be great, I can't play this either unfortunately.
shockedfrog
28. Aug 2013 路 17:55 UTC
Sounds fun, looking forward to trying this if someone makes a Windows version. :)
Meep
28. Aug 2013 路 19:32 UTC
Would be nice if you could put up a gameplay video for those without android/linue. :)
馃帳 Urfoex
28. Aug 2013 路 20:07 UTC
Sorry people, Android emulator would make no sense because it's about using the sensors(rotation and acceleration).

I made a mingw cross-compile for Windows. But I don't know if it works right :-( (In wine it nearly does.)
Supercannon
28. Aug 2013 路 20:14 UTC
Doesn't look like the windows version works for me. The device never finds a connection, it just listens forever.
Supercannon
28. Aug 2013 路 20:28 UTC
Okay, after typing in my IP manually it worked. Overall the idea was good, but the controls were kind of confusing. After I got the hang of it, it was pretty fun. Great entry for 72 hours!
killerstarbunny
28. Aug 2013 路 21:35 UTC
How do I start this with android
Croze
28. Aug 2013 路 22:01 UTC
I have a windows, so I couldn't play :P
馃帳 Urfoex
28. Aug 2013 路 22:47 UTC
@killerstarbunny:
You need both: an android device and a pc.
You download the version for your OS.
Extract it.
There is an android apk inside.
Put that on to your device. Install it there.
In the extracted files there is an executable. Open it.
You will get greeted.
Now launch the app on your device. It's the "LD27-Android-Controller".
Your PC should now show a message that your device is connected.
If your device is still listening then you might wanna insert the IP of your PC yourself and then click "connect".
At least now your computer should show the message and you should press any key to continue.
TaleLore
29. Aug 2013 路 00:02 UTC
Haha odd. Froze at first for me.
Serilyn
29. Aug 2013 路 01:13 UTC
Very interesting game and neat choice of controller. However it was an exercise in frustration for me. The buttons on the android program were very small on my phone(HTC One), like 2mm high, and the text about IP and connect status was half off the screen. It would be nice to have a restart option on the exe because when I had to quit and restart every time I lost I would have to reconnect the phone.
dagothig
29. Aug 2013 路 02:49 UTC
I agree with Meep, a video of the game would definitively be nice, since I don't own an Android device :/, but this looks quite interesting :D!
Spiridios
29. Aug 2013 路 03:07 UTC
The Android app's GUI is unplayable on a Galaxy S4 - all the controls are grouped together on the side of the screen not allowing me to interact with any of them.
馃帳 Urfoex
29. Aug 2013 路 09:54 UTC
Update 3: Made the Android GUI scale to the screen. Everything is now BIG on my tablet. I hope that it now also is big enough for phones.

Will check for the restart-option a bit later.

Thanks for all the feedback so far!
Arrow-x
29. Aug 2013 路 11:09 UTC
it will be great if I can play it
lcarpentier
29. Aug 2013 路 14:19 UTC
Bookmarked, I need to try that at home!
caranha
29. Aug 2013 路 16:25 UTC
Heh, you did something truly unique here, I salute you!

To be quite honest, I didn't have much fun - the controllers were kinda hard to understand. But I totally respect what you did :-) I hope you have time to develop the context further.

Maybe make the game a bit slower, so that the player has time to learn how to control the shooters, instead of just randomly shaking the controller, would help in the fun aspect. Sound effects would also make a world of difference!

Now, from one android developer to another: Do you REALLY need to ask for "read phone status permission"? That is a super invasive permission, and you don't really need it for a game.

Oh, here is a small video of me playing your game (just the desktop side though):
http://youtu.be/P1_PckO074s
馃帳 Urfoex
29. Aug 2013 路 17:40 UTC
Thanks a lot caranha!
I've put your video in the links on top.

The balls are falling a bit "weird" in your video. On Linux it's much smoother. I guess I need to make a proper video of that to show the difference. But you might already see a difference to the screenshot I made. For a better version I need to investigate in that a bit further *somehow*.


It was my first Android thing I pushed to others.
Just got in contact with it.
I'm using Qt for it. And I haven't really done any "android things" there. It's just writing native C++ code and then you choose your target - Desktop or Android. So I don't really know about the permission status and how to minimize those.
Will try to remove it.
(I also should try to include all Qt libs so there is no need for Ministro.)


Yeah, playing for the first time is a bit strange.
I definitely should put some training levels before, that let you experience each axis on its own.
Starspell
29. Aug 2013 路 19:14 UTC
An interesting concept. I'm glad that the youtube video can show it to those of us without the correct devices. I like the idea of the different axis acting on it. An nice innovative idea.
馃帳 Urfoex
29. Aug 2013 路 22:31 UTC
Update 4 is on.
- The android controller apk is now an extra package. It is bigger and contains needed libs. So no need for Ministro.
- The min Android version is now 2.3.3 (API level 10). That removes "read phone status permission" question.
- You can now restart the game with "R" or SPACE.
namrog84
30. Aug 2013 路 09:55 UTC
although I got it working on android, I would have liked it on windows with windows controls or any desktop would have been fine. was interesting
ratalaika
30. Aug 2013 路 15:12 UTC
good job
crueltear
02. Sep 2013 路 21:32 UTC
Android, huh? Well, at least it's not some kind of unknown system (make one for bada or keyboard/mouse and i'll be happy d; )
Towanime
11. Sep 2013 路 21:56 UTC
I really liked the idea of using the Android device as a controller but I admit I had a hard time figuring out which movements affected which ballls.

I made it to 44 seconds!
Qaterknan
15. Sep 2013 路 19:41 UTC
I was quite amazed by the idea of Android controller. Good stuff, man.
RawBits
16. Sep 2013 路 17:58 UTC
The controller says right after I start it: "Your application encountered a fatal error and cannot continue." :(

Galaxy mini 2 - Gingerbread