Question about lights

Blitz3D Forums/Blitz3D Beginners Area/Question about lights

Rubiks14(Posted 2005) [#1]
I'm working on a 2d game right now and i'm typing all the code in blitz3d so i was wondering that even though i'm coding for 2d if i can still use lights, not to make any shades or lighting effect but just to add the effect that there is light?


Ross C(Posted 2005) [#2]
Blitz lights only effect 3d meshes/sprites. They don't affect images or any other 2d item drawn using 2d commands. Can you further explain what you mean?


Rubiks14(Posted 2005) [#3]
i know that, i edited my post up top to explain. basically i just want it there to show that there is a light on screen.

oh and also i was wondering if i could set my graphics up as 3d and still just place images and 2d stuff without have to call like load texture or loadsprite


PowerPC603(Posted 2005) [#4]
You can use a 3D graphics display to display only 2D stuff.
I use a 3D display for playing AVI's with my own MoviePlayer (they're only 2D).

If you don't use any 3D commands, why would you use a light?
It doesn't make the screen glow or anything.
The lightsource won't even be visible (even if it's right in front of the camera), unless you have at least 1 3D-object onscreen, which is affected by the lightsource.

As Ross C said, any pictures you show onto the screen (or even an entire 2D-GUI), won't be affected by it.


Rubiks14(Posted 2005) [#5]
thank u for clearing that up for me.