Joannesalfa's Forum Posts

  • I've tried to use AJAX via cocoonJS launcher and it worked because it depends on server side.

    CocoonJS doesn't have own domain, so it's not allowed to get resources from other servers.

    My php script should be:

    <?php
    
    header('Access-Control-Allow-Origin: *');
    header('Access-Control-Allow-Methods: POST, GET, OPTIONS');
    header('Access-Control-Allow-Headers: Content-Type');
    
    echo 'Got it!';
    
    ?>[/code:pw5w5zwf]
    
    If it doesn't work, depending on your server, let's try another solution:
    
    [code:pw5w5zwf]<?php
    header('Content-type: application/json');
    $url=$_GET['url'];
    $json=file_get_contents("http://www.yourdomain.com/text.txt");
    echo $json;
    ?>
    
    [/code:pw5w5zwf]
    
    It's basic JSON-P, it worked everything if we couldn't get cross-domain.
  • If it doesn't work with cross domain settings, you should try with JSON-P

  • u_u thanks

  • Ashley I would like to know about third party exporter.

    Is possible to create own exporter?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • According to his page:

    [quote:1r4t8mzd]Finish testing pixi.js and phaser.js. Try three.js as well. And by popular demand, Construct 2. C2 won't be easy because it's not open source, which means it will be harder to debug.

    I thought IDE is closed source, I'm not sure about HTML5 exporter, I wonder how we can encourage him.

  • ThunderZ you can use your HTML5 games to replace assets inside of APK, you can test it, it worked with Phaser and Pixi.js, but it depends what you have implemented the mechanics.

  • Um what?

  • ThunderZ Got links how you got 60 fps from your tests?

  • Yes, we don't need to scan directory, just make a list of names with correct path and get each one.

  • Well, there no way to support it with Javascript for security reasons but node-webkit so can do everything for file system.

    Tom I hope they will not affect us with chargeback frauds.

    I would like to discuss about chargeback, according to FAQS:

    [quote:2sfqsiqk]Chargeback

    Unfortunately if a chargeback occurs, the amount of the sale is refunded and a ~£15 fee is charged. This is distributed proportionatly to everyone who was involved in the sale.

    Chargebacks are fairly rare, but if you're unfortunate enough to receive one for one of your items you may notice a negative sale as the fees are greater than the value of the item.

    It sounds anti-economic, the buyers are responsibles who have purchased our products have no bugs or were not incompleted, so if they decided to chargeback for less than $5 and they have cloned asset, then we lose £15 that's scam!

  • Sometimes I created sub-folders inside of Files folder in C2 editor, project tab. It contains some libraries are set in correct path.

    After of export, sub-folders are removed and current libraries were wrong path in directory. I don't like to drag "lib" folder into every exported folders.

    Isn't possible to create custom folders in export?

  • R0J0hound Gotcha, good one! Thank you a lot, I will integrate this example to bubble shooter, I hope everything is fine.

  • Huh, didn't you use groups?