Ubivis's Forum Posts

  • Without having a sample capx of your game, it is hard to tell if it is a problem in your game code or just your internet connection

    If you could share your capx, I am sure someone is able to help out on your problem.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Please have a look here: https://www.scirra.com/tutorials/303/ho ... o-cocoonjs

    Under the point "Compatibility" you can see:

    - The form control plugins Textbox and Button are not supported.

    • The XML object is not supported.
    • The Facebook object is not supported.
    • The letterbox fullscreen modes are not supported. If they are selected, it will fall back to 'Scale outer' mode instead.
    • The Text plugin's 'Set web font' action is not supported.
    • The WebStorage plugin's session storage is not available. Use local storage or global variables instead.

    A possible solution:

    Add images for the numbers 0-9 and when you touch one, add that number to a text field.

  • Webstorage only stores strings.

    First I would suggest to have a read on this: https://www.scirra.com/manual/120/webstorage

    After that, convert your number to string before saving it and on load, turn it back into an integer <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • a possible solution would be using the Browser Object and the "Execute javascript" Event:

    "window.parent.location.href='yourURL';"

    EDIT: I have not checked the functionality in an iframe, but the code will hopefully work

  • 2 backgrounds are enough... both a bit higher than your layout, when one layout leaves the layout on the bottom, relovate it on top of the other one. Infinite scrolling

  • I am using the Pro version for about a week now. You can export your made up tile set to an image file and import it into "Tiled", save your work there and import the map into your C2 Project.

    A lot of nice possibilities

  • Ah, okay... the problem with your set up was, that you used one image object for all the images. I tweaked your event sheet a bit and it works now as you inteded <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    https://drive.google.com/file/d/0B_5xNk ... sp=sharing

  • I don't have my C2 available right now on this computer and will have a look tomorrow when I'm back at my work computer, but I think my example screenshot above could solve your problem.

  • no idea if you have a question or not, but what you want is this:

  • to answer your question: yes

    have a look at "joints" and in addition you only have to set up a few events for the objects, how they should react on anything.

    You should write everything down how everything should interact and after that translate it into events.

  • on the event sheet, select your first sprite -> On collision with another object -> select other sprite

  • a while ago, facebook changed their rules that only secure server URL are allowed.

    Your URL has to start with "https://" and you must have an SSL certificate active on your domain (otherwise an error message will come up every time someone runs your app).

    Hope this answers you question.

  • weird... mine works fine, you can download it here:

    https://drive.google.com/file/d/0B_5xNk ... sp=sharing

  • hehe, because you generate the sprite outside of the layout

    This will fix it:

    Sprite5 compare Y value > 1280 (your layout height) -> Sprite 5 destroy

    EDIT: To be clear, the one above instead of your "if outside layout"

  • I had a quick look and it seems that you are only destroying Sprite5, when you touch it with your smurf. So, if you miss it, it continues to fall down (even it is not on the layout).

    I would suggest to add an additional event to destroy the Sprite when it has left the layout on the bottom screen. This should keep your game run fine.