Instance Variable problem

Get help using Construct 2

Post » Mon Dec 09, 2013 10:07 pm


resolved

Hi I'm having an issue with my instance variables for some reason they seem to be happening to all the sprite instances instead of one at a time.
It happens on fire, and when they are destroyed. You can see it in the sample capx below. I want each sprite to die or fire on an individual bases, which I thought was the point of instance variables.
Thank for any help

https://drive.google.com/file/d/0B4FQlIOTI1g3dnRCQW96VE0wWEU/edit?usp=sharing

resolvedfarnsu2013-12-10 17:29:44
B
8
S
3
G
2
Posts: 20
Reputation: 1,759

Post » Tue Dec 10, 2013 1:35 am

Without having seen the file: sounds like a problem with picking. Look up tutorials about picking in Construct 2.

The core basics:
- on the start of a new event every object is selected
- with conditions in your main- or subevents your selection will get smaller
- if you want only specific objects to be affected, pick them accordingly with conditions
- if you are in a subevent where you have deselected a lot of objects with which you want to work again, use the "pick all"-expression to get back select all instances of the selected object, that already existed when the event started, again
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 788
Reputation: 3,788

Post » Tue Dec 10, 2013 6:02 am

Your capx file is asking for sharing permission.
B
24
S
4
G
3
Posts: 43
Reputation: 2,795

Post » Tue Dec 10, 2013 2:12 pm

Oops I enabled sharing on the capx now
B
8
S
3
G
2
Posts: 20
Reputation: 1,759

Post » Tue Dec 10, 2013 5:28 pm

Well i sorta solved the issue so never mind and thanks for the help, I didn't know they called choosing instances picking...
B
8
S
3
G
2
Posts: 20
Reputation: 1,759


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests