Como armazenar posições e comparar com o click do mouse?

Get help using Construct 2

Post » Tue Jan 10, 2017 1:53 am

[PT-BR]
Olá, gostaria de saber a melhor maneira de armazenar várias posições (x,y), tentei fazer usando um array, mas não deu muito certo.
E após isso quero pegar através do clique do mouse a localização mais próxima para fazer com que um círculo se mova até aquela localização.
Obrigado!

[EN (by google translator)]
Hello, I would like to know a better way to store multiple positions (x, y), I tried to do using an array, but it did not work very well.
And after that I want to grab the nearest location to make a circle move to that location.
Thank you!
B
3
Posts: 2
Reputation: 179

Post » Thu Jan 12, 2017 5:25 pm

You can store multiple x,y positions like:
https://drive.google.com/open?id=0B-xiq ... U1jeU5ULUE
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,416
Reputation: 4,826


Return to How do I....?

Who is online

Users browsing this forum: amazingdream and 18 guests