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 - izackp

Pages: [1]
1
Feature requests / Re: CVDisplayLink and CADisplay link for osx and ios
« on: August 25, 2014, 06:28:28 pm »
I've no idea what you want to do but SFML already provide sf::Window::getSystemHandle which gives you either a NSWindow or a NSView and therefore access to the NSOpenGLView subview (on os x).

I can't believe I missed that. Thanks lol.

I mostly want it in because its the 'right' way of doing things when it comes to OSX/iOS. I also have a bad feeling it's going to mess with my game's interpolation (http://www.danielborgmann.eu/2010/09/fixed-timestep-with-interpolation-part.html) on high hz monitors. It also helps me avoid hard coding in a 'refresh rate' for the screen (or doing extensive research on how to get/estimate the refresh rate).

2
General / Re: Using with clang on Windows
« on: August 25, 2014, 05:44:16 pm »
This is one of the top ranked threads when searching in google for "sfml clang windows". 

I added the solution here, so everyone else, who searches for that phrase in google, can find this information.

3
Feature requests / CVDisplayLink and CADisplay link for osx and ios
« on: August 25, 2014, 05:41:08 pm »
It would be nice if you didn't have to use a timer to run your game loop.

I tried modifying the source to give me the NSOpenGLView in order to set up the SVDisplayLink, but its been a huge pain since everything was designed to provide an os independent abstraction. I don't think its bad design to provide the developer with an OSXWindow in osx only objects, but, if you're completely against it, an option to set a VSYNC callback would be nice then again I don't think all OSs support that.

Anyways, I've decided to leave it be until a later time for my game.

Thanks for you time!

4
General / Re: Using with clang on Windows
« on: August 25, 2014, 12:54:20 pm »
Your error was happening because clang didn't support dll export on structs and class.

The latest snapshot version of clang has this problem solved:
http://llvm.org/builds/

or you can build llvm yourself using any commit past July.


I am still getting linking errors with the .dll though. I'll probably post here when I figure out how to fix that.

5
General / Re: Building the SFML aplication on MAC - sfml-system-d not found
« on: November 27, 2012, 07:48:03 pm »
Compiling for xcode doesn't work out of the box. First you need to install the FreeType framework from http://www.kyngchaos.com/software/frameworks

Then the current xcode project uses debug libraries.. which you have to build yourself, or you can remove the -d for all of the libraries in the project settings file so it builds with the release libraries. Instead of sfml-system-d use sfml-system.

This method is if you're using the dylib libraries for sfml 2.0 . I haven't tried the .framework yet.

I can't remember anything else I did, but if you're still having problems then post them and I'll help you.

Pages: [1]
anything