Modify instance variable of overlapped objects

Get help using Construct 2

Post » Fri Mar 01, 2013 12:13 am

Never mind the edit window was covering the animation window. That's why i was feeling noob lol.

I'm not sure why its not working. It works when i change the check to "is not infected". All the normal ones infect each other on collision but i'm sure you knew that already.

https://dl.dropbox.com/u/139739932/bug%20test/bugs.capx

Sorry i could not help you. Anyone who can? This has me wondering now.Semo2013-03-01 00:14:09
B
12
S
2
G
3
Posts: 59
Reputation: 2,628

Post » Fri Mar 01, 2013 12:22 am

No problem @Semo
The more I try to do stuff with Construct the more I realise I do not understand it :(
B
64
S
16
G
20
Posts: 471
Reputation: 16,131

Post » Fri Mar 01, 2013 9:18 am

Have a look Here. Closer to what you want I think but still with problems...
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
59
S
30
G
34
Posts: 1,194
Reputation: 23,767

Post » Fri Mar 01, 2013 9:51 am

This example might be what you are looking for:

EvilSprites demo

It's a simple example of collision between two instances of same object, I added a little 'infect' example there to show how you could achieve this. The problem with your approach is in the way you handle those collisions, take a look at some picking tutorials in the FAQ thread here and they should explain in more depth what I did in that example. :)vee412013-03-01 09:59:27
B
24
S
8
G
7
Posts: 756
Reputation: 7,202

Post » Fri Mar 01, 2013 10:31 am

here is another try - Here

August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
59
S
30
G
34
Posts: 1,194
Reputation: 23,767

Post » Fri Mar 01, 2013 10:47 am

Thank you guys for the examples. I analyse them right nowCipriux2013-03-01 10:47:48
B
64
S
16
G
20
Posts: 471
Reputation: 16,131

Post » Sat Mar 02, 2013 10:49 am

I've taken this idea and ran with it a bit..

http://www.scirra.com/forum/topic63626_post394570.html#394570
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
59
S
30
G
34
Posts: 1,194
Reputation: 23,767

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests