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.


Messages - Richy19

Pages: 1 ... 10 11 [12] 13
166
Window / SFML and hDC
« on: August 06, 2011, 03:51:26 am »
Didnt really want to open a new thread for a simple question so thought i would ask it here, when creating the openGL context, if using 3.x< can you specify to only load the core stuff?
or core and compatibility?

167
General / Any Released, Working SFML GUI's out there?
« on: July 29, 2011, 04:11:20 am »
I have used it in the past, and it is pretty easy/good i think.
It can use both SFML 1.x or 2.0

As for the documentation it is currently limited however it is on the todo list apparently that said the example projects give you quite a bit of information on how to use it.
Essentially you could build a gui system and use it on various platforms by just changing the renderer.

Worth noting that if you do try to use it then it might be worth cheking out its forum http://www.facepunch.com/forums/376-GWEN-Lightweight-GUI-Widget-library

168
General / Any Released, Working SFML GUI's out there?
« on: July 29, 2011, 02:20:10 am »
Just my 5 cents but there is also Gwen, which is a C++ GUI made available for many API's (DX, OGL, GDI) but also includes a renderer for SFML.

http://code.google.com/p/gwen/

Its made by facepunch studios (guys that made GMod)


169
Window / SFML and hDC
« on: July 25, 2011, 10:07:46 pm »
Ahh, fair enough.
The reason I was asking was because I wanted to try a method of antialiasing.
Just out of curiosity when using windowSettings/contextSettings if I have antialiasing set does that work with pure openGL?

170
Window / SFML and hDC
« on: July 25, 2011, 05:28:23 pm »
Im trying to learn some OpenGL but I have reached the point where I would like to use functions and stuff that need the hDC or other low level things and I just wondered if SFML provides any way to get this?

171
SFML projects / SFGUI (old thread)
« on: July 14, 2011, 06:35:06 pm »
Are you able to create windows inside the main window?
so make it like a virtual desktop?

172
Graphics / Get image subrect
« on: July 08, 2011, 03:37:34 am »
Hi, in my game I am creating an animation class,
The class will take in a spritesheet and on request return an image from that sheet.

However I am unsure as to how I can get part of the main image.
I did think of having a sprite which has the main image and then setting its subrect to what I want and then getting the sprites image, but from what I read this would just return the original image so I am not sure as to how I could do this.

I am also unsure of how I can get a sprites position after moving it.
If I use sprite::move then IIRC it moves the sprite to an offset from its original position, but when using getPosition this just returns its original position, so is there a way to get its current position?
Or would i just have to not use move and do something like:
sprite.setPosition(sprite.getPos().x +5, sprite.getPos().y -3);

173
Window / 2d to 3d on the run
« on: July 07, 2011, 06:37:15 pm »
Hi, I have an idea for a game and I just wondered if it would be possible.
For part of the game I will use normal sprites and images, but I would also like to use 3d stuff (models and such)
Now I only intend to have either 2d or 3d on screen in one level so I wouldnt be mixing it up.

Anyway I was just wondering is it possible to swap from a render window to a normal window without the end user noticing?

174
SFML projects / Map generator (perlin noise)
« on: May 25, 2011, 07:45:57 pm »
il have a look for them, but dont promise anything.
beware tho that if i do find it you will be in for a shock as im a very experienced C++ programmer so it is quite hackish.

Also sorry about the host, its currently being DDOS'ed hence the slow loads

175
SFML projects / Map generator (perlin noise)
« on: May 25, 2011, 12:03:09 pm »
Just thought i would mention there is now a download on the project page if anyone wants to have a go

176
C / Problem configuring csfml2 with cmake
« on: May 07, 2011, 12:45:58 am »
Ahhh that worked great but now i get this error

Quote

CMake Error at src/SFML/CMakeLists.txt:22 (find_package):
  Could not find module FindSFML.cmake or a configuration file for package
  SFML.

  Adjust CMAKE_MODULE_PATH to find FindSFML.cmake or set SFML_DIR to the
  directory containing a CMake configuration file for SFML.  The file will
  have one of the following names:

    SFMLConfig.cmake
    sfml-config.cmake

177
C / Problem configuring csfml2 with cmake
« on: May 06, 2011, 06:54:06 pm »
Quote from: "Laurent"
The path to the gcc executable must be in the PATH environment variable so that CMake can find it.


Where exactly do i find it?
I have lookes all over the gui and in the cmakelist but cant find anything

178
C / Problem configuring csfml2 with cmake
« on: May 05, 2011, 08:55:39 pm »
Dont want to make a new thread for basically same kind of problem.
Im trying to use CMake to create Codeblocks files using MinGW, however specifying the compiler as TCC but i get these errors

Quote

CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Could not find cmake module file:F:/tcc/c/build/CMakeFiles/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file:F:/tcc/c/build/CMakeFiles/CMakeCXXCompiler.cmake
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
Configuring incomplete, errors occurred!


I have also tried other options but they all still give errors

179
Graphics / Downsizing image without quality loss
« on: April 23, 2011, 07:48:54 pm »
Just wondering if theres anything in SFML that allows you to downsize without loosing quality.
In VS/XNA i use the generate mipmaps option in the content importer:



But i didnt  know if SFML had anything like it

180
DotNet / SFML 2 problem
« on: April 20, 2011, 07:20:03 pm »
Hmm It must be a problem with VS2010 or how I built it, I just downloaded the 1.6 version and it works fine

Pages: 1 ... 10 11 [12] 13