lukezero's Forum Posts

  • Hi everyone!

    I've been trying for some time to make an object "aim" to chase the player's character in a certain area of the game, using the Pathfinding behavior. I've tried in several ways, but I'm not getting it. I've seen a tutorial from Construct itself, but I couldn't.

    Can anyone tell me where I'm going wrong?

    I thank you in advance for your attention and collaboration.

  • This is one of the best examples I've seen on this forum:

    https://www.construct.net/en/forum/construct-2/how-do-i-18/zelda-dialogue-system-capx-117812#forumPost857678

    I didn't find the example simple, but thank you for the indication! :D

  • Hello everyone!

    I'm making a platform game with elements of adventure with a dialogue system between the player's character and the NPCs to progress the game.

    What is the simplest and most functional way to do this?

    I thank you in advance for your attention and collaboration.

  • Sine behavior should do it.

    Right! Solved! Thank you very much! :D

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi everybody!

    I've been trying for hours to implement a Stage Light that, under a fixed axis at the top, keeps going from side to side without stopping. I tried several ways using the angle section rotation commands, but without success.

    Does anyone have any solution for this?

    I thank you in advance for your attention and collaboration!

  • Up for a good cause! ^^

  • Wow.. I like u graphic game

    Thanks!

  • Up for a good cause! ^^

  • Hi fellows! ^^

    I know that C2 has online functions, but since the maximum I've used in a game was a leaderboard, I'd like to know if it's possible to produce in this engine a game made up of a single place where players enter and interact with each other as they enter it.

    The platform would be Google Play.

    Thank you in advance for the attention and collaboration of all.

  • Awesome! Congrats!

  • Hey,

    I think it's not a good idea to do it with a mathematical solution. Ideas of mike hive are more flexible than a pure reasonning on the Y axis.

    By the way, I'm fund of mathematics, so no offense

    Edit : Oh my god, I didn't notice the very end of the topic. I'm gonna check what suggested 99instance2go :p

    Thanks, conker23!

  • 99Instances2Go Thanks, dude! It worked very well!

  • Great package!

    I recommend it for everyone!

  • I suppose you could compare the Y coordinates of the player and the wall and check if the ceiling is within 10 pixels or however many.

    OR! This is probably a better idea. Make a small invisible collision object and Pin it a small distance above the player's head. Then you just have to test if that collision object is overlapping any walls when performing slides.

    Both solutions are good, but I would like a mathematical solution, comparing the Y axis of both objects.

    I just don't know how to implement it. If anyone knows specifically, I'm very grateful to post here.

  • What about have an invisible collision sprite covering the space under the narrow wall, and test if the player is overlapping it?

    I already did it this way and it worked out. I'm looking for some alternative, like identifying a sprite above the character while the boolean variable "slide" is active.