Sisyphus's Forum Posts

  • CW 15? Really?

    -CW 13 (13.42.319.11) has been the latest stable version almost 1 month. We can't use CW 13 with Intel XDK and we are talking about CW 15?

    -We can't even build with the stable version of CW 12 using Intel XDX because it's still using a BETA version (12.41.296.4) of CW 12

    Well, I truly hope we can get a quicker release system, please

    The last versions are out but we can't use them

    CW 15 is not yet released, AFAIK it's stable release is scheduled to mid-end of july, so maybe something will happen before the release. I remember someone from intel team was talking about a command line interface that will let us choose any crosswalk version without it's blessing by intel.

  • Sisyphus Would I also need NW.js to write the file?

    Nope, you can use any export option with support of ajax and file chooser.

  • "Is dragging" not trigger on mouse clicks.

    Let's say, in my project i already have an event "is dragging" that should trigger on mouse click, me and everybody use it like this since r78, if this will be changed i need to rewrite my project. Now let's say it's not about me, about 10-100 or more c2 users. So a breaking change, that will affect almost everyone who use dragdrop, like this, can be applied only if this change will fix a major bug, "dragging behaviour in C2 should work as it does in every other single computer application" is not really a major bug.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This is not a bug, it's by design, you're asking for a behaviour's new functionality, not for a bug fix, so better post it to Construct 2 General forum as a feature request, but i don't think that everyone will agree with your vision of how dragdrop should work, just imagine how many projects are already rely on the way it works right now.

  • Dunno, you can try the collision-only empty sprites+tilemap object with trees in front of the sprites, but 8000 collision sprites still sounds really hard. Maybe you see a little improvement if you gonna test for player overlapping only on-screen objects.

  • but Ashly don't want to listen.

    I think most users don't want to listen, and cannot read the description of construct 2.

    [quote:1zolnf80]What is Construct 2?

    Construct 2 is a powerful ground breaking HTML5 game creator designed specifically for 2D games. It allows anyone to build games — no coding required!

    It's NOT 3d and NOT native, and never be.

  • I have read up on Local Storage and feel comfortable moving forward with it, but I am not 100% comfortable with comments regarding the data saved off and whether it is protected. If a player clears their cache, can it be wiped out?

    If you have a game where players need to play through a lot of levels and you need to save off their progress in addition to coin counts, is the only sure way to do this with a web-based DB? Is there any way to do it locally if the user gives permission?

    My apologies if this answer is out there on the forums somewhere. I just cannot seem to find a definitive answer. Thank you in advance for any help.

    You can use File Chooser, Browser, AJAX and default save/load actions if you need to store user's files on user's disk.

    On save complete - start to download SaveStateJSON string (with browser or any other plugin that can download as string), then if user want to load the game, he need to choose the downloaded file with File Chooser, then your game need to read the contents of this file as string, you can use AJAX object for that, Request URL - FileChooser.FileURLAt(index) and when AJAX triggers On Completed you need to use system's action Load from JSON and set AJAX.LastData as a JSON string to load from. You can download any JSON with savegames data, not only system's SaveStateJSON.

  • The new Cocoon is alive .

    Wow, sounds hot, signed up for beta.

    Ashley should take a look and rethink the current exporting/compiling process.

    If this new cloud is cordova compatible, then there's no need in this, because we have a cordova exporter in c2.

  • Done.

  • 1) You set a value then try to retrieve it again (after restarting the layout) before you are sure that it has actually been written to storage. You should wait until 'On item set' triggers before restarting the layout.

    My description is wrong a little i guess, i don't have any trouble after restart of layout, and i see no trouble with this, trouble starts only after restart of preview (refresh browser page or close and start again), so no trouble with #1, but thanks for the info and thanks for #2 fix.

  • Safari supports JIT and every other good stuff that WKWebView is going to bring, but cordova is still working on old UIWebView, so nothing strange here.

  • It's not a bug, asm.js needs JIT to work right, AFAIK cordova is not supporting JIT right now, the support of Nitro JIT is coming with cordova-ios 4.x branch that supports WKWebView, apache guys said in April-May 2015.

  • Problem Description

    Here's the thing i tried to do - start a layout - set localstorage value - close and back again or refresh the page - check if item exist and set text to its value and if it's value equals to 1 do something.

    Attach a Capx

    I don't know why, but i can't attach it, i don't have attachements button. Here's the link.

    https://yadi.sk/d/bQ9xA43Kfz969

    Description of Capx

    Text object + Sprite object + Touch object. On start of layout check if item "Value" exist, if exist set text to item's value and if item's value equals 1 - rotate sprite 34 degrees clockwise. On first start the localstorage "Value" item is not exist, so you need to touch the sprite to Set "Value" item to 1 and restart the layout. On restart you'll see that text is now showing 1 (items value) and sprite is rotated, you can tap sprite again and again to restart the layout and see that everything is working as it should, everytime the layout restarts "Value" item sets to text and compares right. Now refresh the page (F5, browsers refresh) or close and start the preview again, local storage triggers the exist condition but gives us the empty value, so text is empty text, and it is not equals 1 anymore and the sprite is not rotated because of that.

    Steps to Reproduce Bug

    • Start preview
    • Touch the Sprite to Set "Value" item to 1 and restart the layout
    • On restart you'll see that text is now showing 1 and sprite is rotated, as it should
    • Now refresh the page (F5, browsers refresh) or close and start the preview again, the result must be the same as after restart of layout but it's not, local storage triggers the exist condition but gives us the empty value, and value of item "Value" is not equals 1 anymore

    Observed Result

    Local storage triggers the exist condition but gives us the empty value

    Expected Result

    Local storage always gives me the values that i stored.

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    Windows 7 64bit latest all.

    Construct 2 Version ID

    r202

  • Perhaps it should automatically appear and conjoin to an event that uses asynch so that the user can't get confused/realizes it's part of the command.

    But if i want it to fire not only after "On Space pressed"? Let's say i have multiple events with Get Item?

  • Hey people, about the issue with clearing webstorage on low space, there's a new Local Storage plugin in r202. Can anyone with low space on ios device try it?