Capture Player or Mouse positions into Array.

Get help using Construct 2

Post » Sat Aug 11, 2012 5:36 am

I created an array and added 2 instance variables PlayerMove_dx, PlayerMove_dy

and was trying to assign values of MyPlayer.X and MyPlayer.Y respectively

But it does not accept those values, neither values like MyPlayer(0).X and MyPlayer(0).Y



Could someone guide me how to store player/mouse position into variables?


Thank you.
Krish
Hey! Did you know that you can hire me to make your games?

Click Here to See More
B
21
S
6
G
5
Posts: 391
Reputation: 5,627

Post » Sat Aug 11, 2012 5:42 am

What do you mean it doesn't accept them? What does it say when you try to?

They aren't text variables that you're trying to stuff numbers into, are they?
B
20
S
9
G
6
Posts: 607
Reputation: 6,112


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 18 guests