| Mirage Source http://web.miragesource.net/forums/ |
|
| Character Selection Form http://web.miragesource.net/forums/viewtopic.php?f=201&t=3385 |
Page 1 of 1 |
| Author: | Anthony [ Sat Feb 16, 2008 7:13 pm ] |
| Post subject: | Character Selection Form |
Currently for displaying my characters (2) sprite on the character select form I am using BltToDC and blting directly to the form. It works nicely and everything until I delete a character. After the character is deleted it all goes fine except when it sends me back to the login screen and I log back in the lstChars displays a "0" where the name used to be which is correct but it is still blting the sprite. If I close the game right out and reload it again and login then the character isn't blted anymore. Does anybody have any ideas as to why this is happening? The characters data is sent every time when you login so shouldn't it recognize it's not there anymore and blt nothing? |
|
| Author: | Coke [ Sat Feb 16, 2008 7:39 pm ] |
| Post subject: | Re: Character Selection Form |
I think its just a case of not clearing your surface, either chuck in a check on form load or unload the surface when you delete your character. |
|
| Author: | Anthony [ Mon Feb 18, 2008 5:42 am ] |
| Post subject: | Re: Character Selection Form |
Thanks for the reply Fox. I tried setting the sprite surface to nothing and even destroying the entire directx and reloading it again after the character is deleted but neither seem to work |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|