Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Is it possible to make grid based movement? An example of what I mean is Tibia.com
How would someone make this kind of movement in construct?
The video link shows what I mean:
Akamari - This tutorial should help a lot (it did for me).
Cloning the Classics: Pacman -
Cool I'll have a look, thanks for the link!
i am a Tibia old school player :p
with the keyboard it works, but i don't know how to do with the mouse...
Like this great example SirG: petislands.ru/test/2/index.html
My capx can help: dropbox.com/s/nkhma41jrvftbz4/PathGrid.capx
Thanks guys, before I looked at your replies I managed to make really simple grid based movement, here's a screenshot of the events I've done for anyone else who is interested:
Relugy aah I see what you mean, I haven't managed to do that either..
with the mouse maybe you can compare the mouse x,y coordinates aginst the players and move the sprite a grid point in the direction of the mouse.
Hmm.. yeah I can sort of understand how it can work now, I might give it a go!
And also BluePhaze I read your 'Platform Enhancement - Wall Jumping' tutorial for another project I'm doing and was very helpful, thanks :)
Relugy in your example you have the character moving in a grid style, but in your capx you have him just moving node to node and not in a grid style. Can you give details on how you got your character to move grid by grid using path finding? thanks.
Develop games in your browser. Powerful, performant & highly capable.
Akamari Awesome glad it was of use to you! You may also want to take a look at lerp and set angle towards in order to find how to move in the direction of the mouse. These will allow you to figure out where the mouse is in relation to the grid and calculate the direction you need to move.
Yann made a nice example of grid movement some time ago
I used the Yann example.. great example :D