How do I

Get help using Construct 2

Post » Sun Dec 20, 2015 1:15 pm

LittleStain wrote:so something like

sprite is overlapping sprite
> sprite destroy
> system create sprite at : x=random() y=random()

would work?


I don't want to destroy them
B
10
S
4
Posts: 144
Reputation: 1,246

Post » Sun Dec 20, 2015 1:17 pm

jamiek wrote:
LittleStain wrote:so something like

sprite is overlapping sprite
> sprite destroy
> system create sprite at : x=random() y=random()

would work?


I don't want to destroy them


Why not?
You are creating a new instance in the same event..
So the number of instances stays the same..
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 » Sun Dec 20, 2015 1:52 pm

LittleStain wrote:
jamiek wrote:
LittleStain wrote:so something like

sprite is overlapping sprite
> sprite destroy
> system create sprite at : x=random() y=random()

would work?


I don't want to destroy them


Why not?
You are creating a new instance in the same event..
So the number of instances stays the same..


that just dosent work for me and the game I am trying to make
B
10
S
4
Posts: 144
Reputation: 1,246

Post » Sun Dec 20, 2015 2:05 pm

Well I gave this answer, because it's a way that works..

If you want a specific explanation for your specific situation, it would probably be much easier if we knew what your specific situation is..

Could you provide an example?
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 » Sun Dec 20, 2015 3:09 pm

LittleStain wrote:Well I gave this answer, because it's a way that works..

If you want a specific explanation for your specific situation, it would probably be much easier if we knew what your specific situation is..

Could you provide an example?


alI i want all enemy's to collide with each other without destroying each other because they are all chasing the player.
B
10
S
4
Posts: 144
Reputation: 1,246

Post » Sun Dec 20, 2015 3:20 pm

jamiek wrote:
LittleStain wrote:Well I gave this answer, because it's a way that works..

If you want a specific explanation for your specific situation, it would probably be much easier if we knew what your specific situation is..

Could you provide an example?


alI i want all enemy's to collide with each other without destroying each other because they are all chasing the player.


All I want to know is how your events/behaviours are set up so I can answer your question..
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 » Sun Dec 20, 2015 3:24 pm

Are you guys just bumping up your post stats? 8-)
Brick by brick, stone by stone.
B
56
S
25
G
18
Posts: 273
Reputation: 13,363

Post » Sun Dec 20, 2015 3:29 pm

Solomon wrote:Are you guys just bumping up your post stats? 8-)


Like I'd need that..

I honestly want to help this person, but without knowing what the problem is, it gets hard..
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 » Sun Dec 20, 2015 3:50 pm

I would suggest, @jamiek, that you attach a .capx to your post with precise instructions of what is needed/what isn't working, so that a swift resolution can be obtained.

This number of posts shouldn't really be necessary to get the answer you need, which is why a .capx is always the best option.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
86
Posts: 5,422
Reputation: 59,530

PreviousNext

Return to How do I....?

Who is online

Users browsing this forum: badmoodtaylor, Yahoo [Bot] and 29 guests