2D Lighting?

For questions about using Classic.

Post » Sat Aug 28, 2010 10:08 pm

Is there a way to make a Light's position set to an object (in this case the player) so that it follows him? For example, I have the player's sprite position set to the player's hitbox, and that works fine, but I can't figure out how to do the same thing with the Light. I'm almost positive there's a way to do it but I don't see any option for it.
B
3
G
2
Posts: 17
Reputation: 759

Post » Sat Aug 28, 2010 11:43 pm

what do you mean their hitbox?, if not their sprite?
but there should be an action, "set position to another object", use this under an "always" condition

if the light object doesn't have it, under an "always" condition
set light position to hitbox.x,hitbox,y
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests