Advertisement Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Two updates in one day...

Sign in to follow this  


Things have been pretty boring at work today, so I added in the functionality to return a recordcount as well as to access fields in the active query by name instead of just by number.

Also fixed a little bug I found, and fixed up the main game loop.

I created a singleton class to handle the assigning of unique entity id numbers. I have it created in the main game classes constructor which tells it to load the counter settings from the database. Before I destruct it the game class tells it to save each of the counters to the database. It seems to be working well.

I have a table that has one row per counter I need to keep track of. I'm going to hold seperate counters for each main type of entity (players, ships, trading posts, etc). The singleton class will start off where it left off due to the database.

So I'll create the other entity classes and create the storage tables for them, then I *have* to work on some kind of client in order to progress much further.

Maybe I'll create a text based ascii client ;)

Anyone else notice that the Developer Journal actually motivates you to get more work done? That's something I've needed for a while.
Sign in to follow this  

1 Comment

Recommended Comments

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, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!