LittleStain's Forum Posts

  • seems like you are missing the word angle..

    angle(0,0,xvector,yvector)

    If I understand what you are trying to do..

  • In this case it's only a matter of using an else event:

    https://dl.dropboxusercontent.com/u/485 ... ition.capx

  • If you want to do it that way, you could use the system is between values condition..

    You could also use ceil(variable/10)*100 if you use the variable to portray the seconds and you want the points to go up 100 every 10 seconds..

  • On collision should only trigger once, for it is a triggered event..

  • In the capx you linked I don't see any events for spawning/creating..

    Could you explain what you would like to happen and when?

  • If you hud-object is on a layer without paralax it's coordinates will stay the same..

    Maybe you can get what you want using these expressions:

    CanvasToLayerX(layer, x, y)

    CanvasToLayerY(layer, x, y)

    Calculate the layout co-ordinates underneath a position in canvas co-ordinates for a given layer.

    LayerToCanvasX(layer, x, y)

    LayerToCanvasY(layer, x, y)

    Calculate the canvas co-ordinates above a position in layout co-ordinates for a given layer.

  • Removing the set y solves the issue, why is it there anyway?

  • An example:

    Overlapping (image) point

  • You've probably set your events/conditions up in a way that picks all enemy instances instead of just the one(s) that has/have the line of sight..

    Please share your events, so it's possible to assist..

  • The question is not really clear..

    you want to make 3 buttons where one is showing the correct answer..

    So basically:

    button one set answer to : incorrect answer

    button two set answer to : correct answer

    button three set answer to : incorrect answer

    So that would be the easiest way..

    If you want to make it so Construct2 makes random questions with random answers, you should create the maths for that yourself..

    Adding or subtracting something from the correct answer will make it incorrect, so that shouldn't be so hard..

  • Why do you use texboxes instead of textobject?

    If you use one textobject and fill all the instances of it by UID or instance variable it should be pretty simple..

  • If you want to do just the sides it would be as easy as stretching tiled backgrounds from one point to the other..

    If you want the triangle to be filled I would recommend looking at either the canvas or the paster third party plugin, from the plugin section of this forum..

    (If you would change the title of this topic to something more descriptive it might get you more response and help others find it in the future when they have similar questions)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > Something like this should work:

    >

    > https://dl.dropboxusercontent.com/u/485 ... erBar.capx

    >

    Sorry LittleStain for disturb you, how do I add arrow left and right to your version of powerbar

    Re-download the capx..

    I've changed it so it works with both arrow and touching the bar..

  • You might have Global variables that have changed and affect stuff..

    You might have sprites set to global or other global things..

    You might have some issues with the persist behaviour..

    You might be using system every x seconds (which counts from game start and not layout start)

    If none of these "mights" help you solve your issue, sharing your capx would probably be the only way to pinpoint it..