Jump to content
Sign in to follow this  
  • entries
    61
  • comments
    131
  • views
    32286

Allright, game progress is going slow...

Sign in to follow this  
Samsonite

121 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
  • 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!