[SDL] Question about blitting...
Lilith Calbridge
lilith at dcccd.edu
Sun Aug 13 05:37:46 PDT 2006
>>> On 8/12/2006 at 7:52 PM, in message <eblt17$7r5$1 at sea.gmane.org>,
L-28C
<leo28c at gmail.com> wrote:
> David Olofson wrote:
> > Well, it seemed like you were composing the car from multiple
> > images...? :-)
> I am... :-P
> David Olofson wrote:
> > Anyway, what I was saying was, if you want a car with translucent
> > windows, draw the car like that, instead of adding the window at
load
> > time.
> Can't do that - the player has to be seen inside...
You can't render/draw the car with the player already inside? Is this
a
matter of having the player external to the car and getting inside? If
so,
why not render the car without the driver and one with the driver?
Then,
when the driver gets in the car you switch the car to a vehicle with
the
driver already inside and the driver becomes, essentially, invisible
but
maybe still represented by a rectangle in order to fix his location
for
later use or for, maybe, collision detection.
--
Lilith
More information about the SDL
mailing list