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

Pages: [1]
1
Graphics / Re: Tearing issue?
« on: December 09, 2015, 12:02:00 am »
Thanks for your replies. I found the solution. When I was calling setTexture() on my sprite I wasn't including the second paramter for resizing the underlying rectangle of the sprite.

so by calling Sprite.setTexture(Texture, true); I fixed my problem.

2
Graphics / Tearing issue?
« on: December 07, 2015, 08:49:16 pm »
I'm a new SFML user and i'm using it to complete a final project for a programming class I'm taking.

I'm having an issue which I think is the result of screen or image tearing but I'm not sure. I've attached an image of the the game I'm working on using some Megaman X sprites. You'll notice some black rectangles extending to the right of the sprite, and part of the bottom of his foot is cut off.

I've tried using Vsync, limiting framerate, and  setting all my textures to setSmooth(false). Any help would be much appreciated. I can upload more example images as well if necessary, as well as any source code excerpts anyone would think are relevant.

Pages: [1]