Noncentz705's Recent Forum Activity

  • Could be returned as a JSON string and loaded into an array.

    Where you could evalute that array contains value to check for flags.

    Example situation :

    Launching the nw with a combination of flags has different effect on the application

    nw.exe -d Start app in debug mode

    nw.exe -cheat Enable cheats.

    nw.exe -lvl2 Start on level two

    nw.exe -d -cheat -lvl2 Multiple props

    Seeing how it's only one expression and peanuts to implement I thought I'd suggest it.

    Might be useful for some projects?

  • Added to the input plugin. Could insert text at index and compare cursor position (if supported)

  • spongehammer, you could redownload ; Added dropdown for type param in the editor as suggested.

    -Added maxLength property

    -Added select text range (move cursor position) Make sure element is focused when calling action.

    -Fixed file expressions so they don't error if called from another elem type.

    ...

  • * edit, oops i answered question from first page by mistake

    You could use the Input plugin, but it only allows importing one css file atm .

  • I see a color picker, just out of curiosity are you using color picker plugin? Check Input plugin, that may help with styling of elements... Can set text/background color & angle in editor...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You could spawn cmd as a child process and then pipe commands to it

    which is what you want since it's being ran in the background already

    too tired to write an addon for it - hope this is enough - >

    var isRunning = false,
    	exec = require('child_process'),
    	cmd = null;
    
    function start(){if(isRunning) return; try{
    	cmd = exec.spawn('cmd'); 
    	isRunning = true;
       //..cmd response..
    	//	cmd.stdout.on('data',function(data){console.log(data.toString());});
    	//	cmd.stderr.on('data',function(data){console.log(data.toString());});
    	} catch(e){/*Error*/}
    }
    function end(){if(!cmd || !isRunning) return; try{cmd.kill(); cmd=null; isRunning = false;} catch(e){throw e;}}
    function send(data,cb){if(!cmd) return; 
    	data.split('\n').forEach(function(i){cmd.stdin.write(i+"\n",null,null);}); return cb? cb() : 0;
    }
    [/code:jfljaaie]
    
    Example [h2](open cmd)[/h2] 
    [code:jfljaaie]
    start();
    send('cd c:\\users\\bob\\desktop \n start cmd');
    [/code:jfljaaie]
    
    edit : *fixed for multiline strings
  • Had another go at this today, here's how i'd do it without blendmodes. Could maybe do ovals or 3d timers if you play with the values

  • Execute javascript "var foo = 'bar';"

    Execute javascript "alert(foo)" - >Error foo is undefined

    Execute javascript "window['foo'] = 'bar'; "

    Execute javascript "alert(foo)" - > bar

  • You could try the script wizard, it automates almost everything for you. Although if you found something that works already just stick with that.

  • K , different thing ; maybe try Inno Setup http://www.innosetup.com/

  • Are you trying to make an installer, or package all the dependencies as one file?

Noncentz705's avatar

Noncentz705

Member since 28 Apr, 2013

None one is following Noncentz705 yet!

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

13/44
How to earn trophies