ramones's Recent Forum Activity

  • I don't think the mouse is moving away from the player. He's going for the shortest path to the edge. He still goes towards where you are clicking if it's the shortest path.

  • Pin the beams to another sprite and move that. lightbeam2 (r114)

  • space Ape Good idea. Increasing the platform max speed while on the slope works well.

    You could also disable jumping on the slope if you don't want the player hopping back up.

  • Maybe your text object is too small to display the output. Your test.php is outputting:

    {newline}

    test

    {newline}

  • You could add 1 to a variable every time you spawn a platform and when the variable is a multiple of 3 (variable % 3 = 0) you spawn an enemy.

  • I was trying some complicated ways to do this and then I thought of the most obvious way.

    platformSlopes.capx (r114)

  • Families and objects have separate picking. I mean if you have a condition that picks Enemies then you have to reference Enemies in your action.

    You can have

    +Enemies: Action = "Attack"
       -> Enemies: Set animation to "Attack"
    

    or

    +EnMelee: Action = "Attack"
       -> EnMelee: Set animation to "Attack"
    

    but not Enemies in the condition and EnMelee in the action.

    You've done it right in most places but not in events 6,7,8.

  • Setting text to a number rounds the number (to 5 decimal places) which is why it looks like it should be working. Set your text to str(TimeSpan) and you'll see what's happening.

  • Oops that should be enemy.UID not enemy.IID. Fixed the screenshot. I replied to you PM too.

  • It only gets kind of complicated when you're comparing the four different turning conditions in the same event. You could have it like this instead:

    <img src="https://dl.dropbox.com/u/8367729/construct/pics/enemyChangeDirection2.png" border="0" />

  • You should be checking if BABY_HAPPY = "1" since it's a text var not a number.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 1. should work. It works for me in a simple test case. What are you trying to do on start of layout exactly?

    2. I gave the enemy a boolean var called 'turning'. When the enemy is overlapping or by a wall and turning is false, set turning true and call the turn function. When he moves away set turning false again.

    <img src="https://dl.dropbox.com/u/8367729/construct/pics/turning.png" border="0" />

ramones's avatar

ramones

Member since 17 Apr, 2012

Twitter
ramones has 4 followers

Trophy Case

  • 12-Year Club
  • x4
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

15/44
How to earn trophies