Underdog's Recent Forum Activity

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Thank you AllanR

    Funny, it's what I was thinking as well but not sure.

    cheers

  • Hi everyone,

    I tried to change the layout of the eat'm all example and move it in the center of 1920x1080.

    If the maze is centered, the movements of the ghots are off but if I offset the maze by 32 pixels (letfward or rightward), they are moving perfectly.

    Do you know why there is this offset or why I can't center it on a new format?

    I don't know if it is the correct place to post it.

    Thank you

  • Nobody has an idea?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I noticed something else.

    The Layout is 1920x1080

    The ghosts work efficiently if the maze is off from the center by -32 or +32 pixels

    I don'y know if it could help.

  • Hi everyone,

    I have a weird behaviour with the ghosts of the Pac Man example provided by Construct.

    I wanted to change the size of the maze and have the Tilesize at 64.

    I updated the value Game.TileSize to 64.

    If I center the maze with the layout, my ghosts are stuck in their base. However, if I move my maze slightly on the right and down from the center of the screen, it works perfectly. The ghosts are behaving accordingly to the array and the example.

    Really strange, isn't it?

    Is there a hidden value that I have to tweak somehow to keep the maze in the middle?

    Thank you for your help!

    The Template name is Eat'em all

    I changed the layout at 1920x1080 and I tried to center the maze without changing anything, you will notice the same error with the ghosts. There is a kind of marge but I don't know if it is a bug or something I could fix.

  • You do not have permission to view this post

  • Yeahhhh I found thank you :)

    I created 2 variables to get the GridX and GridY that I apply with Set grid position (instant)

    Thank you again to help me to get back on the track

  • Thanks dop2000

    I tried to use Set grid position (instant) but how do you manage to teleport the sprite at the position of the Touch X, Y ?

    At the moment, it's always the same position.

    I have tiles that cover the grid and I thought by using the set position to the tile it could have work but nope :(

  • Hi everyone,

    is there a way to clear the target of a Tile Movement Sprite?

    For example, I would like to "teleport" the sprite to a new position but after the teleportation, the sprite tries to reach the tile movement target before stopping if the target is on the same axis and reachable.

    I tried to enable/disable the behaviour, put the speed at 0, I can't fix it.

    I understand that the sprite tries to reach the grid cell it was supposed to get but can we avoid it,

    even if the Sprite is perfectly placed on the grid after the teleportation.

Underdog's avatar

Underdog

Member since 1 Feb, 2013

None one is following Underdog yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies