Multiple Characters

Get help using Construct 2

Post » Tue Apr 26, 2016 9:45 am

I'm sorry with the influx of questions recently -
I swear you guys will think I have no idea how to use construct! This isn't true....

However, one thing that i'm having difficulty with:

A game with 4 characters - when you select a character it can move x squares
then, you need to select another character to do the same, until all 4 have moved.

Now, I know I could do this using a load of separate events, but I was wondering if I could minimise this to using variables?
Such as, char1 has been selected, so movement happens around char1's position. Then, char3, same thing. Then 2 then 4

Is this possible?

Thx!
B
6
Posts: 30
Reputation: 298

Post » Fri Apr 29, 2016 11:30 am

Any thoughts?
Thanks, in advance!
B
6
Posts: 30
Reputation: 298

Post » Fri Apr 29, 2016 3:47 pm

Yea, research Sprite UIDs. It is how Construct tracks every single Sprite instance. You can access those, store them in an array somewhere and correlate them to playerIds.
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,418
Reputation: 4,830


Return to How do I....?

Who is online

Users browsing this forum: Blendi1223, gskunk, richcoz81, tarek2 and 39 guests