Jump to content
  • Advertisement
  • entries
  • comments
  • views

Still Working

Sign in to follow this  
Jason Z


I've been pretty busy lately with my day job and school, so not a huge amount of progress has been made. However, I did manage to get a few feature added into the game to make it seem a little more like, well... a game [grin]

Camera System
So the camera is going to be pointing perpendicular to the 2D playing plane. However, I am going to allow zooming in and out along that perpendicular axis. This allows the player to see the entire playing area at once, while still allowing him/her to zoom back in for fine control of the onscreen player.

Here is an image of an entire level zoomed out to see the whole thing. Notice the size difference of the rings in this screenshot and the prior post's screen shot.

The camera is also set up to change its x and y coordinates to follow the onscreen cursor in world position. With this scheme the player can also navigate the entire playing area without his onscreen player having to move all over the place. Of course this can't be seen in a screen shot, but the overall effect is a nice smooth motion with the screen following the cursor.

This also has the nice effect that the cursor will never be at the edge of the screen and basically non-visible. I have a few plans for the cursor to be more integrated into the game than most others, so this is an important design aspect!
Sign in to follow this  


Recommended Comments

Hey. Nice idea. What are you going to do when the camera approaches the edges of the level?

Share this comment

Link to comment
I will likely just have each level define a bounding box that will only allow the cursor to move within it. This will let me control how far the player can look around and effectively saves me from having to do some exotic 'world wrapping'!

Share this comment

Link to comment

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!