tumira's Forum Posts

  • austin and everybody

    In clay.io website settings you can also add advertisement to the game. What is the different between adding Ads banner in Construct 2 and using Clay.io in game settings ?

    Also I already upload my game but when I test it the ad banner seems not refreshing even I did put the interval in Construct 2. Or should we just set the refreshing manually in the event code ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • austin

    Hi, I just want to file a bug.

    The ad banner will crashed your game if, for example

    1)Turn off Internet connection

    2)Refresh layout (e.g restart the game in construct 2)

    I was hoping to make my games available offline. I did turn off display ads immediately.

    <img src="https://dl.dropboxusercontent.com/u/65841566/ClayIO%20ads%20offline%20bug.png" border="0" />

  • austin

    Did banner ad size 320x50 will only work for mobile browsers ? For every desktop browsers it wont display ads in that size, other size will display the ads.

    How about interstitial banner ? For example when game over I want to display interstitial ads and user need to click "X" to close it before continue. Am I able to do this ?

    Thanks

  • Ashley

    Yup. Thanks.

  • Right now the easiest solution is to use clay.io

  • Hi Ashley

    When I was looking at the CocoonJS Launcher error log on my Ipad , It mentions line no 1062 in preview_prelude.js

    So when I looked at preview_prelude.js, turn out you were calling JQuery for the toggle breakpoint feature.

    I`m surprised that it seems that I`m the only one having this issue ?

    So I guess for now, at least for my case I just modified your code a bit like this

    // Keyboard shortcuts

    if(window["c2cocoonjs"] === false){

    jQuery(document).keydown(function(info) {

         if (info.which === 121)     // F10 to step/next

         {

              onStep();

              info.preventDefault();

         }          

    });

    }

    or just remove the jquery thing and use this

    document.onkeydown = function(event){

        

        event = event || window.event;

        var keycode = event.charCode || event.keyCode;

        if(keycode === 121){

           onStep();

         event.preventDefault();     

        }

    }

    In cocoonjs launcher preview It will never run the Jquery thing.

    Also preview via wifi , the toggle breakpoint with "F10" wont even work unless I use bluetooth keyboard with the phone/tablet to go next step or just click continue on the screen. I think

    Sorry keep bugging you though about this bug.

  • Does not exits anymore? What do you mean?

  • Maybe try using Spriter ? <img src="smileys/smiley20.gif" border="0" align="middle" />

  • When preview via wifi using CocoonJS launcher I got Jquery error at the start screen but if I export to CocoonJS zip file and test on the phone it is ok. Did anybody else having the same problem ?

    Using R144.2 , have to revert back to R143.

  • Ashley

    Sorry for that. But Ludei did add partial support for DOM element in CocoonJS( maybe since version 1.3). So I taught that if you change something about how the DOM element works it might causes the JQuery bug that I have since R144.

    Copy paste from ludei

    v 1.3

    Improved HTML parser.

    DOM structure is read and created now although styled divs are not rendered. You can specify the canvas tag now and even put it inside a div tag. Ludei also supports an attribute for the main canvas to be a screen canvas by putting the attribute screencanvas=?true? to the canvas tag (it won't affect the execution on any regular non-CocoonJS browser)

  • Ashley

    preview via wifi will causes Jquery error for me. I just create empty CocoonJS template project and test it. Even if I test stock Construct 2 example also the same issues.

    If I export to CocoonJS zip file and copy the file to my phone, it is ok.

    I didnt make any changes to the project. Just default settings.

  • Ashley

    I think this broke compatibility with cocoonjs Launcher. I still have Jquery error in R144.2 with cocoonJs launcher when test via wifi. If I exported to zip file it is ok. Strange right?

  • Ashley

    Preview via wifi is broken with cocoonJS, but export directly and copy the zip file to the phone is ok.

    Just to update you my finding. But for now I have to revert back to R143 to continue my work. Since I dont have any error with it.

    Hope this is fixed.

    Thanks

  • Ashley

    Updated to R144.2. Still the same error.

    I need to revert back to R143.

  • Link to .capx file (required!):

    https://dl.dropboxusercontent.com/u/65841566/Pick%20Nearest.capx

    Steps to reproduce:

    1. Open Construct

    2. Click Browse Example

    3. Pick any projects. (Example -Pick nearest) -I'm not using any physic.

    Observed result:

    Javascript Error. This is just example from stock construct.

    https://dl.dropboxusercontent.com/u/65841566/2013-09-14%2000.52.10.png

    Expected result:

    Project run without error.

    Browsers affected:

    Chrome: yes

    Firefox: yes

    Internet Explorer: yes

    Operating system & service pack:

    Windows 8

    Construct 2 version:

    R144, Latest CocoonJSv1.4.1. Galaxy S3.

    Going back to R143 solve my problem. So I guess a bug in R144.