kloder-games / godot-admob

Module Admob for Godot engine
MIT License
362 stars 62 forks source link

Preloading #120

Closed kjav closed 4 years ago

kjav commented 4 years ago

OS target (Android/iOS): Android

Godot version: 3.1.1-stable

Issue description:

Hi, currently the "playRewardedVideo" function takes no arguments, and plays the one loaded reward video. However, the "loadRewardedVideo" function takes a string advert id argument.

I like to preload adverts so that the user doesn't have to wait. This only has to happen once per advert per playthrough, so the data usage isn't too high.

However this doesn't work with multiple reward video units. You have to use just one reward video for every place in your game. The disadvantage of this is that you can't tell where the player has clicked it, so you can't tell which reward video buttons are used more often than others.

I propose that instead of storing just one reward video, a dictionary is built which allows the user to load multiple ad id's at once, and play them separately.

Shin-NiL commented 4 years ago

The rewarded video is a singleton on Google SDK, so I don't think this is possible.

kjav commented 4 years ago

Oh, that's a shame! Thanks for reading this anyway. Feel free to close this issue.

On Mon, 16 Mar 2020, 11:23 Shin-NiL, notifications@github.com wrote:

The rewarded video is a singleton on Google SDK, so I don't think this is possible.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kloder-games/godot-admob/issues/120#issuecomment-599483501, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACE4QNRC2G4OJRFNMPZWMBLRHYD4XANCNFSM4LK7JBNA .