[Suggestion] Expression for Layer Parallax?

Discussion and feedback on Construct 2

Post » Mon Aug 12, 2013 10:44 am

@Paradox

Quoting myself

"The problem is you can't directly put VarParallax in an expression about the Sprite that's on the layer, without first doing other checks.

First you have to find which VarParallax the sprite's Layer is assigned to then use that hard-coded varaible in all operations further down the Sub-event chain. If you need to change to a diffferent layer's parallax a few Sub-events down you have to start all the way from the top again to select the proper layer.
Also if you need to check the variables of MULTIPLE layer's parallaxes, then you're in for quite a few lines of Events and actions just to figure it out."
B
10
S
3
Posts: 233
Reputation: 1,537

Post » Mon Aug 12, 2013 10:44 am

Oops, looks like the parallax expressions were missed by accident. I'll try to add them to the next build.
Scirra Founder
B
395
S
231
G
88
Posts: 24,367
Reputation: 193,684

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: digitalsoapbox, Lorvin, Yahoo [Bot] and 15 guests