positioning of generated sprite

Get help using Construct 2

Post » Tue Feb 07, 2012 1:35 pm

Hi,
I wish to dynamically generate sprites at either left or right side of the screen. I know this can be done by putting an expression.
Question is, based on where it was created I need to set certain values to that instance's variable. How can I do this ?
B
1
Posts: 2
Reputation: 229

Post » Tue Feb 07, 2012 1:45 pm

Every time I create an instance, I wish to set values to that instance. Like speed/direction etc.
So, how I can reference the newly created item to set these values ?

Thanks
B
1
Posts: 2
Reputation: 229

Post » Tue Feb 07, 2012 1:59 pm

You just need to set these values in the same event right after creating the object. Construct picks that object automatically
Like:
Every 2 seconds >
- Create object
- Set var to 10
B
83
S
21
G
15
Posts: 1,039
Reputation: 15,134


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests