Arima's Forum Posts

  • Actually, come to think of it - an 'invert picked' condition would basically be an else if placed as a subevent, wouldn't it? Maybe THAT could be option 2 and else could be simply "run if above event did not run." Then we can have both!

    Edit: Er... except it wouldn't work like an else if the parent event didn't run. Hmm.

    Edit 2: Okay, if you combine a "last event did not run" with a copy of the condition of the above event with a 'invert picked' that could work.

  • If YOU'RE having difficulty following what's going on in parts of what you wrote, not to mention I am too and I've been using construct for about 5 years, I think it's not a good idea! Construct is supposed to be intuitive and simple, and I think else should be that way as well.

    Another problem with option 2 - what instances would it select the inverse of?

    • Sprite x < 100
    • - Sprite2 x < 100
    • - Else

    Would it invert the selection of all objects that have any selected instances? It just seems... messy and hard to control somehow.

    What if, for another option, there were more controls like the 'pick all' condition? Something like 'invert picked' and then an object selection box so people had more control manually?

    I understand why you don't want to have multiple elses or multiple else modes, but I personally would want it to work like this:

    Have a parameter drop-down menu (or two elses) so you could select between "run only if the above event doesn't run" and "run anyway" - neither of which do any picking, and then are combined with the 'invert picked' condition above. It's as simple and flexible as I can think of.

  • JohnnySix - the +/- keys skip between frames.

  • I'm afraid I'm not quite sure what you're trying to do. Do you want the sprite's width to match the browser's width while keeping the sprite's ratio? And is that regardless of the window aspect ratio and the scale mode zooming or not?

    I'm not sure if it will help, but in scale mode, the zoom is dependent on the window height - you can resize the browser to see that the window width doesn't have anything to do with the zoom level.

  • I think this has to do with the 'repasting' of triggered events. On export, as far as I understand it, having a triggered condition in a subevent causes the event to get moved to the end of the event sheet with all the preceeding conditions of the parent events pasted in. As such, I think the local variable isn't getting pasted with it.

    Ashley - what do you think?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I would think more event sheet features would be useful to more people than multiplayer, so perhaps should be prioritized.

  • You can also make an or with a variable. Then you can upload to the arcade.

    Set variable or to 0

    If conditions

    • Set or to 1

    If other conditions

    • Set or to 1

    If or = 1

    • Actions
  • Very cool. I've found though that it starts wandering in the wrong direction if, upon starting the example, you left click where the word 'object' is in the example image Fimbul posted above, the square will move in a direction in a path it can't take before moving back and taking the right path.

  • It's not done yet.

  • First, use a condition: is sprite visible.

    Then after that, use the expression countmatching("sprite"). That will return the number of picked instances of the object.

  • I seem to recall it was changed in construct classic from fully creating and destroying objects at the end of the tick to at the beginning of the next base event. If I'm remembering that correctly, why did you go back to the end of tick method for C2? I think fully creating or destroying them at the next base event is preferable.

  • I don't know how you're going to implement it Ashley but but if you were going to add 'action comments' that can't be dragged elsewhere, would it be possible to make it instead so comments be dragged anywhere, as an event, condition or action? I think it would be much simpler and more intuitive to work with that way.

  • You do not have permission to view this post

  • There's no need for multiple identical threads - please keep it in one thread.

  • Yeah, I wouldn't recommend doing that.