ThePentiumGuy Posted May 27, 2003 Posted May 27, 2003 i have 12 graphics for characters character left 1 , characterleft2, character left 3 and so on when i say (when the user preses left) character.image = characterleft1.image character.image = characterleft2.image character.image = characterleft3.image it goes very choppily and you cant even see characterleft2 and 3 Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
aewarnick Posted May 30, 2003 Posted May 30, 2003 http://www.xtremedotnettalk.com/showthread.php?s=&threadid=72348 Double Buffering. Quote C#
ThePentiumGuy Posted May 31, 2003 Author Posted May 31, 2003 Visual Basic Thanx for the link but i was meant in the same thing in Visual Basic.NET Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
aewarnick Posted June 1, 2003 Posted June 1, 2003 Look up VB.net Double Buffering on the net. That is how I found it. Except for C#. Quote C#
*Experts* mutant Posted June 1, 2003 *Experts* Posted June 1, 2003 To get the best performance you should to 3 things.. enable double buffering like aewarnick said and allpainting in wm: SetStyle(ControlStyles.DoubleBuffer, True) SetStyle(ControlStyles.AllPaintingInWmPaint, True) Then you override the OnPaintBackground and do nothing in it. Quote
ThePentiumGuy Posted June 10, 2003 Author Posted June 10, 2003 yeah, but if u override the OnPaintBackground it gets rid of it, nevertheless, my program works Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.