How do I make basic top-down movement

0 favourites
  • 7 posts
From the Asset Store
Set of tiles to create a map for top-down games with island theme
  • This seems very basic and i have been using construct 2 for some time but i still can't figure this. I just want top-down forward movement that follows the mouse that doesn't act weirdly when colliding with solids. 8 direction has nice collisions with solids, but only supports , obviously, 8 directions. I want something like move at angle(self.x,self.y,mouse.x,mouse.y) that interacts with solids. ( using just the event won't work, as it passes right through them , even if both objects have the solid behavior ) i tried using the event stated above and adding 8 direction to an object but on collision with a wall it starts vibrating furiously. Undesired effects like increased speed come from using bullet together with 8 direction. I have tried anything i can think of including custom movement and giving the moving object the solid behavior. Nothing worked so far.

    Help please! Thanks in advance!

  • This seems very basic and i have been using construct 2 for some time but i still can't figure this. I just want top-down forward movement that follows the mouse that doesn't act weirdly when colliding with solids. 8 direction has nice collisions with solids, but only supports , obviously, 8 directions. I want something like move at angle(self.x,self.y,mouse.x,mouse.y) that interacts with solids. ( using just the event won't work, as it passes right through them , even if both objects have the solid behavior ) i tried using the event stated above and adding 8 direction to an object but on collision with a wall it starts vibrating furiously. Undesired effects like increased speed come from using bullet together with 8 direction. I have tried anything i can think of including custom movement and giving the moving object the solid behavior. Nothing worked so far.

    Help please! Thanks in advance!

    Can you post a capx. for us to look and test out? Nothing that will give away any stuff you wanna keep secret of course haha

  • I tried Bullet and Physics, Physics looks much better. See this demo (there are two layouts, check both):

    https://www.dropbox.com/s/02a1f7dhyekln ... .capx?dl=0

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > This seems very basic and i have been using construct 2 for some time but i still can't figure this. I just want top-down forward movement that follows the mouse that doesn't act weirdly when colliding with solids. 8 direction has nice collisions with solids, but only supports , obviously, 8 directions. I want something like move at angle(self.x,self.y,mouse.x,mouse.y) that interacts with solids. ( using just the event won't work, as it passes right through them , even if both objects have the solid behavior ) i tried using the event stated above and adding 8 direction to an object but on collision with a wall it starts vibrating furiously. Undesired effects like increased speed come from using bullet together with 8 direction. I have tried anything i can think of including custom movement and giving the moving object the solid behavior. Nothing worked so far.

    > Help please! Thanks in advance!

    >

    Can you post a capx. for us to look and test out? Nothing that will give away any stuff you wanna keep secret of course haha

    https://www.dropbox.com/s/vlag8kt6o5sx8 ... .capx?dl=0 here it is, i tried explaining as well as i can

  • I tried Bullet and Physics, Physics looks much better. See this demo (there are two layouts, check both):

    https://www.dropbox.com/s/02a1f7dhyekln ... .capx?dl=0

    not really what i wanted but thanks for the effort regardless, you can see a capx i uploaded below

  • Matei511

    Have you considered using the Car behaviour?

    https://www.dropbox.com/s/irhadp1si3ki3 ... .capx?dl=1

  • Matei511

    Have you considered using the Car behaviour?

    https://www.dropbox.com/s/irhadp1si3ki3 ... .capx?dl=1

    wow there's a car behaviour. Great , that's just what i needed, this solves my problem. Thank you!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)