Strange error with lesson 7 keyboard control

Started by
9 comments, last by BauerGL 22 years, 4 months ago
Floppy, if u had looked a little closer u would have seen that it stood "Anonymous Poster" in the first post, and then it's kinda hard to edit/delete that one... But it was my mistake so thanks anyway, i wont do it again.

[EDIT]
Prosper/LOADED, thank you so very much! I looked in the WndProc and found my stupid fault. In the code below that checks for pressed/released keys, i typed Key[lParam] instead of Key[wParam] in the WM_KEYUP.
So thank you so very much it really helped me!

  	case WM_KEYDOWN:												{			Key[wParam] = TRUE;											return 0;		}	case WM_KEYUP:													{			Key[wParam] = FALSE; 										return 0;		}  


// NeHe community roxx!

Edited by - BauerGL on December 20, 2001 5:46:28 AM

@mikaelbauer

Super Sportmatchen - A retro multiplayer competitive sports game project!

This topic is closed to new replies.

Advertisement