warhammerdude20
03-20-2005, 10:46 PM
Hey,
Ive made a 4 player javascript game and i get the key events like so...
<html>
<head>
<script language=javascript>
function getKeyDown(evt){
if(evt.keyCode==whatever){
//blah blah blah
}
}
</script>
</head>
<body onKeyDown="getKeyDown(window.event);">
</body>
</html>
So anyway, when 4 people are playing, and someone holds down a certian
key, someone elses keys dont work. Is there a way to make them all work
evenly?
thanks
Ive made a 4 player javascript game and i get the key events like so...
<html>
<head>
<script language=javascript>
function getKeyDown(evt){
if(evt.keyCode==whatever){
//blah blah blah
}
}
</script>
</head>
<body onKeyDown="getKeyDown(window.event);">
</body>
</html>
So anyway, when 4 people are playing, and someone holds down a certian
key, someone elses keys dont work. Is there a way to make them all work
evenly?
thanks