How do I assemble world bits

Get help using Construct 2

Post » Mon Nov 14, 2016 8:27 am

I want to add a look of the path in front of the player "assembling" out of small components. The ground coming to meet the players footsteps. And then either falling away behind them or remaining permanent.

I sort of imagine one way would be to create a thing like a spotlight, a radius from the player that triggers the flying in or fading in of the bits. But I have no idea how approach a system like this.
B
8
S
2
Posts: 32
Reputation: 620

Post » Sat Dec 03, 2016 10:05 am

yes you are on the right track...

I would use an invisible sprite object field radius that is pinned to the players pos..

Then detect overlap with ground objects with the 'field' or 'zone' and raise the objects when they are overlapping.

or you could just use


System --> for each (ground Object) or use 'families'
System --> compare two values -->distance (player x,y, ground object x,y) is less than or equal to (your preferred distance)
action --> raise ground object

and of course copy paste all that and invert the events

if you follow me

hope that helps somewhat
:geek:

happy to look over events if you get stuck
When in doubt..or you are lost in a Zombie apocalypse or someone is giving you a hard time..Remember one thing..... Read the Construct 2 Manual..it will save your life.:)
B
35
S
13
G
8
Posts: 318
Reputation: 7,685


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 8 guests