R0J0hound's Recent Forum Activity

  • spongehammer

    It might. It could be there is some function that I need to tweak that isn't being used in my tests.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • spongehammer

    Hmm, best I can tell "tri" is some minified variable name, so I have no way of knowing where to look. I'm not getting an error on my machine when exporting as a minified nw.js.

  • Lately I found another way to use to do it with only the snapshot action without the canvas plugin.

    https://dl.dropboxusercontent.com/u/542 ... rect2.capx

    Basically you use "system->set canvas size" to set the image size you want, then you scroll to the center of where you want to capture and then take a snapshot. When it's done you then set the canvas size back to what it was.

  • I have some time. If you post or pm your capx I can try to isolate the cause.

  • bladedpenguin

    On the note of searching, you can use google to search only the scirra website by adding the following to your google search.

    site:http://www.scirra.com[/code:1zp9n4ct]
    
    It has certain advantages over the forum's search.
  • Instead of using System->compare use system->"pick by comparison". The system->compare condition does no picking so it only ever compares with the first instance.

  • Can you run your nw.js exported exe from the command line with the --enable-logging switch? It will make a debug.log file that should have the error.

    A simple way to do that is to create a .bat file.

    Open notepad and type in:

    newproject --enable-logging[/code:2p88pw6b]
    where newproject is whatever the exe file is named.
    Next "save as" and call it debug.bat and save it to the same folder as the export.  Be sure to change the "save as type" to "all files" or it will save as a text file.
    Finally run the debug.bat file and the debug.log file will be created.
  • Recording player input and playing it back may work ok, but it will probably deviate and not be exactly like the original path of the player if the framerate isn't exactly the same. A better way would be to just record the position, animation and direction of the object each frame. Like this:

  • Paster seems to work with the minifier.

    What does the browser console say? You can open it with ctrl+shift+j.

  • Do you use "pick nth instance"? I think I've seen it before, but I forgot what was causing it. I'll see if I can reproduce it.

    Edit:

    I can't seem to reproduce it. :/

  • bladedpenguin

    Here's a list of variables that C2 provides for use in the shaders. To use them you still need to declare them at the top of your fx file.

    Most third party shaders are made by copying what existing shaders do. There was a question about variable qualifiers which may also be useful:

    Thirdly as a testing ground I've seen this online tool used to make shaders quicker:

  • Nice, that looks pretty cool.