Need help with my Poker game...
Hi everybody!
I would like to get some advices from you, because I am having some difficulties with my game that I am currently developing.The problem is that while the cards are drawn on the screen (after the game is being played for a couple of times), the whole screen freezes. This also happens when I choose the cards to hold and when new cards are being redrawn. I use GIF-images which I initialize as usually with
Image pic1;
pic1 = getImage(getDocumentBase(), temp[1]+".gif");
where temp is an Int-array which holds all the cards (number of cards between 0 and 51). I think that what causes this problem may have something with loading of the images to do,perhaps I have to wait for all five images to be loaded first, before drawing them on the screen.
Any help is appriciated, and sorry about my bad english.
Thanx

