[solved]Why this is not working? (spawner)

Get help using Construct 2

Post » Mon Apr 20, 2015 8:30 pm

Image

image link:
https://www.dropbox.com/s/kvvr08xw1v19s ... r.jpg?dl=0

Okay, it spawns the objects as it should spawn, but the location where they are spawned is very wrong. Now they are spawned to the top of layout and tried to do them to spawn from the spawner object.
Last edited by sorbias on Tue Apr 21, 2015 5:15 am, edited 4 times in total.
B
11
S
1
Posts: 63
Reputation: 658

Post » Mon Apr 20, 2015 9:12 pm

I can't see the image, so I have no idea what's there..

Did you try spawnobject - spawn object at imagepoint?
If so are you sure the imagepoint is within the spawnobject?

Without the capx to look at all I can do is guess..
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 » Mon Apr 20, 2015 9:12 pm

I was thinking about this issue and i got an idea, (that could be wrong). But can it be possible, that the game cannot know the exact position of the spawner object related to the layer where it is spawning, because the spawner layer is parallax layer and the layer where it is spawning, is not parallax?

picture of the event:
https://www.dropbox.com/s/kvvr08xw1v19s ... r.jpg?dl=0
B
11
S
1
Posts: 63
Reputation: 658

Post » Mon Apr 20, 2015 9:24 pm

Yep the parallax is the issue..

I think you can get around this with the system expressions canvastolayer and layertocanvas, but I myself have never used them.

https://www.scirra.com/manual/126/system-expressions
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 » Tue Apr 21, 2015 5:11 am

Thank you again LittleStain. :) Those system expressions look little complicated, but i think i'll figure them out, or find some other way to do this. :)
B
11
S
1
Posts: 63
Reputation: 658


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 27 guests