Page 3 of 4

Re: SuperTuxKart for Android?

PostPosted: 14 Feb 2018, 21:21
by Mr.XX99
Sorry for this many questions and thank you for your reply :)

I see the button names ("Up", "Down", "Left", "Right", "Return", "Escape", and 3 = X-Button, 4 = Y-Button, 6 = L1, 7 = R1) .
My controller does not have start and select buttons, that's why I didn't have "menu". It has an android back key and a play/pause button instead (this is maybe the same as start button).

To navigating with A and B: yes it should be the standard to select with A and go back with B, but it should also be remapable. I like to use the B button to look back ;)

Re: SuperTuxKart for Android?

PostPosted: 07 Mar 2018, 23:02
by deve
It looks that STK beta has been accepted for Android TV just a while ago.

@Mr.XX99 Can you try to install it using google play to see if everything works as expected?

It still works only for single gamepad and without analog control, but at least the buttons are configurable and have proper names. And btw. now STK should automatically detect device orientation for accelerometer.

Re: SuperTuxKart for Android?

PostPosted: 08 Mar 2018, 22:34
by Mr.XX99
Yes, it is finnaly installable through the play store on TV :)
found it by search:
Google Play Store_20180308_192253.png
play store


It is not included in the category racing games, but there are only 20 games in there, so I think it is still to unpopular to be included.
I tried different searches and counted on which place supertuxkart was:
"racing": place 61
"kart": place 24
"kart racing": place 16

I also made a short gameplay video, but the resolution is not so good, maybe I can do a better one after looking into the settings of the recorder:
https://www.youtube.com/watch?v=m8C6B1-PWKY

I'm happy that I now can remap the "B"-button, thanks :)

Some things I noticed:
In the keyboard layout only the up/down keys work for navigating, but it's moving sideway using these. But this is not so important now because a user can only be added with a mouse (with gamepad it still does not work)
If you're just viewing a ghost race you can't exit out of it. If you press back, the normal pause menu opens, but I can't select anything even the focus does not move (I only could exit with my mouse)
I felt a bit input lag, especially after drifting when getting the drivt bonus boost.
Some of the texts under the symbols of the main menu ( single player, addons, ..) are hard to read on my TV because of the contrast (black on grey) and because they are pretty small.
This menu sreen you can see the symbols are also very small and hard to recognize if your not sitting directly in front of the TV:
SuperTuxKart Beta_20180308_204318.png
small menu


And I would still suggest updating the TV banner ;) (don't know if you saw my comment on the commit for adding the banner)
I think the kart on it is to small and it would be better visible if it wasn't shown directly from the back, and I would suggest on using the original supertuxkart logo.
An example of what I would like to see is this (it could have higher resolution, but I just cut it out of the twitter banner, only mean as example):
2018_02_06_23_12_24_SuperTuxKart_supertuxkart_Twitter.png
TV banner
2018_02_06_23_12_24_SuperTuxKart_supertuxkart_Twitter.png (142.97 KiB) Viewed 17840 times

But this are just my two cents ;)

EDIT:
Almost forgot: when the game is loading longer for example when extracting the tracks at first start or loading an demanding track I got the alert that the app is not responding (like you can see in the video) but the app won't crash if I click wait

Re: SuperTuxKart for Android?

PostPosted: 08 Mar 2018, 23:05
by Mr.XX99
Made another suggestion (this time better quality):
Image

high res: https://i.imgur.com/3bsHrWD.jpg

Re: SuperTuxKart for Android?

PostPosted: 09 Mar 2018, 21:01
by deve
Thanks a lot for testing.

I will look if I can reproduce the navigation issues. And I will try to improve GUI for high dpi screens, because it's probably hard to use on 5" phone with full-hd resolution too.

And I like your second banner, it's much better than the current one. I will need information about license and author to use it in STK.

@benau @hiker @auria Do you like it or do you prefer the current one or something else?

Re: SuperTuxKart for Android?

PostPosted: 09 Mar 2018, 21:51
by Mr.XX99
the second banner I cut out of the poster for 0.9.1 (https://supertuxkart.net/Posters), could not find any license information for it but I found out samuncle did it
and I added the logo, which I took out of the media repository

And btw. the newest poster if missing on the poster collection page

Re: SuperTuxKart for Android?

PostPosted: 10 Mar 2018, 01:00
by Auria
Mr.XX99 {l Wrote}:Made another suggestion (this time better quality):
Image

high res: https://i.imgur.com/3bsHrWD.jpg


Personal opinion only, I'd like to hear from the others too, this is my favorite one

Re: SuperTuxKart for Android?

PostPosted: 10 Mar 2018, 21:01
by deve
Actually we can use it as a banner on google play on android tv too, not only as app icon. It needs 1280x720, so it's perfectly scalable.

Re: SuperTuxKart for Android?

PostPosted: 11 Mar 2018, 21:51
by Mr.XX99
https://i.imgur.com/Tz8fHra.jpg

made a small change, removed the lighting window that was near the X of TUX because it annoyed me a bit (it looked like it was part of the logo)

Re: SuperTuxKart for Android?

PostPosted: 25 Mar 2018, 19:16
by Mr.XX99
Hey deve is there a new beta in sight to test?
I read on github that you can now build a 64 bit version, my Android TV is 64-bit, so maybe the performance will even get better :) (is already better than on my PC)
And there were some more improvements, I could test if you want ;)

I just found there is a problem with displaying water on Android, at least with the newest version of the wip forest track (I know it's not an official track, but it should behave the same on Android and Windows).
this is on Android (TV) highest graphics settings:
ImageImage

and this is on PC, not the best graphics settings:
ImageImage

Re: SuperTuxKart for Android?

PostPosted: 25 Mar 2018, 21:09
by deve
The current git version has some bug reports related to timing (dt to ticks conversion) and also there is not much to test. So I think that atm. another beta is not needed.

The x86_64 build should work fine. It's also possible to build arm64 package, but atm. it doesn't support scripting. I made our angelscript working with generic calling convention and generally it works fine. I have a crash when destroying the barrel though and I need to find the reason. And we need 64-bit builds anyway, because google will require it, so that for next beta I will make 64-bit packages too (if I will fix the arm64 crash).

And I will look at the water issue.

And btw. when I was testing arm64 build last time (probably more than a year ago) I had no difference in performance between 32bit and 64bit builds.

Re: SuperTuxKart for Android?

PostPosted: 26 Mar 2018, 04:24
by benau
the track has to be re-export / adjust for sp in stk

Re: SuperTuxKart for Android?

PostPosted: 28 Mar 2018, 10:31
by Mr.XX99
November 2018: Updates to existing apps required to target API level 26 or higher.
2019 onwards: Each year the targetSdkVersion requirement will advance. Within one year following each Android dessert release, new apps and app updates will need to target the corresponding API level or higher.

Source: https://android-developers.googleblog.c ... mance.html

Deve: do you know this already? Currently it only targets API level 21

Re: SuperTuxKart for Android?

PostPosted: 29 Mar 2018, 07:54
by deve
I know and I suppose that we just need to disable multiwindow feature in android manifest and we can set target sdk to 26. But anyway it will need some testing.

Re: SuperTuxKart for Android?

PostPosted: 08 Apr 2018, 09:35
by deve
I wonder what do you prefer and what will be more comfortable for most people... There are two options:
1. Accelerometer only for turning left/right, while still using buttons on touch screen for up/down
2. Accelerometer for both left/right and up/down axes.

For me first option is much better, I just need up/down buttons instead of steering wheel. But for second option we can move "look back" and "skidding" buttons to the left side (steering wheel is not needed) so that it would be easier to use weapons while looking back.

Re: SuperTuxKart for Android?

PostPosted: 08 Apr 2018, 14:51
by Mr.XX99
I would really prefer option one. Can't imagine good gameplay with the second option.
And most mobile racing games (when played with accelerometer) have either option one or self acceleration with only a brake.

But for option one I think the steering wheel should get replaced maybe by an acceleration and brake pedal or so, because its confusing to have steering options on screen, when you can't steer with them.

And for the other buttons (skidding, items, look back and nitro) I would suggest to let them on the same place, but that you can swipe from each to another, for example touching look back and the swipe to the item to fire back, while looking back or swiping from the item to look back to fire back without looking back. Or swipe from skidding to nitro and so on.

And btw. the steering with accelerometer does not work for me on the beta, while it works in the normal version.

Re: SuperTuxKart for Android?

PostPosted: 09 Apr 2018, 08:20
by deve
Yes, beta version has a bug and "isAccelerometerActive" was returning true even if it wasn't active. It's already fixed in current git. And if you will restart whole application after accelerometer activation, then it should work in beta version too.

I will probably keep only turning left/right with accelerometer and just draw up/down buttons instead of steering wheel.

And I think that auto acceleration is best solution for more comfortable controls, but it's not good for STK... I mean that it doesn't have a sense for follow the leader/easter egg/3 strikes battle/soccer mode. Actually I ugly hacked STK some time ago, so that it automatically accelerates, uses nitro, rescues etc. You just have left, right and fire buttons. And it's playable on a 5'' phone with supertux difficulty. Here is source code, I can share apk later.
https://github.com/deveee/stk-code/tree/simplified_stk

Can you recommend good android racing game, so that I can see what other people may expect?

Re: SuperTuxKart for Android?

PostPosted: 09 Apr 2018, 22:19
by Mr.XX99
deve {l Wrote}:Yes, beta version has a bug and "isAccelerometerActive" was returning true even if it wasn't active. It's already fixed in current git. And if you will restart whole application after accelerometer activation, then it should work in beta version too.

Ah, that was that funny commit message :D And yes after restarting it works for me.

Yeah, also think auto acceleration does not fit STK, that's why I did not suggest it ;)
And personally I'm not a fan of auto acceleration, but almost all games use it.
Imagine soccer or battle mode with auto acceleration :D

deve {l Wrote}:Can you recommend good android racing game, so that I can see what other people may expect?

good (free) Android kart racing games:
Beach Buggy Racing https://play.google.com/store/apps/details?id=com.vectorunit.purple.googleplay (The number 1 kart game for android, for me after STK ;) )
Garfield Kart https://play.google.com/store/apps/details?id=com.microids.google.GarfieldKartF2P
Angry Birds Go https://play.google.com/store/apps/details?id=com.rovio.angrybirdsgo
Tiki Kart 3D https://play.google.com/store/apps/details?id=com.arbstudios.tikikartfree (steering is pretty hard)
Monkey Kart Racing https://play.google.com/store/apps/details?id=com.crescentmoongames.monkeyracingfree
Kart Racer https://play.google.com/store/apps/details?id=com.fermat.kartracing

good (free) not kart racing games on Android:
Asphalt 8 https://play.google.com/store/apps/details?id=com.gameloft.android.ANMP.GloftA8HM (The number 1 racing game on Android)
Need for Speed No Limits https://play.google.com/store/apps/details?id=com.ea.game.nfs14_row
Real Racing 3 https://play.google.com/store/apps/details?id=com.ea.games.r3_row
Crazy Taxi https://play.google.com/store/apps/details?id=com.sega.CrazyTaxiplayhaven (Though not real racing)

Re: SuperTuxKart for Android?

PostPosted: 15 Apr 2018, 21:55
by Mr.XX99
There is an issue with the old mine on Android (only the beta version)

Here the textures are missing (tested on two android devices)
Image
Image

Did not create an issue on github, because I don't know if it is already fixed on the current master.

And I had an one time issue:
Image
The texture of the grass is wrong, but after a restart it was normal again and it did not occur again.

Re: SuperTuxKart for Android?

PostPosted: 17 Apr 2018, 23:23
by deve
Ok, I found a bug and textures should be properly scaled now. Thanks for a bug report.

And for the soccer field it may be separate bug and it may be not related to android. But anyway we will need steps to reproduce it...

Re: SuperTuxKart for Android?

PostPosted: 29 Jun 2018, 01:32
by IcetheUnknownRanger
I was wondering if there are any plans of releasing SuperTuxKart to F-droid? Since the game is Foss I don't think that there should be much trouble getting it approved.

Re: SuperTuxKart for Android?

PostPosted: 02 Jul 2018, 20:19
by deve
I think that STK will be available on F-droid soon. There is a pull request that should be ready to merge. Some links:
https://github.com/supertuxkart/stk-code/issues/2987
https://gitlab.com/fdroid/rfp/issues/98
and the pull request:
https://gitlab.com/fdroid/fdroiddata/me ... uests/3294

Re: SuperTuxKart for Android?

PostPosted: 05 Jul 2018, 19:48
by IcetheUnknownRanger
Sounds great! Thanks!

Re: SuperTuxKart for Android?

PostPosted: 09 Jul 2018, 23:30
by IcetheUnknownRanger
Good news! SuperTuxKart is now available on F-droid (it's a development build though) :D

Re: SuperTuxKart for Android?

PostPosted: 10 Jul 2018, 19:34
by deve
No, it's stable 0.9.3 version and they just forgot to remove the "Do not install" from description. I didn't test it yet though.

And btw. if someone wants to try network multiplayer on Android here is how to do it, because it's less obvious than on desktop version.
- install current Supertuxkart Beta from google play (git20180709)
- find the config.xml file (it may be in /sdcard/Android/data/org.supertuxkart.stk or similar location)
- change <commandline value="" /> to <commandline value="--online" />