TiAm's Forum Posts

  • You do not have permission to view this post

  • Are you just trying to destroy folders containing files you have created with the runtime? If so, maybe it would be safer to explicitly delete those files, then delete the empty folder using the fs.rmdir command (which fails if the directory isn't empty).

    This way if you make a mistake with the folder you're trying to delete, it won't do any harm.

  • Hmm...this is kind of worrying. :/

    Does it seem to make any difference what you preview with (node, chrome, FF, IE, etc...)?

    Can you force the issue to happen sooner by repeatedly previewing?

    Does it happen with other projects?

  • Are you using a third party plugin or behavior?

  • Maybe you ought to start off with 8direction disabled. Then go:

    If player is overlapping ladder & Player is pressing UP or DOWN

    --Activate 8direction

    Else

    --Deactivate 8direction

    If you are still stuck, it always helps to post a capx.

    Welcome to the forum.

  • Rather than have Ashley spend time creating yet another (and still more limited) image editor, I would rather see an 'open in your favorite image editor' button, whereby it opens up the likes of GIMP, paint.net etc....

    +1000

    Ashley

    This would be so great...at least support for Gimp/Photoshop...

  • Oh no! What am I going to do with my crown of n00bness?

  • When exported, cpu usage drops to almost nothing (1-2%). Minification makes no difference.

    Task manager seems to indicate that the cpu is actually under strain during preview. Chrome, FF, Node all exhibit the same behavior (cpu use elevated ~10x over export).

    Debug/Normal preview makes a significant difference when under the Inspect tab (cpu about 2x higher than normal), no difference under the Profile tab.

    Odd...

    Here's my version of the file (added a spritefont cpu counter):

    https://www.dropbox.com/s/l3l35x8g2nfaz ... .capx?dl=0

  • Dunno, did you click 'add the file' after the upload completes? Otherwise it won't go up. For capx's, dropbox is good too.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Can't really do that in the editor...as long as you are dealing with the same object, you can do this during runtime by fetching the properties of an object with expression Obj.Misc.AsJSON, then loading that data into another instance with the action Obj.Misc.SetFromJSON.

  • For even more fun, make your object a container and throw in a dictionary or array...

  • helena made a good suggestion. Here it is as a capx:

    https://www.dropbox.com/s/tpwhd37i7drq7 ... .capx?dl=0

  • Well, it doesn't look like that functionality is exposed in the Node-Webkit plugin, though it does exist. It could be Ashley choose not to expose it for security reasons (you don't want to make a mistake with that kind of command).

    Removing empty directories is straightforward, it calls the following function from node's file system API: fs.rmdir(path, callback)

    Removing dirs with files in them requires a couple extra steps.

    http://www.geedew.com/2012/10/24/remove ... in-nodejs/

    http://stackoverflow.com/questions/1262 ... irectories

    tl;dr: you would have to modify the node-webkit plugin to accomplish this, or convince Ashley to expose that part of the API.

  • Colludium

    Well, that's sort of good news (though, it sort of isn't ). I've been wary of third party plugins for that very reason, though some are mighty tempting.

    If you figure out what plugin is causing the problem, please let us know...

  • Well, here's something awesome I came across a couple days ago:

    https://www.indiegogo.com/projects/hull ... mated-film

    Aphrodite

    The Thief and the Cobbler is pretty weak on plot, but the animation is mind-boggling considering it was done in the pre-computer era. The best version available is the so-called 'The Recobbled Cut Mark 4', which is probably the most elaborate fan edit ever...though, fair warning, it's legality is dubious. If you do watch it, don't watch on youtube...the quality is horrendous. It's pretty easy to find with a little google-fu. Wikipedia has some info here:

    http://en.wikipedia.org/wiki/The_Thief_ ... n_attempts

    Interesting side note: Many characters in Thief have some shockingly close analogues in 'Aladdin'...so much so that the bastardized versions of Thief released in the early 90's ('Arabian Knight' and 'The Princess and the Cobbler') were widely panned as blatant ripoff's of Disney's genie-powered classic.