Footprints? (SOLVED)

Started by R4L, Tue 02/05/2006 22:29:40

Previous topic - Next topic

R4L

I was tinkering with Demo Quest II but I could not find any kind of code relating to the footprints you create in the Sierra style room. How do you do this as it is an awesome idea to use in one of my games.

GarageGothic

I believe it's done by RawDrawing footprint sprites at the player.x, player.y coordinates. The Winter Rose also used used this effect for footprints in snow.

R4L

Cool. If too many rawdrawn sprites were on the screen at once, would it affect gameplay?

GarageGothic

No, once you RawDraw a sprite, it's part of the background and doesn't affect performance at all. But be aware that the footprints will disappear if you leave a room and return to it later (the only workaround I see for this is to export the background to an external file on leaving the room, or storing it as a DynamicSprite, but that would be a waste of memory).

R4L

Thats ok because its for an opening scene only. Thanks for the help!  ;D

SSH

Quote from: GarageGothic on Wed 03/05/2006 00:33:06
storing it as a DynamicSprite, but that would be a waste of memory

Why would it be a waste? You're not on a 640K PC anymore!
12

SMF spam blocked by CleanTalk