Key functionality

I’m making a game, (obviously) and i’ve run into a small little problem with holding more than 1 key down at a time. I’m using a 8-direction movement type (up, upleft, upright, down, downleft, ect.) and i can shoot my character’s shot (by pressing the space key) while pushing up and right or down and right, but i can’t shoot when going down and left or up and left. Is there a workaround, or is this some windows (or keyboard) problem?

Thanx
Pooba

im thinking its a blender problem… probably doesnt know how to use 3 keys at once.

we’ll just have to bring it up to whomever freakign releases the next official blender release

It might be keyboard conflicts. Most keyboards have certain combinations of three keys that do not work together. If two of them are pressed when the third is pressed, the third is ignored. I don’t remember all of the common combinations, but I know Q-W-Space doesn’t work on my keyboard.

d00gs: Up+Right+Space works, so blender does know how to do 3 keys at once.

wiseman: i thought so. I noticed this on my old comp too.

Thanx

Pooba

I think you should fix that with mouse. In 3th person shooter, godsimulations or what else, they use only the up and down key to move. When you move your mouse to the right the character should tun right and if you do this with left it goes left. So now you’re able to use more functions in a game by using mouse script. But I don’t know how to do that but I think we should experiment more with it on this topic or forum using mouse to turn left, right and up and down and only keys up and down to move forwards and backwards. I think someone could do this. :smiley:

i think you might mean first person shooters, but i’ve heard ppl saying that mouse control is only possible through python, but that means that someone obviously has done it, so there might be a tut somewhere. Else you should try using a different keyboard/computer to test out the theory.

Not first but 3th person games. with controls key up = forwards, key down = backward, and when you want to turn left or right just walk forward and use the mouse to turn. I maybe know why blender can’t handle 3 keys at the same time, because some computers will make sounds like long bleeps when users press more than or 3 keys. Maybe they did this also to blender.

any movement using the mouse through python is VERY simple if you know python. ill make a demo file if you tell me what exactly you want the mouse movement to do. as for the conflicts with the keys, this is a keyboard problem. i dont know if there is a difference between ps/2 or usb.

even I made a mouselook ALL BY MYSELF!

doogzz

Jeez, what am I, a beginner?

I already know all about mouse scripts and have used them a lot. However, that’s not the kind of game i’m trying to make, mainly because i plan to make it two player, and two people can’t both use the mouse.
I was just wondering if there was a workaround for the messed up key thing.

Also, mouse scripts are used in both third-person games (Oni, Max Payne) and first person (Quake III, Half-Life). This might hinder my player if he can’t shoot while moving in certain directions.

Thanx for the replies.

Pooba

Just to clarify this, this is DEFINITELY a hardware (keyboard) issue. I have seen exactly that problem everywhere, in DOS, Windows, with all kinds of games, but only with certain types of keyboards.

Get a real keyboard, or don’t use a PC at all :slight_smile:

GAAA! ANOTHER MAC LOVER! HOW CAN YOU LIKE THOSE ONE-MOUSE-BUTTON PIECES OF CRAP!!! GAAAA!!!

Yeah, my keyboard is pretty cheap though :wink:

Pooba