AndreasR's Forum Posts

  • Hi

    How are you?

    Just a quick question, is it possible to get

    cordova.file.applicationDirectory[/code:68j39gkc]
    [code:68j39gkc]cordova.file.applicationStorageDirectory[/code:68j39gkc]
    [code:68j39gkc]cordova.file.dataDirectory[/code:68j39gkc]
    
    Function for the Cordova File plugin`? Or is there already such a function included? I need to write data to the dataDirectory of the app.
    
    Regards
    Andy
  • >

    > Its the way intel xdk compiles your file. When installed it also installs a browser with your game which adds in the extra file size where as cocoon only relies on its canvas.

    >

    > Yeah, kinda meed that browser.

    > I was thinking about going to cocoon, hate paying that much just to get rid of a splash screen though.

    >

    In Cocoon you can choose to use WebView+ instead of Canvas+. When you build with WebView+ Cocoon includes a whole browser when it builds your game, it's bascially Cocoon's version of the Crosswalk browser that XDK includes when it builds your game (so I've been told). When I was using Cocoon a couple months back, I got very similar performance with Cocoon (WebView+) as with XDK (Crosswalk). Files sizes are similar too.

    And if you use WebView+ Cocoon doesn't brand your game, they only put in their splash if you use Canvas+ (pretty sure im right about that... the whole time I was testing with Cocoon (WebView+) I never had their splash screen show in my game..

    > ....As much as I like intel xdk for ios builds i perfer cocoon for android builds just wish there was a working ad plugin for it

    >

    I was able to get Cranberry's Chartboost plugin working with Cocoon and XDK. That was one plugin that didnt seem to give any problems..

    Appodeal is another possibility. I had that working with XDK, but I can't remember if I had it on Cocoon as well. Appodeal has a dedicated plugin for C2 which is supposed to work with Android and iOS, and its apparently good for revenue. In the end I settled for Chartboost because it was working with no bugs.

    Hi

    the chartboost plugin is indeed working fine, however it conflicts with the Cordova Analytics plugin at the moment (but the Analytics plugin isn't working at all).

    I made a free capx file for that. You can download it here

    https://shatter-box.com/forums/topic/43 ... -template/

    The appodeal plugin by cranberrygame isn't working. It causes build errors on cocoon. The original appodeal plugin by Appodeal is working, but it conflicts with many other plugins like the Cocoon AdMob and Chartboost plugin. If you just want to use appodeal, it's an option. But then use the original plugin.

    Inapp

    You find examples on my side.

    https://shatter-box.com/download/

    Regards

    Andy

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • If you do it right, it will work. I always do it this way. Also you can always unpublish and republish your app.

    But I ensure nothing

  • > Publishing only the game service doesn't make your game live.

    >

    > Regards

    > Andy

    >

    thanks for the reply Andreas

    I'm alpha testing only my apk, not game services. I'm having a problem logging in to google game (get an error box). So i asked this chat guy if the problem could be that i haven't published the game services yet, cause i was under the impression that if i do, along with the apk, it would make it public.

    No, even if you release your game in beta / alpha it doesn't appear in the store (if you selected closed beta). The game can only be downloaded via a specific link.

    Yes you need to release your game service or you need to set it up ready for testing (select if alpha / beta tester can test the game service).

    Best is to configure the game service completely and to release it.

    Keep your game in beta / alpha and release it as well. It will not be visible in the store if you have selected "Closed Beta / Alpha".

    https://shatter-box.com/knowledgebase/c ... eplaygames

    https://shatter-box.com/knowledgebase/p ... y-android/

    Regards

    Andy

  • Getting oh so closer to an end product. But i have a problem with logging in to google game.

    I have game music that starts right after the splash screen, on start of the menu layout. I did have the events on that layout (menu) to login on start of layout, but when it tried to login the music would pause. I'm getting a sign in required error that makes the login disappear and then the music would resume.

    How can i get google play game to login the user? Without the music pausing?

    I was thinking about adding a "Log In To Google Game" button on the options layout that would trigger the event (which I'm still not sure how to do exactly).

    But i'm open for suggestions.

    The login screen pauses the game (timescale = 0). This comes from GPG SKD I guess, because I haven't found anything in the plugin code which could cause a pause.

    So there is no chance to avoid this.

    Regards

    Andy

  • Publishing only the game service doesn't make your game live.

    Regards

    Andy

  • Hi,

    this issue is not related with the scaling issue of Cocoon.

    This is just what every developer has to face, the supporting of multiple screen sizes.

    https://www.scirra.com/tutorials/73/sup ... reen-sizes

    Regards

    Andy

  • cranberrygame

    any news for the Cordova Analytics plugin? It stopped working months ago!

    Regards

    Andy

  • Freebie!

    I decided to release my next Game Template - Tabs and Menu Effects for free. You will find a download link below!

    https://youtu.be/qJKBDcP8rN4

    Download: https://shatter-box.com/forums/topic/42-game-template-tabs-and-menu-effects/

    Any feedback and suggestions are appricated!

  • Freebie!

    Game Template - Tabs and Menu Effects

    https://youtu.be/qJKBDcP8rN4

    Download: https://shatter-box.com/forums/topic/42-game-template-tabs-and-menu-effects/

  • Hello everyone, I want to present our mathematical game with multiplayer mode

    MATH BRAIN CHALLENGE MULTIPLAYER

    Link Play Store

    https://play.google.com/store/apps/deta ... felsineapp

    Video Promo

    Subscribe to Construct videos now

    ShoTeam Software

    Game added to the list. Thank you!

  • Im almost done with my mobile game, i got curious to what does it looks like to play in mobile game so i compile the cordova (zip file) using the power of cocoon.io, i use canvas+ as a web engine because people say it has the best performance.

    So my first compile in cocoon has 288mb memory usage inside my capx and the result was terrible performance, everytime i touch ANYWHERE on the actual game, it lags/hang for 1 second then a friend of my mine told that the memory usage is quite high, so it might be the reason.

    I adjust and delete some sprites from my game, and i was able to have 107mb as a memory usage, i immediately compile it again in cocoon.io and WTF, it still lags/hangs for 1 second every touch <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    If its not the memory usage then what? <img src="{SMILIES_PATH}/icon_mad.gif" alt=":x" title="Mad">

    Hi,

    it also could be the coding of your project (like "waits" or something like that).

    But to find it out, you would need to share the capx file.

    You can send me a PM in my forum, so I can check it for you.

    You also can try my game below. It was built also with Cocoon's Canvas+ engine.

    https://play.google.com/store/apps/deta ... ee.shatter

    Regards

    Andy

  • HI,

    is it necessary to using cranberry's plugin for intergrated google play service (leaderboard & achievement) instead of using native plugin google play service in construct2??

    Hi,

    Yes, if you want to use it in a mobile game. If you build with Cocoon, then you can also use their plugins (free).

    The Scirra Google Play plugin is forHTML5 games as far as I know.

    Regards

    Andy

  • You must delete the line of code inside additions xml file and add the needed plugin with the plugin management interface: https://github.com/cranberrygame/cordov ... n-ad-admob

    He is right, you find a guide for that here.

    Subscribe to Construct videos now

    https://shatter-box.com/knowledgebase/i ... nstruct-2/

  • I got the Play Store license, my game published there (exported with Cordova on Intel XDK) and I've read the Scirra tutorial on the Play Store several times, but when I reach the part it says I need to create the service as an Web app and the Dev console asks me the URL the game is played, I don't know what to say.

    Is the tutorial up to date? Should I try another plugin?

    I just want people to login, play a bit, get a couple of achievements and compete on the leaderboards.

    Thanks for the info.

    Hi,

    I made a guide for the leaderboard setup here.

    https://shatter-box.com/knowledgebase/c ... eplaygames

    It works the same if you use Intel XDK. Here is a guide for exporting with Intel XDK

    https://shatter-box.com/knowledgebase/i ... nstruct-2/

    If you need a template, I can recommend you my Leaderboard Template here.

    https://www.scirra.com/store/royalty-fr ... rboard-538

    It includes a version for cocoon and for Intel XDK.

    Regards

    Andy