Wednesday, November 7, 2012

Day 3

I finished up Camera movement, Player movement, Tiled sprite-background with an array and basic player collision. We also finished several sprites including an animated fountain, a  bush, bridge and a building.












Writing the code for a game on your own gives you an insight into how counter-intuitive things really are. One good example is camera movement.
When you walk downwards in a top-down game You may think that you are moving downwards on the map, when, in reality it's actually the map moving upwards creating the illusion of downwards movement. Your player character never moved an inch on the screen right? So the next time you play Minecraft remember that you are never moving, it's simply the world being moved around you.

No comments:

Post a Comment