Is there any way to use tiled graphics on moving platforms?

Discussion and feedback on Construct 2

Post » Tue Jul 14, 2015 9:48 pm

Hey. I've used tiled backgrounds for everything else in my game, but I don't think I can do the same for these moving platforms I've set up with sine movements.
Just wondering if anyone can tell me to best way to get some graphics on these. There are a few different shapes n' sizes, so I was hoping I could tile a texture on them.
Can anyone help? Thanks.
Image
B
7
S
2
Posts: 60
Reputation: 604

Post » Tue Jul 14, 2015 10:12 pm

I usually give the tilable texture an instance variable like "movable" and when true and overlapping the moving solid objects then pin it to it. And do it with a trigger or only once so you don't keep pinning it every tick.

Might be better ways to do it though.

Btw, the game looks awesome :)
B
54
S
23
G
12
Posts: 747
Reputation: 11,910

Post » Tue Jul 14, 2015 10:39 pm

Aha! Makes perfect sense. I'm still a bit of a noob with C2, thanks for the help!
B
7
S
2
Posts: 60
Reputation: 604


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 5 guests