Playmaker Forum
PlayMaker Feedback => Action Requests => Topic started by: app_advisory on July 05, 2014, 05:54:46 AM
-
Hi,
It should be wonderful to have Playmaker actions for Chartboost.
Thanks !
-
I will take a look at this :)
-
Great :D
Thank you !
-
Yes..I am also awaiting.. :)
-
I just made myself some actions, I did send it to Unity. I will let you know when it's aproove
-
Ah I really hope this comes out soon! I wanted to integrate Chartboost with my app :)
-
There was an issue in my package (the icons ..)
Waiting for unity now, I just resend it.
But write me an email I will send you the package :)
dev@barouch.fr
-
Great.....i want!
-
If anyone use Android Native Pluguin
must reed this:
https://unionassets.com/manual/android-native-plugin/faq/android-native-with-chartboost
we just need a playmaker actions. :(
-
Sorry for the delay. I received your email.
Please find the actions attached.
If you have any suggestion don't hesitate to ask me.
And follow me on Facebook, it's the only thing I want ;)
http://facebook.com/appadvisory (http://facebook.com/appadvisory)
-
;D ;D ;D ;D ;D ;D ;D ;D
Hey!!! so many thanks! this night will test your actions!
any problems I'll let you know.
-
You're welcome my friend
-
i like your facebook page! :)
The prefab come with your package is a example?
-
It's just an example of use for an action
But it's explicite. So the prefabs are not useful at all
Just for information you have to check just one "position" (startup , game over ...) in the action.
You can checked more than one but you will not have what You want
-
I do not quite understand this:
You can checked more than one but you will not have what You want
::)
-
In the actions, you have to choice if you want the interstitial at startup, at game over etc...
Just take one by action.
That's it
-
great! i will test this ;)
-
Hello,
I would like to confirm that these actions are working pretty well, I am using Playmaker 1.8 and unity 5.0 . Thank you for these actions :)
However I have noticed after trying to get to Show More apps, an interstitial ad was showing, after looking into the Chartboost Playmaker Actions I have noticed a few misplaced lines, I have attached screenshots of what I changed to get "MoreApps" working, incase you want to use these actions.
I can also upload the fixed scripts if requested, but shouldnt be hard to fix anyways. Check Screenshot Please.
Thank you again, Chartboost is working well in my app.
-
Hi,
I'm a little confused on how to get this working right.
There is a lot of locations to choose from, but how does it know these locations in the game?
Like how does it know when you are in the main menu, or home screen, or when it's paused?
When my character dies, I want to give the option to watch the video ad to continue from that spot instead of restarting the level.
How do I setup the locations in my game. Like how could I setup the UI when you die to one of those locations?
I'm a beginner programmer so hopefully it's a simple task.
Thanks and I appreciate you taking the time to make these actions!
-
Hi,
I'm a little confused on how to get this working right.
There is a lot of locations to choose from, but how does it know these locations in the game?
Like how does it know when you are in the main menu, or home screen, or when it's paused?
When my character dies, I want to give the option to watch the video ad to continue from that spot instead of restarting the level.
How do I setup the locations in my game. Like how could I setup the UI when you die to one of those locations?
I'm a beginner programmer so hopefully it's a simple task.
Thanks and I appreciate you taking the time to make these actions!
Hello,
These actions do not know what is happening in your game, the locations are basically just "Save Slots" for your convenience incase you have more than one ad showing in the game, to have a reference each one what is it for.
For Example, in your case:
At the startup scene of your game, you can ad the action "Has Rewarded Video", check the location "Game Over" then you have to actions to continue from, Success and Fail.
If Success, Send an event to Idle or to load the next scene "Main menu or something", so basically do nothing, because you have a video already cached in your game data.
If Fail, that means there is no video cached in your game data, so then you have to call for an event "Cache Rewarded Video", having a video cached will prevent a call to Chartboost when you want to how a video, and will almost instantly load it. Ofcorse choose the Location "Game Over"
Now when your player dies, you can have one the game over menu, certain navigation buttons
1) Menu
2) Restart
3) Watch Video (To continue from same spot). Now here you send an event, OnClick (Show Rewarded Video). From here you have to do your calls with chartboost, or what you would like to reward the player upon watching the video. Like an event to resume level from same spot.
There is an example scene with the Chartboost actions that will explain what I have here, let me know if you need any help.
Peace!
-
ok thanks for the info.
So if it fails to cache an add, does it make since to loop it back in the same state to try to load another ad until it succeeds?
-
An action to know if the video was successfully played would be awesome!
Don't know if it's possible though.
-
Usually it will only fail to Cache an add if there's no internet connection or an error in your setup, I don't see any other reasons, if it fails to cache a video just send it to idle and don't loop it because if it fails once its not going to work even if you loop.
In my setup, more apps and Interstitial, it never fails if there's internet connection so i don't see a reason why it would fail, but I have to not show an ad if it isnt cached better than lowering the performance of my game and stuttering the frame rate.
I think on the chartboost dashboard there is an option to let you know if video has been watched, I think there is a game called "Buff Knight" on android, pretty cool game, that has the watch video feature you asked about when you lose, try it and lose, you will get a menu that has an option to watch a video for 5 gems or something.
-
OK thanks man you are awesome!
Really appreciate the advice
-
Welcome :)
-
One last thing....
Do I need to do the cache thing every new scene, or just one time when the user boots up?
-
Only Call the Cache Action After the "Fail" Event of the Has Action, so basically it will only be cached the very first time a player starts the Game, Next time after the Has Action, it will call the "Success" event so it wont be cached again, and will proceed to loading whatever comes next.
-
Phuzz, you've been a life save so far, but I have one more thing you could maybe help me with.
So I'm trying to give the rewards for completing the video, and I have no idea if I'm doing it right.
So what I thought of doing is sending a global broadcast event from the Chartboost.cs script that came with the chartboost plugin.
I found and edited this part of the script.
private void didCompleteRewardedVideoEvent(string dataString) {
Hashtable data = (Hashtable)CBJSON.Deserialize(dataString);
int reward;
try {
reward = Convert.ToInt32(data["reward"]);
PlayMakerFSM.BroadcastEvent("Add Continue");
} catch {
reward = 0;
}
if (didCompleteRewardedVideo != null)
didCompleteRewardedVideo(CBLocation.locationFromName(data["location"] as string), reward);
}
Basically I just added the broadcast event right after try, but I have no idea what try even is, or if I did this right.
-
Hello,
I honestly do not know the way you are trying but there is another way I know of, you could use the Playmaker "Invoke Method" from the action list, then Specify Game Object and Drag in the Object that is carrying the "Chartboost.cs" script, or use Owner of its the same object carrying the script as a component.
Behaviour: you should get to choose from Playmaker.FSM and Chartboost.SDK, ofcorse choose the chartboost SDK, then Method Name: Open it and choose "DidCompleteRewardedVideoEvent", after that I guess you could give the desired reward to the player :)
You can find there other methods like fail and dismiss rewarded video to have better control of users.
-
can you share new actions with us
-
Hello,
These are the fixed actions for Chartboost, I do not own these and did not make, and do not know how to make them :D I just fixed some misplaced Lines where "showmoreapps" was showing interstitial, and other similar problems.
All credit goes to app_advisory
Here you go see Attached, just drag the folder into Unity Assets Folder after extracting.
-
Hi can make new action to check if reward video watched that will this complete package
-
We also need actions to play regular video ads.
-
Hi any one successfully tested the ads i was trying to test the ads not able to get the ads
-
Hi it was working now you need have chartboost script in the scene
spent 3 hours
-
Hi any one know how to setup video ads ?
i was able to fix interstital ads
but not able to see more apps
-
Video ads work fine with me, did you setup your video in the Chartboost dashboard?
-
Video ads work fine with me, did you setup your video in the Chartboost dashboard?
Yes, but there's Video Interstitial and Reward Video. There's currently action for Reward Video, but not video interstitial.
-
Hi first thanks for the confirmation actually chartboost website was really very bad design it was not easy to understand.
i will give a try again to get this working
-
Hi,
I just release my asset for this on the Asset Store :
https://www.assetstore.unity3d.com/en/#!/content/50770
I can offer 5 free voucher. Just write me on my email : contact@app-advisory.com
-
why actions are not available ?
-
There was a little issue on the package, and now waiting for review
sorry
-
ok nice when i use admob and chartboost i get error
can it be solved ?
-
if it's about my asset : contact@app-advisory.com
cheers!
-
Hi all,
Just to inform you the Chartboost Asset if available now and FREE for a quick time.
Enjoy
http://u3d.as/mqK