sirkame's Recent Forum Activity

  • Hi!

    Classic trap, the ceiling that falls to the ground and then goes up to stomp over and over again. Problem is that I can't seem to be able to get the colissions perfectly right. They are getting the desired Y point or the colission too late.

    The sprite's speed is not incredibly high, by any means. Maybe there's a better behaviour for this, less problematic?

  • You may use a vector x and y to "throw" the character while disabling his controls for a moment, so the player can't climb a wall by keeping pressed that direction all the time.

  • Is you don't want to deal with formulas, maybe you could pin the object position to another one. While the first sprite can be rotating, the other one is setting the position only.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I always convert my files to ogg previous to importing it to Construct. I use Audacity. Simple, fast, free.

  • Hi everyone!

    I have a "laser door" which height is = to the distance from it's top point (origin) to the first obstacle it finds on its way down, no matter if it's the floor or a box (the two objects I have in mind right now).

    I want to be able to stop the laser with a box. Otherwise, it must hit the ground, no matter how much distance there is between the objects.

    I'm kind lost here. Thanks for any help you can give me.

  • Hello everyone.

    I'm developing a small game in which you can make several decissions, and it would be great to include an answer percentage somewere, so you can compare your answers with other people's, Telltale Games style.

    Like: "a 25% of the players chose A option", that changes in real time.

    Thanks in advance and best regards.

  • I'm replicating a breakout following a couple tutorials and I found that in both cases they make the paddle stay un mouse.x position or lerp to it, to smooth the movement, but I can make the paddle go away from the sides of the screen and I want it to stop at some point.

    If I use bound to layout, the paddle bounces against the layout wall, but... what if I want it to bounce on a different surface? Because of the X position re-positioning itself constantly, it ignores the solid behaviour of the walls. There's no actual movement, but an X position change.

    I can't figure out how to make the paddle stop on, for example, a frame that I make to contain the gameplay area.

    The only idea I have is to extend the paddle and make the far sides invisible, so they impact before the paddle hits the layout border, but... I don't know. Don't feel very comfortable with that solution.

    Any help is very welcome. Thanks in advance and best regards.

  • You can define a path - say, with small invisible sprites for each point. Use MoveTo behavior to move from one point to another. Set angle to angle(startX, startY, endX, endY)+90 when the enemy is moving to the left or "-90" when moving to the right.

    The more universal solution where enemies can walk around any solid object would require more efforts. You can make your enemy to walk around sprites (demo, capx) . But you'll also need some way to determine where the enemy should stop and turn around or descend to the floor. Maybe again put an invisible sprite, on collision with which the enemy will change direction or descend.

    Thank you!! The capx example is exactly what I needed.

  • Hi! I'm stuck with probably the simpliest thing in the world, but stuck nonetheless.

    I need an enemy that walks on a regular solid surface but, when it hits a wall, it starts climbing it. And the same gones when it hits the ceiling. it should start walking on it. No matter what I do, I screw up with the angles and the character does all kinds of weird things.

    At the same time, I need that when the enemy stops having a solid floor under it's feet, he should descend from the border, in a very metroidish style.

    Thanks in advance. Any help will be really welcome.

  • Thanks!! That works like a charm!

  • Hello!

    This is the thing. I usually use families when I want an object to be made of different sub-objets, but with particles it doesn't work well.

    Picture an arrow with a smoke trail that is created with particles. I want the trail to stop spraying when the arrow is destroyed, but using families causes the smoke to suddenly disappear (because it destroys itself, instead of stop spraying).

    My logic would go like:

    • The arrow is shot.
    • Arrow spawns a trail and pins it.
    • The arrow hits a wall, it breaks and the trail stops spraying.
    • After a few seconds, the trail object is destroyed.

    Now, if I set "pick trail instance nearest to arrow" it works until I shot an arrow twice exactly in the same spot. The position the trail is looking for is the same for both arrows, so I end up with several floating trails that never stop spraying.

    I never really understood how the picking system works. Any help will be appreciated!

    Thanks and best regards.

  • Thank you for everything. I'm actually having this little problem that is driving me crazy. I still can't have the buttons pushed by the player unless a box is pressing any of the buttons previously. Like, maybe is it constantly resetting to unpushed or something?

    The logic should be like:

    -The player can push any button IF that button doesn't have an un-pinned box pressing it's sensor and, of course the player isn't over the sensor already.

    -The box can press any button IF it's un-pinned and the player isn't over that button.

    Thousand thanks.

sirkame's avatar

sirkame

Member since 23 Jun, 2014

Twitter
sirkame has 2 followers

Trophy Case

  • 10-Year Club
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

14/44
How to earn trophies