Frederik10k's Forum Posts

  • 7 posts
  • +1

    Thanks you! ViewPort was the keyword for me.

  • Hei!

    Is there a way to get the coordinates of a object eg. my player on the canvas?

    Lets say my canvas is 720x480 pixel. My player is standing on pixel 196,64 which would be top/left of the canvas.

    How to get these values into the code?

    Greetings!

  • Nevermind. I had to change "Cell size" for Enemies-Family in the Minions settings.

  • Try Construct 3

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

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

    I am trying to regenerate the obstacle map around an object, a door that opens, for a family of enemies.

    My "Minions" do have a pathfinding behavior. When the door opens, I can regenerate the obstacle map for "Minions".

    Works well!

    Later I want to have more classes of enemies, which are bundeled in a Enemies-Family.

    I added the pathfinding behavior to the Enemies-Family as well. But the "Minions" in the Enemies-Family will not update.

    Am I getting the use of families wrong?

  • Hm, didn't think about that.

    Then I would have to rotate all layers, exept the players layer.

    Or maybe just the player layer and the layout as a whole. I'll try that!

    Thanks for the idea.

  • Nah does not give me a clue.

    See at this picture.

    The blue lines show the original movement, which is horizontal/vertical to the layout.

    I would like to be able to move horizontal/vertical to the screen, even if the layout rotates.

  • Hei there!

    I am playing with C2 to create a small top-down shooter/rpg.

    Nothing serious, just for fun.

    Now I would like to accomplish this: to move my player (8Directions movement right now) in relation to the screen instead of the layer.

    So, I would like to be able to rotate the layer, but still be able to move my player up/down/left/right on the screen.

    Right now, when I rotate my game-layer by 45°, the player would move diagonal on the screen.

    I don't have a clue how to start to manipulate the 8Directions movement.

    Do you guys have any advice or idea?

  • 7 posts