Various Android Studio issues (tilt, assets, joy)

Previous topic - Next topic

spacefractal

#30
im by now used SDL sound, not sound pool. Im did do get sound here as well. Not sure its requrie full path or not. if its still a issue, im fix it. But not today.

yes its was the freaking SETCURRENTDIR() spat. the main issue. C++ and Java diddent follow each other.

Im still currious why its could load in second launched attempt. Dont forget to clear any data for testing.

This why im using LOGCAT when assets loading etc fails. Im thinks its quite important. Then LOGCAT do tells you.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

Also, meant to ask before - was there a specific reason for
adding...
implementation 'androidx.appcompat:appcompat:1.1.0'

to the dependancies?
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

MrPlow

Sound NOT working on my Android 6.0 test device....
Even adverts sound is not playing...
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

I'm haven't touched sound at all. Don't forget to check, if volume is turned off (allways first thing to do).

of course: im cant touch anything sound with ads at all, if there is sound on those. not a change!

Also eventuelly checks LOGCAT if loads have been failed. You dont need to load it twice anymore. But DOESFILEEXIST() is allways good to use eventully if something fails.

Im not sure what androidx.appcompat:appcompat:1.1.0 actuelly does. Its leaved in by Android as default. Its property theme and widget based.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

#34
Not volume...

can you see if you have sound on this at all?

https://www.dropbox.com/s/aavcxqmng0791x7/app-release.apk?dl=0

Is there anything in those new java or cpp files that could have affected sound or sound assets ?

Could it be an issue with
<string name="androidAudio">0</string>
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

MrPlow

#35
Should I revert back to older files for time being?
Some bad reviews are coming in and I need to fix quickly.
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

#36
Have you uplaod this new version? Better with no sound than no graphics it it'd should happens.

Sound in greedy mouse also working for android 6 emu..
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

I'm can't install external apk files
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

Hi

Here is the logcat from the apk running on Api 28 with no sound but sound from Ads.

Lines around 162 onwards looks like something...
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

#39
Load assets seems work for sound as they did not failed at all. So try to load them with full path.

I'm do still much more prefer a playable game with no sound. I'm is not home.

And don't do rate impressions on first launch. It's can been back fired. But after a few launch.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

I have a button to turn off/on the sounds on the menu - so users will expect sound.

But the sounds were playing fine before I used the new versions of the files - so must be something in them causing it?

If assets seem to load then why is sound not playing

By full path do you mean ?
GETCURRENTDIR$()+File$




Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

Yes, eventuelt add a does file exists as well.

It's a very old issue really.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

When I said sound wasn't working - i didnt mean only for first launch...

Sound is not working at all after multiple launches...so its something new.

And I tried GETCurr and DOESEXiSTS already - neither work.

I assume sound is working for you?

New compile and now assets not loading once again...

Only thing right now is to switch back my files I think for now, until the cause is found.


Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

#43
Pm me the as project. I'm have no idea how you load the files as they are all working here. I'm cannot blind fix a issue I'm cannot reproduce here.

Also I'm is not home before around 2 hours.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

No worries - will do, thanks!
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs