newt's Forum Posts

  • I disagree about using globals here.

    In fact this is the perfect place for them.

    Just think ahead, and use one global to rule them all.

  • Potato

    See that's what you call Pavlov's Sprite. heh

    Another "feature" where the objects don't actually exist till the next top level event happens... unless you use on created.

    Edit, ok never mind on the on created, blah, blah, blah, one trigger per event branch.

  • Well it's go to be in the sol in order for "for each" to work.

    So if those objects aren't picked in the initial condition, or referenced in a sub event to the event that created them then, they don't exist in the sol.

    Remember you can filter "for each" to work with only the objects you want.

    sprite.value picked = 1

    for each sprite... do stuff.

    There any sprite that didn't match the value in the variable, would not be iterated.

    As far as I can tell picking is still consistent, as long as you don't use a sub event, or event that's not a sub event to the event that created it.

  • You just need to change your picking. If you move the destroy event underneath the spawn event in the top tier, it works.

    Also, we do have an on create event.

    That might be a little tricky to use if you need to spawn objects that don't need to be destroyed, but you can filter that via variables.

  • Might have something to do with this:

    Quote from the r 100 release notes

    "Bug Fix

    Sprite's 'Spawn an object' spawning the same kind of object could crash the runtime. To work around this, in this case the spawned object is no longer picked if the same type. (Behavior is unaffected if spawning a different kind of object.)"

  • You can use a single object with multiple instances.

    You just define the differences between the enemies using instance variables, and animations.

  • teahousemoon

    Bad timing. There are a few games assigned to inactive devs, so they may be unassigned at some point.

    Then I understand even more games are on the way.

  • Yeah was missing this feature a few weeks back.

    Your other option is to duplicate the animation, and reverse the order.

    Might put in a request to Ashley

    If its not in his to do list already.

  • 1.2 is the stable. Guess they haven't updated the site lately.

    http://sourceforge.net/projects/construct/files/latest/download

  • Yeah, I figured that might be a bit much jscript atm.

    Well who knows, the way things are going, it shouldn't be too long till its doable.

  • Nice

    Whats next facial recognition?

  • Wonder if webcl would be viable for a bitcoin miner?

  • Again, C2 does the math for you.

    https://dl.dropbox.com/u/666516/moveatmouseangle.capx

  • Try Construct 3

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

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

  • Well the issue with that is picking.

    Its fine for a single instance, or if you want every instance to use that event, but if you have multiple instances, that you want to be able to use different events then you will have to have some way to pick individual instances.