Thursday, March 28, 2013

[Nigel] Bare Engine Completed


The player can now do the following:

  • Move around; Colliding into the edges of the room.
  • Look around; Looking at the cursor.

Also, a couple of basic visual ideas were set up:
  • Camera movement occurs only after collision with an invisible bounding box in the center of the screen. This is similar to the implementation found in most 2D platformers. 
While the player is within the box, only the sprite will move. If the player attempts to move outside of the box, the map will move instead.

  • This will eventually lead to smooth camera movement. The camera will smoothly accelerate/decelerate when map movement occurs. 




Now to get map generation going.


2 comments:

  1. Nice start Nigel. What are you using - G3D?

    Edward

    ReplyDelete
  2. Thanks. I'm using LWJGL/Slick2D which are Java based.

    ReplyDelete