![]() |
|
#1
|
||||
|
||||
|
__________________
----------Current project----------
---------- -----------A shell which will have music, picture, game, text editors etc included! WIP Thread |
|
#2
|
|||
|
|||
|
You can't just delete images off the screen... Just use a clear screen function or whatever. Also, what do you mean by duplicate images? If you mean drawing the same one twice just well... do that.
|
|
#3
|
||||
|
||||
|
that works? hmm..... and by deleting say for after drawing it say it goes off screen how would I get rid of it?
__________________
----------Current project----------
---------- -----------A shell which will have music, picture, game, text editors etc included! WIP Thread |
|
#4
|
||||
|
||||
|
Do you mean remove it from memory? If so use oslDeleteImage().
If you dont want it drawn at all just... Dont draw it.
__________________
The PSP Programming and Development Mega Thread VDrum downloaded over 10000 times! PSN: Xsjado7 |
|
#5
|
||||
|
||||
|
I mean say e.g. a bullet is shot from a ship and it collides with something, what would get rid of the image from the screen and yet still let me use oslDrawImage (I think thats it)
__________________
----------Current project----------
---------- -----------A shell which will have music, picture, game, text editors etc included! WIP Thread |
|
#6
|
||||
|
||||
|
No, that removes the image from the RAM so you would have to reload it again if you wanted to draw it again
__________________
--| Thing Thing: PSP Edition -0.9.1- | My Theme Pack | Ice Pong -1.2.1- | My Hack Your PSP Guide | My Website |-- |
|
#7
|
||||
|
||||
|
Not drawing the image doesnt remove it from the memory.
If you wanna draw the same image maore than once just use oslDrawImageXY(X, Y, whatever) more than once with different coords. In regards to removing from the screen something basic would be: Code:
int blit = 1;
image = blah;
while(1)
{
if(blit == 1)oslDrawImage(image);
if(something happens)blit = 0;
}
__________________
The PSP Programming and Development Mega Thread VDrum downloaded over 10000 times! PSN: Xsjado7 |
![]() |
|
|
|||
|
|||
|
|
| Thread Tools | |
| Display Modes | |
|
|