How do I destroy one copy of a sprite?

Get help using Construct 2

Post » Sat Feb 01, 2014 2:01 pm

Hello, this is my first time on this forum and I have a question.

I'm making a Terraria-like platform game and i've made it so you can place and destroy "blocks"/sprites, But one problem. If I set a button on my mouse to destroy 1 copy of a sprite, it will destroy all copies. Since placing blocks only creates a new object with the exact same copy I need to do it like the aforementioned statement.
B
2
Posts: 2
Reputation: 154

Post » Sat Feb 01, 2014 2:06 pm

Seems like you are not referencing the block in your event, so C2 doesn't know which block you mean and picks all.

I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat Feb 01, 2014 2:10 pm

I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat Feb 01, 2014 2:13 pm

Exactly, how would I go by doing that?
B
2
Posts: 2
Reputation: 154

Post » Sat Feb 01, 2014 2:31 pm

Do you understand what is explained in the link I posted?

If you can tell us, how you have your event set up it will be easier to explain how to "fix" it.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider], humanescape, Klarner and 26 guests