Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Member Since 17 Apr 2012
Offline Last Active May 17 2013 06:48 PM

Posts I've Made

In Topic: SFML RenderTexture slow performance

06 April 2013 - 06:20 PM

The SFML RenderWindow is already double buffered. The method draw(...) draws to the backbuffer and display() swaps the buffers. So there is no need for a RenderTexture in this case.


The texture's copy constructor loads the texture from the gpu in an image and creates a new texture from that image. Both done per pixel and as cpu operation which is definitely slow.

In Topic: Looking for GOOD Tutorials for Beginner Game Development

18 March 2013 - 07:46 AM

Preprocessor(Release) should look like this: SFML_STATIC;WIN32;NDEBUG;_WINDOWS .....
You need to link the static libs. And for debug mode the debug libs. Try to remove the sfml libs from linker->input. and add this to your code file:


#ifdef _DEBUG
#pragma comment(lib, "sfml-system-s-d.lib")
#pragma comment(lib, "sfml-window-s-d.lib")
#pragma comment(lib, "sfml-graphics-s-d.lib")
#pragma comment(lib, "sfml-system-s.lib")
#pragma comment(lib, "sfml-window-s.lib")
#pragma comment(lib, "sfml-graphics-s.lib")

In Topic: Anyone else run into the "idk what programs to make" issue?

11 February 2013 - 10:02 AM

WinAPI and drawing dots with GDI? Sorry but I think that might be some of the worst ways to start with (3D) programming. If you start with a really high level toolkit like unity, then you can do things in minutes for which you might need years (if you have the endurance) going the way you have mentioned. Yes you won't understand what is going on in the background but you can learn that later or don't bother at all and continue making games.

In Topic: Configuring VS 2012 with DX11 on Windows 7

10 February 2013 - 02:20 PM

Vs2012 has its own DirectX SDK build in. It annoyed me too, but works fine now. See section 5 here: http://msdn.microsoft.com/en-us/library/windows/desktop/ee663275.aspx


edit: you need to link the libraries like you would do it in vs2010

In Topic: Object / entity system confusion

10 February 2013 - 01:53 PM

How many different types of entities do you need for your game? Is there a possibility to reuse the entity system? Do you want to use such an entity system because you simply want to create one (and feel its power ;) )?


You can still define properties of your entities in data files and you can also call some script functions without a complicated system. What you cant do is: defining new types of entities in script/data. That would be cool but do you really need that?