Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 21 May 2007
Offline Last Active Apr 03 2012 06:26 AM

Posts I've Made

In Topic: Looking for some recommendations on source control...

23 March 2010 - 03:04 AM

Original post by Splinter of Chaos
The disadvantages of git are that you have to work with the command line. There's a learning curve, though that depends on your tutorial. It won't likely have a plugin for VS. Some would tell me that because git was originally a Linux program, it won't work well on Windows, and that's entirely untrue, but it might require extra work.

There's a really decent plugin for VS here: http://code.google.com/p/gitextensions/

I use this on a daily basis, it works great. There are also other GUI apps if you search for them though the Linux ones are generally better. The excuse that git doesn't work well on Windows is no longer true - the guys of the ioquake3 project are currently arguing about switching to Mecurial or Git and this particular point is noted time and time again, I just don't think they are willing to do the research :)

In Topic: Simple games ideas for beginner

23 March 2010 - 01:34 AM

Congratulations on your first project. You could try making another retro style game e.g. Pacman or Space Invaders. Pacman is a little bit harder because you will need to do some simple pathfinding techniques.

To make the projects a little more interesting you might like to adapt the core mechanics of the game and make them a little bit more unique, that might give you more of a challenge without requiring you to design your own game from scratch :)

Good luck!

In Topic: sdl+sdlgfx VS sdl+opengl VS sdl only FOR 2D

16 March 2010 - 03:08 AM

Original post by vanzukeus
Hi, thanks for the answer.
Yes, I guess too that performance in this sort of game isn't very important.
Question: font rendering with OpenGL is bad?

No, it is fine, I just didn't get round to implementing it yet :)

In Topic: Trouble Sorting a Vector of Objects

16 March 2010 - 03:05 AM

Yeah, change the function declaration to static and then make sure your sort call looks like this:

std::sort( enemySpawnLists.begin(), enemySpawnLists.end(), ClassName::sortEnemies );

Where ClassName is the actual name of your class :)

In Topic: sdl+sdlgfx VS sdl+opengl VS sdl only FOR 2D

15 March 2010 - 11:55 PM

I was in a similar position not so long ago. SDL was bogging down with busy 2D scenes and so I made the switch to OpenGL. The upgrade path is convenient and it doesn't take too long to switch, plus you can still use SDL surfaces with OpenGL textures. The advantages are greater than the cons and the switch was worthwhile (not to mention great performance). The only thing I didn't finish yet is font rendering.

With all that said, you probably won't be too concerned with performance if you're just writing a turn based game, you don't need to update the screen unless the scene has actually changed.