Jump to content
Sign in to follow this  
  • entries
    292
  • comments
    557
  • views
    154303

Level One Mockup

Sign in to follow this  
TANSTAAFL

83 views



It is still all smoke and mirrors. I just wanted to see what a level would look like.

I've got a good deal of the isometric rendering code (the stuff that plots tiles and scrolls around the map).

The game will be keyboard controlled.

You can only move X+1,Y+1, X-1 or Y-1, which to our view is diagonal.

Many isometric games, when met with this sort of interface, assign the up arrow key to a particular direction, and then assign the other arrow keys in relation to it.

Hitting the arrow keys will map to a direction, as in these games, but I feel I should also map Home, End, PgUp, and PgDown to directions as well.

So, on the numeric keypad, 8 and 9(up arrow and pgup) will both move towards the upper right corner; 6 and 3(right arrow and pgdn) to the lower right; 2 and 1(down arrow and end) to the lower left, and 4 and 7(left arrow and home) to the upper right.

So, if the player wants to wrestle mentally with making the up arrow key mean something other than "up", they can do so, and I am following an established convention in doing so. But if they don't, there is a logically based alternative.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!