Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - priomsrb

Pages: [1]
1
General discussions / Problems with gcc 4.6
« on: April 09, 2011, 09:40:28 am »
Since I have upgraded to gcc 4.6, I get errors when compiling my sfml project. For example:  

Code: [Select]
/usr/include/SFML/System/ResourcePtr.inl:31: error: ‘NULL’ was not declared in this scope

I looked this up and it seems that in gcc 4.6 STL headers don't include <cstddef> any longer.

I could manually work around this by adding "#include <cstddef>" to ResourcePtr.inl myself but I hope there is a better way than that.

Is anyone else using gcc 4.6 getting this problem?

2
SFML projects / Ultimate Zombie Fighters
« on: July 30, 2010, 10:08:32 pm »
Hi,

My friends and I have been working on a game for the last month. It's called Ultimate Zombie Fighters (uzf). It is an open source, cross-platform, 2d top-down zombie shooting game inspired by Call of Duty 5: Nazi Zombies.

The aim of the game is to survive as long as possible. The zombies will try to break the windows and try to get you. You will need to kill them and repair the windows to stay alive.

Screenshot:


We just released a 0.1 version which is kinda playable. You can get it from it's website: http://uzf.sf.net

There are executables for windows available, but for linux(tested) and mac(not tested) you will need to compile.

To compile from source you need:
cmake
SFML >= 1.5
Box2D >= 2.1 (I think)

Please try it out and let us know what you think.

=========================

Using SFML has been an awesome experience. Compared to SDL it has a much nicer syntax and accelerated rendering makes the game feel smooth. Big thanks to the developer for a great library.

Just one small gripe though: It seems from 1.5 to 1.6 the rendering is slightly more glitchy. You can see in the screenshots that there are some faint lines which are the borders of the zombie sprite. It's small but I hope that it improves in the next version of SFML.

Game Features on the SFML side:
- using sf::Views to simulate camera
- custom ImageManager to cache already loaded sf::Images
- custom code to implement tiling

The source code is available from the website so feel free to look around.

Thanks!

Pages: [1]
anything