Home » Community » Forums » » Pillars of Good Programming
  Intel sponsors gamedev.net search:   
[Control Panel] [Register] [Bookmarks] [Who's Online] [Active Topics] [Stats] [FAQ] [Search]

Add Forum to Favorites |  Send Topic To a Friend | View Forum FAQ | Track this topic


 Last Thread Next Thread 
 Pillars of Good Programming
Post Reply 
"In a FPS, PageUp and PageDown should allow you to look up or down (if the game supports that kind of thing. Also, there should also be a key defined to return you to a level viewpoint). There may also be jumping (X), crouching (C), and maybe an alternate firing button (Z). Also, if you have more than 5 weapons, you might want a button that allows you to switch to the last weapon (usually backspace)"


Good game programming would of course take into consideration that not every user uses an US QWERTY keyboard layout. Most flash games are ruined for more educated (Dvorak) or international users, as the keys can not be changed, and the game has been designed with "good programming" in mind and key locations are based and hardcoded for qwerty keys.

In such a case the developer of the game has falsely assumed his developement is based on "Pillars of Good Programming", which results in the user having to press a key on the left of the keyboard to fire, and a key on the right of the keyboard to drop a bomb, which is really hard - in the worst case the movement is on the QWERTY WASD keys, and results in inverted directions on many other keyboards.

Using X, C, and Z is not good programming. Allowing the user to use any keys on the bottom left of the keyboard is.

 User Rating: 1028   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

that article wasn't about good programming, it was about keys/custom keys in fps games

 User Rating: 1015    Report this Post to a Moderator | Link

This is what passes for an article now?

 User Rating: 1151   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Perhaps you should read the date that the article was published.

 User Rating: 1912   |  Rate This User  Send Private MessageView ProfileView Journal Report this Post to a Moderator | Link

Quote:
Original post by Pelikaruga
"In a FPS, PageUp and PageDown should allow you to look up or down (if the game supports that kind of thing. Also, there should also be a key defined to return you to a level viewpoint). There may also be jumping (X), crouching (C), and maybe an alternate firing button (Z). Also, if you have more than 5 weapons, you might want a button that allows you to switch to the last weapon (usually backspace)"


Good game programming would of course take into consideration that not every user uses an US QWERTY keyboard layout. Most flash games are ruined for more educated (Dvorak) or international users, as the keys can not be changed, and the game has been designed with "good programming" in mind and key locations are based and hardcoded for qwerty keys.

In such a case the developer of the game has falsely assumed his developement is based on "Pillars of Good Programming", which results in the user having to press a key on the left of the keyboard to fire, and a key on the right of the keyboard to drop a bomb, which is really hard - in the worst case the movement is on the QWERTY WASD keys, and results in inverted directions on many other keyboards.

Using X, C, and Z is not good programming. Allowing the user to use any keys on the bottom left of the keyboard is.


Most educated dvorak users I know have a shortcut set up to change the keyboard back to qwerty when they go to play things like this.

 User Rating: 1553   |  Rate This User  Send Private MessageView ProfileView Journal Report this Post to a Moderator | Link

What kind of conventions are those? Arrow keys for an FPS? Try WASD, which is actually placed on a moderately easy to access part of the keyboard.

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Quote:
Original post by TsuruyaSan
What kind of conventions are those? Arrow keys for an FPS? Try WASD, which is actually placed on a moderately easy to access part of the keyboard.
Quote:
Original post by Washu
Perhaps you should read the date that the article was published.
Quote:
Date this article was posted to GameDev.net: 11/23/1999


In case you missed it, this is a 10 year old article

 User Rating: 1933   |  Rate This User  Send Private MessageView ProfileView Journal Report this Post to a Moderator | Link

Quote:
Original post by Drew_Benton
Quote:
Original post by TsuruyaSan
What kind of conventions are those? Arrow keys for an FPS? Try WASD, which is actually placed on a moderately easy to access part of the keyboard.
Quote:
Original post by Washu
Perhaps you should read the date that the article was published.
Quote:
Date this article was posted to GameDev.net: 11/23/1999


In case you missed it, this is a 10 year old article

Wow, talk about necroposting! Egads!



 User Rating: 1620   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

All times are ET (US)

Post Reply
 Last Thread Next Thread 
Forum Rules:
You may not post new threads
You may post replies
You may not edit your posts
You may not use HTML in your posts
Jump To:
Administrative Options: