zikdot's Forum Posts

  • I have r209 version of C2 and when i go to export my project I can't seem to see the option for cocoonJS anymore??

  • TiAm any ideas why this might be? sorry for replying to an old post

  • My ads in cocoonJS dont work at all? nothing shows? could it be that I'm using C2 version 178?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • how can i add ADs to my C2 Android game when compiling with cocoonJS. I tried using MoPub + AdMob but had no luck.

  • gumshoe2029 Works great! thanks so much!

  • gumshoe2029 thanks so much

  • gumshoe2029 I'm quite confused on the first part. I've never used anything like that before. Is there any way you can show me?

  • Okay so i want to create a sprite that is larger than the screen window. It is going to play the role as a menu that scrolls from left to right on touch. I have followed this Tutorial https://www.scirra.com/tutorials/560/sw ... tia?page=3

    It was great and works fine the only thing is that i want part of mine off screen therefore got rid of bound to layout. I want to be able to scroll 500 off the screen to the left and 500 off the screen to the right as I don'n want all the options visible on the screen at one time. How can I do this?

    Note: I am only using the X axis.

    The image below should help explain what I mean

    THANKS

  • I figured it out! It was due to the size of the Score Text (being very large).

    *ADVICE*

    I would advice anyone who is planning to on making an android game that involves changing text e.g. a score, don't use the Text object. Instead use the SpriteFont object which will should stop lagging if anyone is suffering from the same problem. I found out that text is not well handled on Android phones where as Sprites work much better.

    I used the font generator to customize my own SpriteFont and choose a font that I wanted to use. Its really straightforward. Follow the link below. Good Luck!

    sprite-font-generator-v2_t86546

  • Great. Thank you for pointing that out!

  • Hi guys, I have an issue with my game that no one can seem to find the solution to. I have made several posts on the forum as to my game having lag. I have altered the game more times than I can count and have even had other people look at the game and make alterations but every time I still end up with the same issue.

    Now I have no idea anymore whether it is down to the coding or that Android phones struggle to operate games exported through intel XDK and CocoonJS, either way I am completely stuck as to what to do and am turning to you for guidance.

    This isn't the first game it has happened to. I'll briefly explain the issue....

    The game consists of a player and several enemies. Whenever the enemies collide with the player they are destroyed. When the enemies are destroyed there seems to be a lag for a moment and no one has any idea as to why. We have tried and altered everything yet the problem continues.

    I would be more than happy to send a copy of the game to you to have a look at through PM. Please post below if you feel you can help. THANK YOU VERY MUCH!!!

  • alextro so just to clarify how should I write it out?

    Thank you

  • alextro thank you, i will give it a try and let you know

  • alextro could you just explain again what you mean by your previous comment where you said

    "Sprite1 is overlap Sprite2, Trigger once >> Destroy Sprite1

    Put 'Trigger once' after 'overlap'."?

    Thank you

  • LittleStain I just sent you a dropbox link with the capx in over a PM. Not sure if you received it because its showing in my outbox

    alextro I'll have a go at that thanks