pelya / commandergenius

Port of SDL library and several games to the Android OS.
http://libsdl-android.sourceforge.net/
GNU Lesser General Public License v2.1
533 stars 250 forks source link

Update SuperTux to 0.6.0 #99

Open tobbi opened 5 years ago

tobbi commented 5 years ago

Can you please update SuperTux to the latest released version?

Download from https://www.supertux.org/download.html

pelya commented 5 years ago

I am working on it, this will take another week or two.

On Sat, Jan 26, 2019, 15:44 Tobias Markus <notifications@github.com wrote:

Can you please update SuperTux to the latest released version?

Download from https://www.supertux.org/download.html

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pelya/commandergenius/issues/99, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJewIHR8YsS6bn2O8XjaddcHC-qBXW6ks5vHFuggaJpZM4aULKp .

qwertychouskie commented 5 years ago

@pelya Any updates on this? Would be nice to have 0.6.0 for Android.

pelya commented 5 years ago

No updates yet. I was fighting new GLES2 renderer in SuperTux. My SDL1.2 port can draw screen buttons only using GLES1 or SDL software mode, so I was thinking to switching to official SDL2, but there's no screen button library I can easily use for SDL2, so I'll need to write one.

On Tue, 23 Jul 2019, 21:42 QwertyChouskie, notifications@github.com wrote:

@pelya https://github.com/pelya Any updates on this? Would be nice to have 0.6.0 for Android.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pelya/commandergenius/issues/99?email_source=notifications&email_token=AABF5QH4JNAZCG2IANGUBFTQA5GJ5A5CNFSM4GSQWKU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2UBY6Y#issuecomment-514333819, or mute the thread https://github.com/notifications/unsubscribe-auth/AABF5QGO672GPMSGPI2BE63QA5GJ5ANCNFSM4GSQWKUQ .

nift4 commented 4 years ago

Any news? This port is great but we are at 0.6.2 now...

pelya commented 4 years ago

No news, sorry. I'll have to switch Android renderer to GLES 2, however my SDL1 port does not have touchscreen buttons that will work in GLES 2 mode. Then I might as well switch to the official SDL2 Android port, because my SDL1 port does not provide anything beyond touchscreen buttons for SuperTux. So I'll need to extract my touchscreen buttons code from SDL1 and make a proper library out of it to use it with SDL2. It's a bit too ambitious undertaking for me right now.

On Mon, Jun 1, 2020 at 7:16 PM nift4 notifications@github.com wrote:

Any news? This port is great but we are at 0.6.2 now...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pelya/commandergenius/issues/99#issuecomment-636960804, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABF5QC7RVG5T5LFKEQSDADRUPH6VANCNFSM4GSQWKUQ .

7wells commented 3 years ago

@pelya I hope my message finds you well. Surely, you have more urgent things to do and have a real life, too. ;-) I am trying to build ST for Android, following your instructions there but encountered a problem: https://github.com/pelya/commandergenius/issues/125

Now I have come across this issue/thread here and wonder if you could use/"recycle" SDL stuff from SuperTuxKart: https://github.com/supertuxkart/stk-code/search?q=sdl https://github.com/supertuxkart/stk-assets-mobile/releases/tag/git20201208 And maybe from RVGL for Android - there is a submodule on GitLab: https://gitlab.com/re-volt/rvgl-android

Sorry if this is of no help at all (I am a beginner). Anyway, all the best for 2021!

pelya commented 3 years ago

The easiest way to compile it is probably to grab the source tarball here

https://sourceforge.net/projects/libsdl-android/files/apk/SuperTux/

SDL 1.2 that I am using only supports overlay screen buttons in GLES1 mode, while SuperTux moved the renderer to GLES2 and SDL2, so I got stuck on reverting all those changes and quickly gave up.

It will be easier to use the official SDL2 repo from libsdl.org , then you won't need to revert SDL1.2→SDL2 and GLES1→GLES2 changes in 0.6.0, you won't have the overlay screen buttons, and you'll need a gamepad or a Bluetooth keyboard to play.

Well, you can add a handler for SDL_FINGERDOWN event, and hardcode the whole left part of the screen for movement and right part of the screen for action buttons, many Android games don't draw overlay keys at all.

If you'll manage to make a usable .apk file, I'll transfer the app to your dev account.

On Sun, 17 Jan 2021, 16:34 7wells, notifications@github.com wrote:

@pelya https://github.com/pelya I hope my message finds you well. Surely, you have more urgent things to do and have a real life, too. ;-) I am trying to build ST for Android, following your instructions there but encountered a problem:

125 https://github.com/pelya/commandergenius/issues/125

Now I have come across this issue/thread here and wonder if you could use/"recycle" SDL stuff from SuperTuxKart: https://github.com/supertuxkart/stk-code/search?q=sdl

Sorry if this is of no help at all (I am a beginner). Anyway, all the best for 2021!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pelya/commandergenius/issues/99#issuecomment-761822273, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABF5QHPRF7YPZIFIMG6TADS2LYQ5ANCNFSM4GSQWKUQ .

7wells commented 3 years ago

Thanks for your kind hints - I will try this but it will take longer as this is all very new to me.

Since us parents and the kids play on a TV via Amazon's Fire TV stick, the absence of virtual on-screen buttons does not hurt at all. In fact, it's nicer to not have them on the screen, as it would only distract us. ;-)

pelya commented 3 years ago

Overlay buttons should disappear when you use analog joystick on the gamepad, so it's not a problem.

On Tue, 19 Jan 2021, 11:21 7wells, notifications@github.com wrote:

Thanks for your kind hints - I will try this but it will take longer as this is all very new to me.

Since us parents and the kids play on a TV via Amazon's Fire TV stick, the absence of virtual on-screen buttons does not hurt at all. In fact, it's nicer to not have them on the screen, as it would only distract us. ;-)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pelya/commandergenius/issues/99#issuecomment-762712493, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABF5QFU46L6ON2RF4QKF33S2VFJJANCNFSM4GSQWKUQ .

7wells commented 3 years ago

Ah, good to know, thank you.

qwertychouskie commented 1 year ago

The play store has the version for SuperTux listed as 0.6.3.23 now, so this should probably be closed.