I donât think so, cuz the local one open on the same browserâŚ
Mochimedia Integration - How can i do it?
then it may about the âpatchâ of liveuploadâs⌠it makes a patch to your swf file for some functionality & source code encyription⌠that may cause you can play standalone version in browser but not liveupdate version?
try to download your liveupdated version then try again in flashplayer?
I dont know whatâs it⌠but here http://gameheronz.web44.net/
its normal for meâŚxD
It doesnât start for me either. The bar fills then it just sits on a white screen - Google Chrome on Windows 8.
Still making work on there, since i made to android devices when it comes to computer it auto-resizes things in the wrong way xD
Iâll try to make an Ad on the menu, maybe itâll work⌠i want to make those ads that you need to click out of it to close it.
You know how i can do it AlobarNon ?
you need CPA Ads(Showcase & Dock) to do that, but itâs some complicated for me, also in beta test. But it works⌠But i donât know how to use it⌠http://mochiland.com/articles/boost-your-revenue-with-mochi-ads-cpa
Also iâm sure you can implement InterLevel ads for what you want but iâm not sure theyâll pay tou unless user click âcontinue gameâ button.
Also you need to implement âstop()â and âplay()â functions inside their source code for pausing game while ad showing, you need to implement them with âFP.engine.paused = true;â and âFP.engine.paused = false;â
Iâll read about it.
Iâve a problem when iâm trying to run MochiServices.connect
it gives me this error:
MochiServices ConnectingâŚ
/*** Security Sandbox Violation ***
SecurityDomain âhttp://www.mochiads.com/static/lib/services/MochiLC.swfâ tried to access incompatible context âapp:/BehindEnemyTanks.swfâ [Fault] exception, information=SecurityError: Error #2047: Security sandbox violation: parent: http://www.mochiads.com/static/lib/services/MochiLC.swf cannot access app:/BehindEnemyTanks.swf.
MochiServices could not load. (timeout)
I donât know whatâs that. I was read something about "developers âmayâ need to set some Security.allowDomain function inside code. But i wasnât needed that, it worked for meâŚ
I think itâs because iâm using AIR and not Flash 10/11âŚCuz itâs for android and IOS at first thoughtâŚ
Oh wellâŚiâll need to find another ad plataform >_<
Ok, i decided to make an âPCâ version of my game and put Mochimedia on it, but i canât figure out how to display the ads!
It connects to the server, but it keeps throwing errors abou security and donât display the Ad that I triedâŚ
Am I doing something wrong on the call of the add?
MochiAd.loadShowcase({
clip:clip,
id:game_id,
position:â0x0â, // This represents an X, Y offset from the center.
ad_count:5, // The number of ads to display in the showcase.
ad_size:90, // Force dimensions for all Ads displayed.
user_close:true, // Allow the use to close the Showcase ad.
ad_loaded: function(w:int, h:int):void { }, // A callback that occurs when ad is first displayed.
ad_closed: function():void {} // A callback that occurs when user closes Showcase.
});
Itâs identical of the tutorial! I created the clip before and everything.
Iâm lostâŚHelp?
OMG Finally!
I got it to work finally, i think i was calling the ads functions on the wrong time, so the services werenât connected yet, so i made an âIFâ condition on UPDATE function to make sure that it was connected, once it was connected it adds the AD, for further support here is the code:
override public function update():void {
if (MochiServices.connected == true && ad_show == false) {
//MochiAd.loadShowcase( { clip:root,
//id:_mochiads_game_id,
//position:"0x0", // This represents an X, Y offset from the center.
//ad_count:5, // The number of ads to display in the showcase.
//ad_size:90, // Force dimensions for all Ads displayed.
//user_close:true, // Allow the use to close the Showcase ad.
//ad_loaded: function(w:int, h:int):void { }, // A callback that occurs when ad is first displayed.
//ad_closed: function():void { }
//} );
MochiAd.loadDock({
clip:root,
id:_mochiads_game_id,
position:"bottom_center", // See below for explanation.
ad_count:5, // The number of ads to display in the showcase.
ad_size:50, // Force dimensions for all Ads displayed.
ad_loaded: function(w:int, h:int):void { }, // A callback that occurs when ad is first displayed.
ad_opened: function():void {}, // A callback that occurs when the user opens the Dock by mousing over the tab.
ad_closed: function():void {} // A callback that occurs when the Dock auto-hides.
});
ad_show = true;
}
super.update();
}
Thank you for the help!
---- EDIT â
Saddly it wonât work on Android, incompatible with Adobe AIR
the games iâm playing on android always showing me some googleAds, so, maybe you can check it out.
I was trying the Admob thing, but i got kinda sad with the work that i need to put in to make the Mochimedia work, and it seems pretty easy xD
For now, i think iâll try to make the âPC Versionâ good enough and get thoses ads going, and on Android go with no Ads for whileâŚmaybe iâll put on IOS a 0,99 versionâŚjust cuz $100,00 on the developer account is too much for meâŚ
BTW What did you think about the game? Sure the version that i put there is really messy but the basic is thereâŚhahaha
Say the bad things so! Itâs my first game, so i need some critic⌠Anyway the game is not in English on that version, maybe thatâs a problem for you! hahaha
sure, the biggest problem is, graphics⌠if youâre using âsimple graphicsâ, then you should match graphical environment, i mean, your strokes & your textures should look like really belong to each other. And if youâre using pixel fonts, itâs better you use smaller graphics, i mean, i wanna see the pixels of the graphics, or i donât wanna see a pixelfont. also textures are really much detailed for gameâs graphical simplicity. and need some shadow effects on player tank and sandpockets graphics
gameplay suggestions. (my ideas)
- donât make your tank lock to the mouseY, make it follow mouseY with a velocity relative to distance between mouseY and tankY, how far is mouse, faster followâŚ
- edit sound effects a little, example, use 3 different tones of a âhitâ sound and play random one for each hit event
- it seems enemy tanks never turning and firing to me from top & bottom of the screen, they doesnât stop & hit from everywhere⌠why not?
- hide system cursor while in game, and add another sprite or a dot etc. instead of system cursorâŚ