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

Pages: [1]
1
Window / Input::IsKeyDown problem
« on: March 16, 2011, 06:50:00 pm »
You can either check for keypresses directly through the events, or through the input handler instance.

If you just move those if(App.GetInput()...)s out of your event processing loop it should work fine.

The reason the mouse works is having the mouse over the window generates an event every frame (iirc) which would allow the code in the event handling loop to run normally.

2
Window / Input::IsKeyDown problem
« on: March 16, 2011, 05:26:58 pm »
Why couldn't you process multiple inputs using the first method? May we see some more code, since the first method is the correct way of doing things.

In the second way you are trying to call a method of the class instead of a method of the instance, which is what is giving you an error.

3
General / Code blocks: No such file or directory - SFML\system.hpp
« on: March 12, 2011, 07:36:08 pm »
Shouldn't it be a slash instead of a backslash?
ie
#include <SFML/System.hpp>

4
General discussions / SFML 2 for OS X comes true!
« on: March 06, 2011, 10:41:19 am »
Nice, I completely missed that.

Cheers

5
General discussions / SFML 2 for OS X comes true!
« on: March 06, 2011, 06:57:19 am »
Aha, I see. I guess I just assumed something like that would stay the same.

Any reason for the change? I'm curious now

6
General discussions / SFML 2 for OS X comes true!
« on: March 05, 2011, 04:28:37 pm »
G'day, I hope this is the right place to talk about the 2.0 port for mac.

So, the OpenGL tute mentions this: "To use OpenGL, you only have to include Window.hpp : the OpenGL and GLU headers will be automatically included by it."

This isn't the case for mac, since it's not included in the mac specific headers.

(Just wondering why/letting you know. Not a big deal :P)

Pages: [1]
anything