ekajuan's Recent Forum Activity

  • You can use LOS Line of sight to detect the player within certain radius. Then tell the enemy to chase the player.

    If the player is out of reach, you cell tell the enemy to standby.

    If currently the enemies are running away, probably you told them to do so in your coding.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I want the skull to move foward when the path of rotating asteroids is open.

    Currently I use pathfinding behavior. But it seems pathfinding only works when since the beginning there are no obstacles. So in this case, if the path is opening and closing, what should I do to make the skull moving?

    [attachment=0:1dyxqsus][/attachment:1dyxqsus]

    [attachment=1:1dyxqsus][/attachment:1dyxqsus]

  • what's the coding you use?

  • I'm thinking to create multiple simple boxes as rotator. So I created one, then copied it.

    The question is if I want to pin something to the rotator, how can I pick which rotator to pin on?

  • LOS works perfectly. Thank you.

  • yep, exactly just like BinaryPanda said.

  • The space ship is suppose to go around the medusa. It has to fly backwards avoiding the front cockpit facing directly to the medusa head. How to detect that my front cockpit is facing the head of medusa?

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

  • Let's say I have a layout with height of 500.

    But I just want to use 450 for the environment (middle), and use the rest just in case for different device with different screen size.

    How to make it work with scroll to behavior?

  • Never mind, found the culprit. I applied scroll to to 2 objects.

  • My layout is horizontal. When my spaceship goes right, it moves faster than the viewport. So my player get off the screen.

    I change the layer of my player's paralax speed to 200,200. Now it can keep up. But, isn't 100,100 the normal speed?

    And if I use 200,200 and certain x distance, my lasers gets destroyed before it reaches outside viewport.

    Where have I gone wrong?

    First I thought maybe the custom movement I use? But, nope, I've tested it with 8 directions. But the result is the same.

  • Ah, I have found the error. So basically I'm in a loop of restarting the layout forever.

    That's why the animation seems to stop, but the lasers keeps created and destroyed constantly.

    All I have to do is to add trigger only once while true

    Thanks for the input.

  • So I'm making a game within one layout. Everything works ok.

    Then I duplicate the first layout, because the next stage will have different environment latter.

    The new layout still using the same event sheet.

    But strangely, eventhough the timescale is 1, the control and the animation stop.

    One of the weird things I observed.

    I have a ship that should shoot lasers constantly. But in this case the ship seems only shoot 1x and it stays at one spot.

    But if I check the debugger, lasers are still created and destroyed constantly.

    My lasers only get destroyed when outside the layout.

    So if the lasers ain't moving outside the layout, how can they get destroyed?

    Are there any particular things I should pay attention when using multiple layout with one event sheet?

ekajuan's avatar

ekajuan

Member since 10 Dec, 2014

None one is following ekajuan yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies