boolean's Forum Posts

  • mmm, I could give that a shot. I usually try and avoid race conditions, but since this is just a prototype it might be fine for now.

    Cheers Fimbul.

  • Ah ok, no worries then.

    "Just check if your object is visible in the click event "

    Unfortunately in my case the actions of the menu fire once the menu is hidden :) Basically clicking the menu fires of a number in an Enum (equivalent). I then have (the equivalent of) a case statement saying "if 1 was clicked, do this action". By the time it hits that line though the menu has already been hidden, so the view state can off but the event still needs to fire.

    It would be nice if there was a toggle state to say "Ignore Input" or similar. It would make the events a bit cleaner than having "if visible/not visible' scattered over the place.

    Thanks for the feedback :)

  • Hi all

    I was playing around with C2 and noticed that when an entity is set to invisible, it's still possible to interact with it.

    Sample code:

    https://dl.dropbox.com/u/20830426/VisiblityQuirk.capx

    Is this intended behaviour? If an entity is invisible, should I still be able to click it?

    If this is intended behaviour, are there any good alternatives to hiding an entity to avoid a player being able to click it? I figured a quick dirty hack is to set the position to x9999/y9999, but I'm sure there is a better option :)

    Cheers!

  • Try Construct 3

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

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

    Fairly new to C2. I'm hoping to make a turn based game where you set waypoints for the player to follow. Unfortunatly I'm having a bit of trouble going about this.

    I've been looking around at the plugins and they seem to be more based around setting waypoints in the editor (eg. enemy paths) rather than at run time. The closest I found was this one from Kyatric, but am I correct in thinking it only supports one source and destination?

    I noticed a lot of people talking about the RTS behavior, but is only for an older version of Constructor?

    Does anyone have any resources they could point out? Tutorials or samples that might be around? Are setting waypoints a lot more complex than it seems on the surface? :)