punner's Recent Forum Activity

  • Right now, the head is moving automatically and I'm just updating it's X and Y co-ordinates every tick.

  • Okay, so I thought of something that might work but need someone with a bit more experience to actually figure it out.

    To make the Follower follow the exact route as the Head, how about I spawn invisible "Waypoints" every second at the X and Y co-ordinates of the Head. Then, once the Follower is spawned, I use the Path-Finding behavior to go to the nearest Waypoint and follow all subsequent Waypoints?

    The problem is that I have no idea how to do this in the event-based structure.

    Can anyone help?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey zenox,

    I actually referred that when I started my project.

    The thing is that for my project, each individual Follower has special properties and abilities. Each follower can also be destroyed by enemy bullets and that will simply shorten the snake.

    Also, the Snake.capx project basically destroys the snake with every step and creates it again on the next tile, but since my project has smooth sprite based movement with walking animations, it won't be that practical.

    Thanks for the quick reply though.

  • Hi guys,

    So I'm basically making a twist on the classic Snake game for a jam.

    The view is isometric.

    I have 3 active game objects - Head, Food, and Follower.

    When Head hits Food, I've managed to use the collision events to destroy Food.

    Now I want to create a Follower object where the Food was destroyed and start following the path that Head was going on. I tried using the Pin behavior but that simply keeps the position of Follower relative to Head and doesn't actually move along the same path that Head traveled on.

    Here's a link to the quick test project I made - Thanks! (Sorry if it's a noob question. Haven't used Construct for a year.)

  • Sorry to bring up an old topic like this, but I was using the CAPX file that Yann made and trying to modify it to allow movement in the Y axis as well as the X axis.

    However, I wasn't able to get a firm grasp on all the terms like scrollx/scrolly and loopindex and ended up making an un-workable mess.

    Could anyone tell me of a way to modify the existing code to get the exact same effect with the exact same window size but to allow the two players to travel in the X and Y plane, like in a top-down shooter?

    Much appreciated,

    Punner.

  • Thanks!

    So I can just bind the sprite to the character in that case and make it turn visible when the button is pressed, I suppose.

  • I'm relatively new to Construct and I wanted to create this situation for a top down action-adventure game where the player character would be in a completely black area in a maze like dungeon and could only navigate through it by using fire crackers by pressing a button to illuminate a small circle around him for 2-3 seconds at the cost of alerting the enemies nearby.

    I think it should be theoretically possible to do that but I've been messing around for a while and managed to get nothing similar to that effect.

    Could sure appreciate some advised input.

    EDIT: Also, there's no scrolling in the level. The entirety of the dungeon will be on the screen.

punner's avatar

punner

Member since 16 Oct, 2013

None one is following punner yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies