Roefl's Forum Posts

  • 9 posts
  • This looks a simple matter just using the pathfinding behavior but what I want is a bit different.

    On the start of layout, or called I want generate a path to a location then I want Objects to follow that path without using pathfinding.

    What my initiative though was, to use an invisible sprite with pathfinding that drops "points" (once) which the objects will follow, but I have no clue how I would have them follow the instances in the correct order.

  • Asmodean, this sort-of works, except that it only changes the tile that's in collision with the image point and not the object. Other than that it works good.

  • Anyone?

  • I've never worked with tilemaps before (shame on me) and I have a collisionbox (an object) that moves over the screen. I want it to change the tile from 0 to 1 when it has collision, but all I can find is "compare tile at". within the tilemap. Any suggestions?

  • Hello, I've asked a few questions before about the camera movement and zoom for a four player game, I managed to fix that with the help of some people. To sum it up I have a game with a randomly generated map, four player controls, with a camera that zooms based on the distance and follow them and a selectionscreen.

    Now I'm at the weapons and layout transitions, since the game is in pixel art I want to know how to create a transition or distortion on the layout or weapon. There used to be a capx tutorial but I can't find any information on that anymore, does anyone have ideas how to realise this effect?

  • I've been trying to fix the camera for a while now and this deffinitely helped, thanks a lot.

  • Hello, once again I have a question about the camera within the game I'm making. Based on the previous question where I got to use a lerp on my camera and based on that lerp the camera zooms out. (layoutsize).

    I had no problems controlling the camera between two players lerp(Camera.X,Player1.X+Player2.X/2,0.3).

    But with four players this does not work, does anyone have an idea to center the camera at four players?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Oh god, so dumb of me that I let a simple lerp slip my mind (since I used it for the camera too).

    Thanks I'll post back if it has the effect I need, or not, or better I'll just edit this post if there are no more new posts.

    Edit: It worked, First I calculated the distance between the characters and stored it into a variable and used that variable to zoom out based on the distance between those objects (players) using the lerp. Thanks, this problem is solved rather quickly.

  • I'm working on a brawl/smash sort of game and I have a camera with the scroll to function with a lerp.

    When a character is almost at the edge of the view I want the camera to zoom out (Layout size) but the only way I can find is to set the layout size, not to adjust it per second or tick. Does anyone have any ideas how to do this?

  • 9 posts