![]() |
![]() |
19:34 09 Sep 2010 |
|
News
Latest Updates Projects
Blob Wars : Blob And Conquer Older Files Medals
Main & Signup
Games Online Manuals
Blob Wars : Blob And Conquer LBP Beta Code! Game Tutorials
Basic Series
Intermediate Series Articles
Making of TANX Squadron
Blob Wars Review #1
Interview with Stephen J Sweeney Gallery Help and FAQs
Installation and Licensing Help About
THE HONOUR OF THE KNIGHTS
Visit the official website,
Buy Now! from Amazon.co.uk
Buy Now! from Book Depository
|
Comments for SDL Tutorial 5 (4) Bryan June 22nd, 2009 at 17:15 Why is it that when the player entity is moved with the UP + LEFT keys, the FIRE mechanism doesn't work? I cant figure it out? Any help would be great! Rik June 22nd, 2009 at 18:18 It's most likely that your keyboard won't accept multiple key presses. Try changing the key that fires to something like Left Control (the code is SDLK_LCTRL). Bryan June 22nd, 2009 at 23:46 Thanks for reply, yeah I was thinking that too. But all other multi-directions work fine. Just UP+LEFT doesn't. I even tried on another computer. Even stranger, on *nix build it had the up+left no shoot problem, on a Winblows build it has the DOWN+LEFT no shoot problem, but again all the other multi-directions in both builds are fine.. Very weird. =) I will try your suggestion to change the fire key. Ivor June 22nd, 2010 at 01:03 When keeping the space key pressed, the program didn't play any sound for the 9th shot (and periodically, each time after firing 8 shots). Mix_GetError() returns "No free channels available" and specifying a channel in Mix_PlayChannel function in audio.c instead of leaving it -1 seems to have fixed this problem. |
|
2,006,366 pages served |
Copyright © 1996 - 2010 Parallel Realities :: About :: License |