shinkan's Forum Posts

  • You can move it outside the layout if you don't need it

  • Bumping it up

  • > I have a project with User Media up and running on my Galaxy S3 and Crosswalk. I was using it only to get signal from microphone. Not sure about camera.

    >

    any hope you could post an example? thx.

    Like I said I was using it to get microphone to work only.

    Image below shows all the events I have used (which are basically a copy from a project from C2 examples folder)

  • Nice...

    Mac is out, Linux is unknown (did someone ever used it?) Windows versions below Vista (or was it 7?) is problematic, Mobiles are... funny.

    yeaah that sounds really nice indeed.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you are moving from point A to point B and you pause in the middle - You actually did not reach the end of your tween. If you press start again you will continue previous motion until you reach the end. In this case "Start tween" works like a "Resume current tween".

    While stopping the tween will mark your current position as the end position. Pressing Start should not do anything until you set new target.

    Don't know... maybe I'm overthinking this.

    And one more expression could be useful - "Current time". To return how many time, in seconds have passed from start of the tween. For example if your tween duration is set to 7 seconds. It will return value between 0 (start of the tween) and 7 (end of tween)

    This could be a nice addition to stack things up. Or do something else at very specific time of the tween.

    Sorry for all this requests (moaning about) but this plugin is so nice and so simple to use. I've been using it for last few days and it saves me already a lot of time.

  • Thanks!

    and like always some requests

    1. Action to stop tween (You can start, reset, reverse and pause only)

    2. Debugger State value. I really like what you did in debugger, showing all available values is powerful. But for better visual sake could State show names instead of numbers? Like Start instead of 1, or Pause for 2

  • Your phone is on the chrome blacklist for webgl. I believe if you tried the game in chrome for android, it would always use canvas2d. We disabled the blacklist when building apk. I put in a request to disable it for XDK debugger so you see consistent behavior. There isn't a way to do it yourself, unfortunately, so you have to wait for an update.

    Thanks for answering.

    I can run html5 version of my game (and other games/webpages) with webgl using chrome for android on my galaxy S3 (standard chrome for android version, all settings and flags are default) and can't remember having any issues with that.

    anyway, there's one more issue while testing/debugging using USB connection. Testing works fine, game starts in App preview on my phone, but If I try to use debugger XDK flashes white for a second and after that App preview on my phone is crashing.

  • Is there a way to turn on/force webgl in XDK preview or debug?

    My game after build runs in webgl on my phone but in preview/debug always starts with canvas2d only. And it's kind of hard to determine if it's working fine.

  • Hey rexrainbow You have made quite a lot good plugins for C2, maybe you could find some free time and look int this problem

  • nw,exe (and then yourproject.exe) is alway 39,4 MB (bytes: 41 346 048) and I have never seen nw.exe exported from C2 greater then that.

    Everything you add to C2 project (graphics, sounds, text files and even c2runtime.js) goes to package.nw and is loaded from there when you run nw.exe.

  • *DomAnetural - Is overlapping Tank_Red -> Circle: Move To layer 5

    *Else -> Circle: Move To layer 10 (or whatever)

    make sure to trigger this only once - there is no need to move Circle constantly while touching (or not) this domination point.

  • All you need to do is add for example text variable (called "state" on image below) to btn1 object. Then when you place two instances of this object on layout you need to set this variable accordingly for each instance.

    Events are similar, just compare value you put in "state" variable and do your actions.

  • Found this:

    For Android:

    PackageManager pm = context.getPackageManager();

    Intent appStartIntent = pm.getLaunchIntentForPackage(appPackageName);

    if (null != appStartIntent)

    {

    context.startActivity(appStartIntent);

    }

    For ios:

    BOOL isAppInstalled=[[UIApplication sharedApplication] canOpenURL: [NSURL URLWithString:@"APP-URL-Scheme"]];

    if (isAppInstalled) {

    [

    [UIApplication sharedApplication] openURL:[NSURL URLWithString:@"APP-URL-Scheme"]]; // app launching code

    }else {

    [

    [UIApplication sharedApplication] openURL:[NSURL URLWithString:@"Copied iTunes Store URL"]]; //go to store

    }

    but again, how do I make it work with C2?

  • newt one more question, Did you ever thought about adding light+shadow system for your iso?