Advanced Lighting?

For questions about using Classic.

Post » Fri Jul 01, 2011 1:28 am

How do you make it where if you shine a light on a solid object, it looks like it would in real life?
B
5
S
3
G
4
Posts: 189
Reputation: 2,910

Post » Fri Jul 01, 2011 1:37 am

what do you mean? self shadows? reflections?
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Fri Jul 01, 2011 1:43 am

Like if an enemy is in your flashlight, he has a shadow. the shadows are in at least a semi-realistic manner.
B
5
S
3
G
4
Posts: 189
Reputation: 2,910

Post » Fri Jul 01, 2011 2:02 am

you could just ask "how can objects cast shadows"

http://www.scirra.com/forum/faked-shadow-example-updated_topic40609.html

http://www.scirra.com/forum/how-do-i-use-the-shadow-caster-behavior_topic39738.html

http://www.scirra.com/forum/shadowcaster_topic35998.html

Use the "search" option on top of the page - that's your best friend.shinkan2011-07-01 02:02:52
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Fri Jul 01, 2011 2:04 am

Many thanks.
B
5
S
3
G
4
Posts: 189
Reputation: 2,910

Post » Fri Jul 01, 2011 2:25 am

How do you get the Shadow Caster?
ERRORGranhunter1012011-07-01 02:26:10
B
5
S
3
G
4
Posts: 189
Reputation: 2,910

Post » Fri Jul 01, 2011 2:34 am

First of all you have to add to your layout two objects:
- Sprite
- Light

Then for your Sprite you have to add behavior called "Shadowcaster Behavior"

Light object is necessary for shadow caster to work.
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Fri Jul 01, 2011 3:00 am

When I try to run the layout (or the application) it says: failed to load plugin Shadowcaster.csx
B
5
S
3
G
4
Posts: 189
Reputation: 2,910

Post » Fri Jul 01, 2011 3:04 am

Try to reinstall Construct Classic, Shadowcaster.csx is integral part of application
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Fri Jul 01, 2011 3:58 am

Reinstalled Construct r1.2 (well I downloaded it again). It says the same thing.
B
5
S
3
G
4
Posts: 189
Reputation: 2,910

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests