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

Pages: [1]
1
General / Beginner Question
« on: April 10, 2011, 08:40:43 pm »
Thanks for your quick reply.

Well, I know what you mean but I can't implement it.
First I have following function for the Window height and width:
App.GetHeight();
App.GetWidth();

For the Sprite I have just this: Sprite.GetPosition()

I'm far away from the solution, because I don't know where to start, could someone please help me?

2
General / Beginner Question
« on: April 10, 2011, 05:12:17 pm »
Hello,
I'm quite new to SFML and have a simple(?) question.
I was able to create a sprite and could successfully move it through the window. But how can I put a restriction, that the sprite can't move out of the window?

Thanks in advice
psychotical

PS: I made use of the search, but I had problem finding what I need.

Pages: [1]