Chadori's Forum Posts

  • You do not have permission to view this post

  • Elliott - Thanks XD I think I'll participate.

  • Elliott - I have some question. I am sorry, I am new at this.

    1) Is this a competition?

    2) Do we need to provide our own game assets(graphics, sounds and etc.)?

    3) By you mean overly-graphic content, do you mean to avoid making big games and only to create simple but creative game?

  • Maybe setting CSS background to black would do the trick? Haven't tried.

    How can I do that?

  • Hey Guyz, I need help.

    How do I remove statusbar on splashscreen startup on intelxdk? This commonly happens on Android Version 4.4(Kitkat) to Android Version Lolipop? Because this prevents my splashscreen to coverup the entire screen and when the status bar is removed, there is a second that a white rectangle (Size of the statusbar) will appear below when the image(Splashscreen) moves up to cover the statusbar place above when the statusbar begins to disappear.

  • vendara - That's weird, I tried to remake your event and did not find anything wrong with the text object setting it's text to variables or variables have any problem. It must be the event you used to subtract the Health Variable or to put it simply, If there is a bug or an incorrect event then the problem must be when the enemy do some damage with the player.

    Try to use "Round" native expression to remove the decimal places when you cast damage. Are you using the "float" expression by any chance?

  • To keep my C2 code simple, clean, and easy to read, I like to put ALL my code into Groups. When the events in that Group are resolved I deactivate it and activate the next one. Sometimes I have to leave a Group open until events have resolved... This FSM-style methodology works very well for me but I ran into an obscure bug recently and I'm wondering about the best way to prevent this problem in the future.

    My issue occurred when I switched to a new layout and then back again. I expected the layout to basically "restart" but I apparently had a Group open (from before) and that code was executing out of order. Anyone else run into this? I don't think there's a programmatic way to Activate or Deactivate all groups, right? I could do it on a Group-by-Group basis but I have a lot of Groups.

    I did not encounter but I think making separators like Universal Groups (Always Active) and Local Groups (Can be deactivated) can prevent this or separating event sheets per layout or per category will also be good. But if it is really a bug and if you can prove it then you should report this as a bug in the Bug Section of this forum but remember to provide a .capx file or it will be marked as closed.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • Hello all,

    How do I set up admob ads that will show up in game? I added the Admob component, created an admob google account with a specific ID for the Banner Ad (Free Banner Ad template) and put in a "On layout start: Preload Banner Ad" and "On Banner Ad Received: Show banner ad at position Bottom size Smart Banner" in the event sheet. I have "Overlap: Yes", "Test: True" set as well.

    I've tried other options to but I can't get the Banner ad to appear no matter what I do. Please help. Thank you.

    Cortez527 - You need to export it to an app before you can see the ad's. That's good that you put it in "Test Mode" so that your account will not be banned but you still

    need to export it to cordova for it to work, you can't see it in the Construct 2 Preview.

  • >

    > > Hi, my Construct 2 does not have the Webstorage and Cordava plugin. Can someone link me to where I can get both plugins and other related plugins, please?

    > > Thank you.

    > >

    >

    > Webstorage is called "LocalStorage" in newer release of Construct 2 and it is preinstalled. There are many types of cordova plugin, what kind of cordova plugin is missing? What do you mean by Construct 2 does not have it? Why do you need it, are you exporting to mobile?

    >

    I presumed it had changed to LocalStorage, but wasn't sure because I'm trying to save a highscore and this plugin does not work the way WebStorage works.

    That is, if "localkey" exists, do [xx].

    else, create [localkey]

    I presume this works differently? Can you be of assistance?

    Also, I'm trying to release my game for Android/Windows/iPhones and it needs a Leaderboard. Someone suggested I use the Cordava plugin, but it does not have that.

    Webstorage was replaced by localstorage since it was prone to crash and endless write of value if not used correctly because of lack of use of trigger. So it is different now.

    A tutorial for LocalStorage link:

    https://www.scirra.com/tutorials/1461/h ... age-plugin

    You can use Cranberry's Plugin for GooglePlayServices (Cordova) if you experience Construct 2 GooglePlayService not working. But this is a paid plugin made by cranberry.

    Link:

    http://cranberrygame.github.io/

  • Hi, my Construct 2 does not have the Webstorage and Cordava plugin. Can someone link me to where I can get both plugins and other related plugins, please?

    Thank you.

    Webstorage is called "LocalStorage" in newer release of Construct 2 and it is preinstalled. There are many types of cordova plugin, what kind of cordova plugin is missing? What do you mean by Construct 2 does not have it? Why do you need it, are you exporting to mobile?

  • gokturk Made my day XD Lol.

    if you want to make your finished game into an .apk or android app, first you need to export it to cordova...

    Follow this instruction : This is about exporting android app with IAP and Admob but it also explains how to export to crosswalk android.

    https://www.scirra.com/tutorials/4848/h ... alk/page-4

  • I think this was user error. I did another export and it seems to be working now.

    In the past I have used the "How Do I..." section when I have very specific questions. This one was a bit more general so I picked the "General" section. Should that section be used for something else?

    Good to know you fixed it by yourself.

    No, it was just a suggestion since high number of volunteers check that page(How Do I) first than this because that page was more on asking questions and the visits was currently very low at that time.

  • john Cutter I can't help you on this but I think this would be better if you put it on "How Do I" Category of the Forum for there are more help there than here.

  • - Did you try this:

    (Pick by Comparison: Sprite1.Animation Name = "Animation1") & Is overlapping Object(Sprite2)