YetAnotherSuperhero's Forum Posts

  • So I can retrieve the data from a text file with filechooser+ajax, but how do I save to the text file?

    Thanks.

  • I've been trying to parse an html page and am having no luck.

    If I use AJAX to "Request URL" I get the page's html. And if I use the developer console in Chrome I can go to the element and copy the xpath.

    But when I tell the XML object to load the data from the AJAX Object, it doesn't seem to load anything.

    And when I use the xpath from chrome I get nothing.

    Here is the xpath: //*/div[2]/p[100]

    Where it says p[100], I'm trying to parse it for all objects 1-100.

    Any ideas how?

  • I just tried it. No luck

    Could somebody please implement this? It would an enormously useful feature!

  • I've noticed in the XDK program where you toggle options for the build (like use camera, gps, etc.) it gives you an option for access to the file system.

    Is there any chance of a plugin to access this feature?

    I'd love to be able to read/write to a text file on android.

  • Sorry for the bad link, first time using Google Drive,

    here's the new link.

    https://www.dropbox.com/s/2m4165l259ywm3o/NodeWebkit%20Dialog%20Bug.capx

  • That got it! Awesome! & Thank you!

  • I'm trying to detect if one variable is clockwise from another.

    I know I can do that with a sprite's "angle is clockwise" but I need to do it with two variables.

    thanks.

  • Sorry for the wrong forum, but it wouldn't let me post this there.

    Link to .capx file (required! If link is blocked remove the http and www parts):

        https://drive.google.com/file/d/0B52cG6na_GB2VmJoNTV0SFFZTW8/edit?usp=sharing

    Steps to reproduce:

    1. Click on button, it will set the status text to blank then ask for a folder

    2. Select folder and okay dialog

    3. see status text result

    Observed result:

    The status text will read "NodeWebkit Dialog OK" on the first time a folder is selected. If the same folder is selected again it will not trigger a "On Dialog OK" event, only if it is a different folder (This applies to Open and save dialogs also.)

    Expected result:

    A "On Dialog OK" event should trigger every time even if it is the same folder/file as the last time it was triggered.

    Browsers affected:

    Chrome: NO

    Firefox: NO

    Internet Explorer: NO

    NodeWebkit ONLY

    Operating system & service pack:

    Windows 7 & Ubuntu 13.10

    Construct 2 version:

    156

  • Thanks, I've thought of that, I was kind of hoping for the array though. It seems like it would just be cleaner for me. I'm probably going to have multiple "Speeds" that might fall in different "X" in my arrays.

  • I'm finally going to start my big project and am going to need to juggle a lot of data (for weapons, equipment, etc.)

    So...

    Could someone make me a variation of the array where I can refer to the "X" with a tag? (like Array.Get("Speed", 1, 0) )

    It would make handling everything SO much easier.

    Nothing else needs to change.

    It would be a tremendous help.

    Thanks

  • Is there a way to get the current node in an XML "for each node" loop?

  • I'm trying to make a block building game where you construct a ship. (Sort of like Simple Rockets, but with out the physics)

    I don't really know where to start but here's what I'm going for:

    Not every block can be connected on every side, some just on the sides, or just bottom, etc.

    The blocks will need to be pinned to another block so the whole ship can turn.

    If part of the of the ship is destroyed any (newly) unconnected blocks will not be connected to the ship

    And some way the ship could be saved (to an array)

    I've tried working on this all night (literally past midnight) And I just can't make a go of it.

    Any pointers or help?

    Many, many thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm having a problem with the overlap at offset condition.

    I can't make it work, at all really.

    The sprite won't seem to detect if it is overlapping.

    Would anyone mind giving me some help?

    Here's my CAPX

    Thanks.

  • I'm trying to figure out how to make a steering wheel.

    I've thought of setting the angle to where I touch, but that just makes it jump to the position, and I've tried using how far I've dragged the touch but then the action is the opposite direction on the other side of the wheel.

    Any ideas?

    Any help is appreciated.

  • Yeah that's right!

    Would it be possible?