Sign in to follow this  
  • entries
    61
  • comments
    131
  • views
    31398

Allright, game progress is going slow...

Sign in to follow this  
Samsonite

92 views

...apart from the fact that I have written two new classes: "GenericPlayer" being the abstract base class for the "Player" class(and the "NPC" class later on).

I have some problems with animation though, right now the player sprite doesn't move more than 20 px/buttonpress, and if I hold the button down then nothing happens(it only moves 20px/button press so I need to press it again in order to move it, so I need some help with that).

Here is a screeny as it is 00:20 PM New York time, the player image at the bottom is the image that the player controls, while the one higher up is a test("std::vector activeobjects" [grin], my render function loops through all of the objects contained in that vector and renders it, works nice.):



As you can see I have yet to implement a clear screen function(Using the appropriate SDL function). Hold on a sec...

*codes*

Here:



Not OO coded but I will do that tomorrow. I need some sleep [smile]

Hope you like it!
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