|
|
Re: Unlit
[Re: Gafgar]
#59476
11/28/05 00:00
11/28/05 00:00
|
Joined: Jan 2005
Posts: 567 Sweden
Gafgar
OP
Developer
|
OP
Developer
Joined: Jan 2005
Posts: 567
Sweden
|
ok. it become more than 3 and here is the code for the sprites... my.skill2 = random(13); my.oriented = off; my.facing = on; my.decal = on; my.scale_x = 0.3 + random(0.20); my.scale_y = 0.3 + random(0.20); my.passable = on; my.unlit = on;
|
|
|
Re: Unlit
[Re: Gafgar]
#59480
11/29/05 10:57
11/29/05 10:57
|
Joined: Feb 2003
Posts: 6,818 Minot, North Dakota, USA
ulillillia
Senior Expert
|
Senior Expert
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
|
Perhaps you need the ambient_red stuff in a material. To get true color, set all to 255.
If you want all objects affected in the same way, use the mat_model or mat_sprite predefined materials. To affect a single object individually, create a material for it and in an action, point to that material then add my.dynamic = off after assigning the material to speed up rendering.
"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip
My 2D game - release on Jun 13th; My tutorials
|
|
|
|
|
|