Zebbi's Recent Forum Activity

  • Yep! works much better now, thanks! <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Glad it works for you! Took me trial and error to get that right, if you find a better way that fixes that initial refresh, let me know! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    Also, I posted here: https://github.com/CocoonIO/cocoon-plugins-c2/issues/13

  • Here's the way it fixes that for me, still refreshes once but I'm working on a solution to that, for now:

    Start of Layout >

    -------------------------Hide Banner Ad

    -------------------------Load a Banner Ad

    -------------------------Set banner layout

    When you want to show ads

    Trigger Once >

    -------------------------Show the banner ad

  • Hi! Some of them went to our old office (Electroline House). I am going to pick them up at some point in the not too distant future and PM people when I do! In the meantime, please take note of our new address which should be updated everywhere

    Don't worry, any sent to our old address are not lost!

    Edit: Blarg, saying that, old address is still in forum footer! My fault, sorry!

    Did you manage to find all of the January postcards?

  • Zebbi glad it's going well for you still. No solution out there is going to be without some bumps along the way, but from what I am see it's the best option..

    Oh bumps, I've had too many to count, but after persisting and persisting, it came out well in the end.

  • I managed to make cocoon.io look native by turning off pixel rounding and destroying certain sprites that left the viewport by inverting "is on-screen". I use chipmunk physics which is alot faster than C2's and it's smooth at 60fps at most times. Cocoon is definitely the future and I hate smart phones (I have an iPhone 5s for messenging but test on my friends Sony Xperia), never play apps and didn't know jack about developing for apps until a month ago. I've got a whole load of plugins I'm using in C2 and I didn't develop my current app with any particular device in mind, I just used horizontal 16:9 for the layout. if I can get silk smooth with cocoon, there's really no reason why anyone else can't.

  • This is genius, Gigatron !

  • Zebbi

    Instead of using the actual leaderboard name you have to use the Leaderboard ID. I wonder if this is the issue you are having. I had the same issue because the plugin asks for the leaderboard name and even gives an example of the name. So just create a variable with the Leaderboard ID and use that. Let me know if that's the issue you are having

    Also as far as the ads quickly loading. I ran into the same issue and I narrowed it down to the event On banner loaded triggered multiple times even when calling it just once. So I used a variable in the event and changed it the very first time the On banner loaded got triggered.

    I agree they should not describe it as the leaderboard name, but I've always used the ID since I started working with C2's built-in plugin, then cranberry's and both suggest using the ID. It's working now, it was a major mistake on my behalf of using the wrong package name in the game services!

    Believe it or not but just two days ago I tried usign a variable that did like you described and it didn't help, I might try it again with a blank layer on the top set to active and see if that helps. At the moment, the way I have it doesn't refresh but it DOES load it again when it is unhidden, which is weird and flakey looking.

  • An idea, perhaps some forums here for each of the major compilers like cocoon and xdk, just list them as unofficial and use them as a place where users can offer inter-user adive, alot better than everyone going to the cocoon forums or the xdk forums, both aren't much help tbh.

    If it's not considered to be Scirra's responsibility to offer unofficial support for the compilers, look at it this way, Scirra advertises it's capabilities in developing games for mobile platforms and without these compilers there would be no mobile games.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • yea so far my webview testing hasn't helped my situation either.. in fact i'm having some issues getting things to compile now with webview at all.. glad to be a silver member though now so i can have test projects up along side my actual projects and not have to share the same space..

    Have you figured out how to keep an app logged in forever to google games? I appreciate a one-time login but everytime I start the app?

  • yes performance might be not as great.. but don't assume it means bad... different kinds of game logic and movement require different kind of performance.. i haven't seen your game.. but what i am saying is try it.. if you can confirm it works in one and not the other this helps give you ammo to go to Cocoon IO support and say.. "hey guys this doesn't work, can you fix it?"

    Webview+ didn't fix leaderboards and performance seemed virtually the same though perhaps slightly worse, can't be certain though, my fps counter looked very similar.

  • Also Zebbi you should open a thread on the game engine section of the cocoon io and share this discovery..

    1. it could help others

    2. it will help the cocoon io people see something is up that they should look into fixing.

    I was going to anyways, I've added it to my topic: https://forums.cocoon.io/t/ads-keep-cha ... econd/1588

    You'll notice I'm the only poster in that thread cause barely anyone else exists on those forums.

  • hey i got a tip from Sang Ki that might help us with some of these issues.. try making your game with webview.. not canvas + yes i know this might have other issues, but just try it. canvas + is a kind of hybrid creation of cocoon io..

    because it does do it's own thing in some areas.. compatibility problems with plugins / functions CAN crop up.. might even fix the refresh issue.. i'm going to test my screen capture plugin from sang ki now to see if that makes any differnce..

    Isn't the performance on webview worse than canvas+? I think we need performance to be at the absolute best it can be, it's slow enough trying to use html5 on smartphones as it is, very difficult to get solid 60fps for any longer than a second or so before it drops in canvas+.

    you got a tip from Sang Ki? how did you manage that?

    just remember that of course using webview or webview+ means the canvas+ plugin is no longer a thing..

    Not currently using it as I thinned my events down as much as possible to try and get ads working correctly.

Zebbi's avatar

Zebbi

Member since 20 Jan, 2014

None one is following Zebbi yet!

Connect with Zebbi

Trophy Case

  • 10-Year Club
  • x3
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

12/44
How to earn trophies