Lets say, I load several images and add them to Gameview in this way
Dim gv as GameView
and
gv.BitmapsData.Add( Picture1 )
gv.BitmapsData.Add( Picture2 )
gv.BitmapsData.Add( Picture3 )
gv.BitmapsData.Add( Picture4 )
.......
gv.BitmapsData.Add( PictureN )
Then I need to "clear" Gameview and start to draw another pack of pictures:
gv.BitmapsData.Add( anotherPicture1 )
gv.BitmapsData.Add( anotherPicture2 )
gv.BitmapsData.Add( anotherPicture3 )
.......
gv.BitmapsData.Add( anotherPictureM )
So, questions are:
1) how to "clear" GameView "in one click" ? If possible ?
2) If not, I need to make calls like that:
Picture1.Delete = True
Picture2.Delete = True
Picture3.Delete = True
................
PictureN.Delete = True
then add another group of pictures ?
I tried this but by some reason I can't add picture to the gameview again if it was deleted before - nothing is displayed
3) How to remove picture from gameview list without deleting it ?
Thank you
Dim gv as GameView
and
gv.BitmapsData.Add( Picture1 )
gv.BitmapsData.Add( Picture2 )
gv.BitmapsData.Add( Picture3 )
gv.BitmapsData.Add( Picture4 )
.......
gv.BitmapsData.Add( PictureN )
Then I need to "clear" Gameview and start to draw another pack of pictures:
gv.BitmapsData.Add( anotherPicture1 )
gv.BitmapsData.Add( anotherPicture2 )
gv.BitmapsData.Add( anotherPicture3 )
.......
gv.BitmapsData.Add( anotherPictureM )
So, questions are:
1) how to "clear" GameView "in one click" ? If possible ?
2) If not, I need to make calls like that:
Picture1.Delete = True
Picture2.Delete = True
Picture3.Delete = True
................
PictureN.Delete = True
then add another group of pictures ?
I tried this but by some reason I can't add picture to the gameview again if it was deleted before - nothing is displayed
3) How to remove picture from gameview list without deleting it ?
Thank you
Last edited: