darkstar's Forum Posts

  • Spoke to soon....

    cloud compiled version doesn't work grrrr..

    this is annoying

  • just noticed that there is a physics engine property on the cocoon object.....

    guess that's what you guys meant?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Just found the problem I was having. Seems like a referencing error in the code that is generated by Construct 2.

    I was getting the problem "TypeError: 'undefined' is not an object ('evaluating window.Box2D.Dynamics')

    unzipped my Cocoon export file.

    1. Unzipped my Cocoon export zip file
    2. Opened the c2runtime.js file
    3. Searched for "window.Box2D"
    4. Deleted the "window." portion. As the window object doesnt' tie to Box2D as far as I can tell from the rest of the code
    5. zipped everything back up. (make sure you zip all the files to the root of the zip, else the runtime will fail)
    6. Upload you app and test
    7. hopefully it's all working!

    <img src="smileys/smiley4.gif" border="0" align="middle" />

  • BAnyBudde

    I understand your frustration, but this has been an issue for a while now, and is out of Scirra's hands for the time being. CocoonJS was updated which appears to have caused some errors.

    I'm sure the team are working as hard as they can to make sure things are smooth. For now, you'll either have to switch to the older physics engine with Cocoon, or just wait a little longer.

    I've been waiting for this for approximately 3 months... but it's given me a lot of time to polish up my game.

    Sorry I couldn't be more help.

    How do you switch back to "OLDER PHYSICS ENGINE with cocoon"

    Would appreciate your input. Thanks

    <img src="smileys/smiley17.gif" border="0" align="middle" />

  • I get this error when trying to call an Ajaxpost

    Refused to set unsafe header "Content-Length"

    with this value in the data field:

    "{""name"": ""Construct2"", ""score"":""300""}"

    How do I set the headers parameters as the plugin doesn't make this available or is there another plugin that post Ajax requests with header configurable options?

  • Hi I'm finding this really frustrating.

    I have a bunch of images which I have resized the canvas and export to png format. Each file is the same dimension, though the graphics that they contain vary in size. The background of all these graphics are transparent, but the problem I am facing is when i import the image, C2 automatically decides to truncate the size of the image. Leaving me with a bunch sprites with all different sizes when i really want them to stay the dimenions that they were imported.

    Not sure if anyone else is finding this of has a clever work around?

    When i go to resize the sprite (for scaling purposes) all the images end up resizing to irregular proportions.

    thanks

  • Anyone know how to reference an image as the background of a button in CS2?

  • Is there any update on a patch for this problem?

  • Are there any plugins for iAds of Admob for construct that work in cocoon? or something else? I've been searching the forums and the only thing i can find is clay.io which i'm not even sure will work in an IOS app. (i've tried adding in support for the plugin, but nothing shows up when i compile for IOS/Cocoon. So is there any other advert support that i can use?

    Also are there any restriction of that will stop you being able to use the advertising plugin in the App store? <img src="smileys/smiley2.gif" border="0" align="middle" />