ongoing implementation of Admob and various other service

Previous topic - Next topic

spacefractal

#45
property, yes. the ads_status could do the job here for status checkout.

The java has been updated to also include 3 other functions when a ads is called. You do NOT need keyDown for that. Those thosed from the SDLActivty.

ALso confimed its even works when you complete a level in Greedy Mouse. But should not been that "aggreseive", property when you dont get 4 stars its might show one.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

#46
I'm in next  version let possible to manually loads ads by a java call, also doing it asyncron like the show. So reward video should been possible.

Don't forget to update the other post. I'm won't overtake it.

And im is ready to update the Steam version as well, include Admob and the path fixes (its a under 100kb update). There is few changes, so its possible to manually loads a add etc and possible to add reward videos and such.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

 :booze: Excellent - a lot of new users and users looking to develop for Android will be very happy about this update.
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

im do want you to update the post you did when im update the steam version (a 450kb update) when im get approvement from Gernet. Yes, im can update directly from my user accout. But want to let Gernot know first.

Also... if you try to manually a ads too early, its might fails throught, but here im do change the adsstatus to reflect that.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

#49
Howover Greedy Mouse wont want to run on Android 5.1 emulator throught well, buts dos run in Android 5.1, so the device is to old message stays.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

One of my projects is acting up and not showing assets using the new SDLGLBasic asset code.

Is there a certain way it needs to be used in GLB?

I compared other projects but my brain is a little tired today...
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

#51
can you send me the project. Its best practical way when using SETCURRENTDIR() is set to "Media" and load all assets from here.

But you should could see in the Logcat why its fails. Etc if its trying to do a "Media/Media" or something like that. Then its might fails.

etc path after /files/ must been the same. If they are not, then its will fails to load. Its been output what its have tried to do in Logcat, so make sure to check it out.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

Thanks - I will try the logcat etc.
If no joy then will send on the project... :)

I'm sure its a simple error by me somewhere...
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

pleasde note im do NOT need the glbasic, just the Android Studio project.

Im have slightly changed the java again and has uploaded to the dropbox. Find it in your thread.

Its might have been failed if graphics was loaded from the main Media folder, because its could not reformat the path there.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

yep as admob now works, im hav choosen to sticky the thread and removed 4 old android one (but linked to them from a another sticky one).

Tryout the new java file. this should works better. But logcat do show if CopyAsset has been failed, etc its show where its tried to copy from and where to. path should been same after /files/. If they are not, the game will fails loading its assests.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

Getting really long looking folders

2020-02-12 14:15:39.360 10267-10442/com.GazzapperGames.retro.invaders.classicarcade I/glbasic: CreateDir() path: /data/user/0/com.GazzapperGames.retro.invaders.classicarcade/files/Media/data/user/0/com.GazzapperGames.retro.invaders.classicarcade File: files
2020-02-12 14:15:39.368 10267-10442/com.GazzapperGames.retro.invaders.classicarcade I/glbasic: in File: Media//data/user/0/com.GazzapperGames.retro.invaders.classicarcade/files/
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

Look like the game tries to load the assets using full path rather than relative path? This this could been happens by the double path and has not filtered that out.

This is something im should take a look, so you could send me the AS project, if you want. Its should been possible to do that, but its does not work when using full path throught by now.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

#57
Hi SF

I think its the CreateDir command but not sure.
I need to find a quick fix as the project took over 50min to compile (dont know why it is suddenly taking so long) so I dont want to "clean" and have to start again.

If I get nowhere I will give up getting my update out and will send on the cleaned project.

I lost a whole day so far so I need make back the time.


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

spacefractal

#58
just dont use GETCURRENTDIR$() when loading your assets. CreateDir() currectly got confusion about it.

50min is long time. here its often take about 3-4 for Greedy Mouse throught and im dont need to start over even when compiled from glbasic.

PS. Im accidently edited your post. sorry.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

It's not just that - tried multiple variations to load different assets and none worked all assets with or without GETCURRENTDIR$() failed.
I compiled it about 10 times with different loading options.

Very strange I think. I must have a bad version of the SDLGlbasic.java maybe?

The older version never gave me any problems loading assets...did other users have problems, is that why it was changed?

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