leon101noel's Forum Posts

  • 6 posts
  • yeah tried that, it seems to cut the fullscreen ad off straight away as the variable resets

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have a series of events and sub events when the player dies before the game over/score screen shows. What I would like to do is only on 3rd time the player dies show a fullscreen Ad via cocoonJS.

    I tried creating a global variable and adding 1 to it everytime the players dies then thought this would work...

    System (Compare Variable) Restart Counter => 3 THEN CocoonJS (show fullscreen ad)

    However because the variable stays at 3 until the the player restarts the level the fullscreen ad condition is always met and continues to try and loop showing a fullscreen Ad.

    Any easy way to do this that im completely just missing?

  • I have literally read tons and tons of threads and tried every which way of file configs, versions etc etc but no matted what I do clay.io is etremely flakey when compiled with CocoonJS works 1/20 times if lucky and then when it does work, it doesnt work very well.

    So......

    Is there a current alternative when using CocoonJS to compile my exports to implement highscore publishing?

    Im currently working on a Android version of my game. I know there is Game Centre (iOS) cocoonJS implementation already so that should be pretty easy when I get to the iOS version.

    Will adding the Facebook object and using facebook developer system for leaderboards get compiled correctly when done via CocoonJS?

    Any help will be much appreciated as it all worked in the CocoonJS Launcher App so I went ahead and published the app to the store and then found the bug after and been struggling every since

  • [attachment=0:1j6xdghu][/attachment:1j6xdghu]

    Keep little Duff Miver alive for as long as possible as you dive down deep and navigate your way through the tricky ocean.

    Game Features:

    • One touch controls: Tap to to make little Duff swim up but don't let him fall to the sea bed
    • Simple to play but hard to master
    • Don't hit the other creatures, little Duff Miver is a tiny little being and can't take a knock
    • Watch out for the shark attack
    • Every play is different with random generated infinite level
    • Be the best! Top the in-game leader board and challenge your friends
    • Unlock different quotes and expressions from Duff depending on your score

    ****

    Rookie - A Rookie Score 250+

    Bronze Award - Getting the hang of it! Score 500+

    Silver Award - Nice! Now dig deep and go for gold! Score 1500+

    Gold Legend Award - You are a legend! Score 4000+

    ****

    https://play.google.com/store/apps/details?id=com.leoncole.duffmiver

    Hope you all enojy it

    Clay.io plugin got some serious issues with a cocoonJs compile even following all thier steps, including the JS scripts in the HTML before compile etc etc. Works good on some devices doesnt work at all on others. So looking forward to the CocoonJS plugin for C2 supporting Google Play Services

  • I think this take from the post you linked is my answer! A great last level background image to use to make sure you have correct scaling across multiple aspect rations and just delete it when all important GUI and game elements are within the smallest ratio etc etc. Cheers for your help.

    [quote:9b32z4t7]@Fwumpy irina

    http://i.imgur.com/fVPYfr3.png

    I took the job to make it better, hope it helps =)

    17:10 is 1024x600

    16:9 1280x720

    16:10 1280x800

    3:2 1152x768

    4:3 1024x768

    5:3 1280x768

  • Hi guys and girls,

    Im new to the forums. Been learning construct 2 and building my first production project over the last month or two and have recently purchased my personal license. Ive exported out to CocoonJS and compiled and have my project working across multiple Android devices in my home which put a big smile on my face .... loving Construct 2!

    I've got one small bug which I wasn't expecting. I have built the project at 1280x720 (16:9) fixed landscape. On all 3 mobile devices im getting a white bar along the bottom(only) not on the top and bottom where the 720px height must not be correct for the devices. (Galaxy Note, Galaxy ACE 2, Sony Xperia) Is there a more correct resolution to create both my window and layout sizes in for mobile landscape? My project is set to "Landscape Scale" Not Landscape Integer Scale.

    Also on the Sony phone I am getting popping after the sound plays but not on the other two devices.

  • 6 posts