jillhoff's Forum Posts

  • Do you have any behaviors on the ladder?

  • You could use Ajax with project files...

    Import the external text files to the Files folder.

    Add the Ajax object to your layout.

    When the image is clicked, call the Ajax action - 'Request Project File' and choose the appropriate text file.

    Then use the Ajax event, 'On Completed' to set the text box to AJAX.LastData.

    [attachment=0:14gi1jge][/attachment:14gi1jge]

  • I think I understand what you are asking in your example... You want the tip of the dialog balloon to mirror itself every time it is dragged passed the center of the balloon?

    Have you tried this?

    [attachment=0:2x1oewff][/attachment:2x1oewff]

  • Are you looking to randomly fill the six spots with six different frames of animation? If that is what you are looking to do, then you'll need to generate a random number with no repeats.

    I think this tutorial will help you:

    https://www.scirra.com/tutorials/315/ge ... duplicates

    Sorry if I totally misunderstood your question!

  • DUTOIT You are totally right - not sure why I suggested every tick! oh well, always learning...

  • The problem is that after collision, the balls are 'sleeping.' To be honest, I don't know enough about the physics behavior (yet!) to explain why this is happening... Maybe someone else can explain?

    But I do know that if you give them a little nudge, they wake up. I added this event and it works a lot better... still not perfect, but I hope it helps.

    [attachment=0:2no98ogp][/attachment:2no98ogp]

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Make a new layer. Put the text and sprite objects on the new layer. Put the new layer above Layer 0. Set the new Layer's Parallax property to 0,0 (X:0, Y:0). That should keep them steady.

  • What a funny problem!

    One way to solve it is to change the Properties > Type of the text box to 'Textarea' instead of the default 'text.'

    Worked for me, but I don't know why...

    As an aside... Really curious as to why you'd want to move a text box with 8Direction behavior in the first place... ? =)

  • For your first question: All you have to do is set 'Global' to 'Yes' in the Object type properties for the sprite and it will just automatically appear in the 'inside house' layout when it loads.

    For your second question, you could have two text boxes, one on top of the other, the first text box (underneath the second) is set to 'visible' the second (on top) is set to 'invisible.'

    When the player hits the next button, the second text box is set to visible.

    Or did you want the text to actually move?

  • What is the condition? Perhaps it is not specific enough?

    You can use effects on object instances:

    [attachment=0:2hra50dc][/attachment:2hra50dc]

  • It's because it is testing all of those conditions every tick and so only paying attention to the last two. The tree works because it is the last in the list - Change the order of the events so that the events testing for the house are last and it will work for the house and not the tree. Perhaps if you changed your conditions to an 'on collision' test? Maybe that would work?

  • Would this be of any help?

    https://www.scirra.com/forum/trying-to-understand-tilemap-collision-detection_t94500

    Sorry if you already saw that and it is not helpful!

  • Seems you might be having the same problem as this person...

    https://www.scirra.com/forum/timed-events-start-before-i-get-to-right-layout_t89007

    See the end of page two of the post. They solved it by adding an invisible sprite to the level to use as a timer trigger.

    Or maybe this isn't the same problem at all? =)

  • Oh.. I thought he meant some object in the game.

    'Tis hard to tell... not sure myself. Nevertheless, your advice is still excellent! =)

  • Are you asking how to reset the bars?

    If so:

    • Click on the Construct 2 logo in the upper-left-hand corner.
    • Choose Preferences
    • On the bottom of the General Tab, click Reset Dialogs
    • Click Yes then OK then OK again.
    • Close Construct 2 and reopen it.