Kyatric's Forum Posts

  • Long time overdue, the behavior has been updated to fix the obstacles bug.

    You can now use several obstacles and they get better spotted.

    You can also find a new example about how to move an object with the PathFinder behavior.

    Fixes and examples thanks to

    Check the first post to download everything you need.

    Happy PathFinding in 2012.

  • Yann had a very sweet capx in a few events I saw on IRC, maybe he could consider reproducting it/posting it.

    Else I'll take a look at this later and try to provide a capx.

  • You have a full bunch of examples capx in the c2 folder\examples folder of your C2 installation.

    Check the Ghost shooter.capx

  • so this thread would also be like a database for external features search, including the behaviours and plugins already involved into c2, like solid or physics.

    xeed: Solids & physics are built-in behaviors, they are referenced in the manual.

    This part of the forum is for custom plugins, and plugins author should really handle their documentation/help by their own.

    This current topic is just a list, nothing more.

  • I guess xeed is wanting to take the bounding box of the object as "collision mask" for when you are drag/droping the object, instead of simply its collision polygon.

    xeed: workaround for you is to set your collision mask in the image editor as a bounding box.

  • Demo capx

    Run as it is, you see no text in the layout.

    Go in the event sheet, right click on any group, set as active it does pick the black cat.

    It does since in the IDE, I've setted the animation frame to be singular, an instance variable number and an instance variable boolean to be singular (there's only one black cat (anim frame = 1), favorite=true, fave = 1).

    This is not a workaround, this is how events work.

    At least that's the setting and the solution how I understand it from everything you described so far.

  • I just thought of it now, but the same solution for objects would also help immensely.

    Can't already the objects be put into folder in the object bar ? Or are you meaning something else ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • No, unless you own the copyrights.

  • I erased the cookie for scirra.com.

    It was indeed containing weird informations/format.

    Unfortunately, it hasn't changed the situation so far. Logging out from the site, new posts are still not displayed.

    Something else I might try ?

  • Same thing actualy.

    Compare the value of an instance variable that you set in the IDE. (ex: instance variable index, value 0 to 4 (for 5 instances))

    Or they have different animation frames ?

    Compare the animation frame.

    It's all the same logic that picks only the instances that match with the condition.

    A look back at how events work might be useful here.

  • In the Every tick event, add the action Text -> Set text.

    Using the & operator, we can convert a number to text and join it to another text string. So for the text, enter:

    "Score: " & Score (or the name of your variable)

    The first part ("Score: ") means the text will always begin with the phrase Score:. The second part (Score) is the actual value of the Score global variable. The & joins them together in to one piece of text.

    Extract from the beginner's guide to C2.

  • Or supporting multiple screen sizes tutorial.

  • The custom AJAX POSTer does.

  • System: On start of layout
    .. System : Pick random Cat Instance
       -> Cat: Set boolean to true
    
    Cat: is  boolean
      -> Cat: This is the cat you want
    

    Assuming all cats Boolean are set to false on start of the layout.

    This is the usual picking with variable.

  • The answer is still Lerp (be sure to click it's another topic explaining the usage of Lerp)