newt's Forum Posts

  • Best bet is to resize them, and put them all together using your image editor, such as Gimp, Photoshop, etc.

  • An app is not ideal for linking to existing articles, as they are displayed in an unknown way.

    So basically Google play, not so much, but its doable, with a few caveats.

    The best bet would be a web app, possibly in the Chrome Store. That would allow for instant updates via a plug, where Google play might have some issues.

  • That might work.

  • See in the C2 folder under exporters. Next to the html5 folder, is where I imagine the native sdk would be, if we had one.

  • I see now. Yes that will work, but I was hoping there was some way to do conditionals in the actions so I wouldn't have to add more conditions.

  • Its in a for loop, and the arrays are children in the container sprite.

    I don't think a function can work in a loop, and they have no way to add nothing.

    Of course you could do some conditional trickery and create a param that you don't use, but that ruins the use of the index.

    I'm thinking a nested string in a variable may be the best solution.

    Sad.

  • Currently in order to decide if I want to add a value into the stack I have to do a condition to compare before the action to push the value.

    That doubles the work, doubles the number of comparisons.

    I want to do a comparison in the action, without having to add a value to the stack if the comparison comes up with a value I don't want to add.

    Nothing is not an option. ha ha

    Edit:

    To be more specific. I want to see if a value exists, before I add it, but theres two different values, x, and y, so two different arrays... as stacks.

    Even more specific. The last value in the stack is what need to be compared.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Start un-digging the hole.

    Remove fx, then third party plugs, etc.

    Might check it on a more modern machine first however.

  • Here's what I came up with using sin/cos as alternative.

    https://dl.dropboxusercontent.com/u/666 ... oline.capx

    It ain't pretty.

  • Yeah.

    Ashley

    We need a line expression please.

  • TooManyCooks would have been a better name.

    Just saying.

  • R0J0hound

    Say for example I wanted to place tiles between the two points. Snapped accordingly.

    I'm not terribly worried about picking objects between the points, theres a system command to do that. I think that would work.

    Kurz

    Thanks, thats pretty much the same as the lerp way.

    DUTOIT

    In y=mx+c (c=0) its m*(x+c)?

  • Hopefully C3 will be making some steps to give this functionality.

    It really shouldn't have anything to do with containers, but be a new feature on its own.

  • I've used lerp before with distance(). It seemed a little overly complicated, but then again so does this.

    Like I don't know what init means, and I'm not sure how to get the x component out of that.

    Or should I say overly simplified?

  • Just looking for a good formula to get all the points in between two points.. without having to add a bunch of conditions.