how do i remove a rawdrawn line or image?

Started by CB.., Mon 10/11/2003 20:44:29

Previous topic - Next topic

CB..

after using this

RawDrawLine(0,0,160,100); or RawDrawImage(100,100,134);  

how do i then remove the line/image from the screen..?

allso on the same area can i have the game draw the line from one character to another?

thought this might be a handy way to depict some form of attack element..a bullet perhaps or an arrow..rather than using a sprite and animation..  

Ishmael

Has it got something to do with the RawSaveScreen and RawRestoreScreen commands? Are they spelled like that?
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

CB..

#2
i dunno,  i read them thru and they didn't sound likely candidates etc ..seemed to refer to the whole screen rather than the specific line or image...i should really have tried them but i must admit i wasn;t at all sure..i don't think theyre the ones ..unless i need to save the screen before using the rawdraw script then restore it again in order to remove it..sounds bit heavy going for continued and frequent use..

Isegrim

To my knowledge, there are no functions that allow you to erase specific lines or images.
I fear that all that is possible is saving the screen and restoring it at the appropriate time...
The RawDraw commands seem pretty fast, so it works quite well.
But I do not think that they are intended for more complex drawings or animations
This post was generated automatically and therefore bears no signature.

CB..


Scummbuddy

yes, use RawSaveScreen, then do your doodles, and then RawRestoreScreen
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

CB..


SMF spam blocked by CleanTalk