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.


Topics - zeno15

Pages: [1]
1
Graphics / [SOLVED] sf::VertexArray color after setting texture coords
« on: August 05, 2013, 06:45:57 am »
I have a simple tile map that uses vertex arrays to display it, and it refers to a texture ive passed to it, it all works fine, I'm just curious as to what effect setting the color of the vertex's has?  I know when I set it to Transparent it shows the color used to clear the screen and when set to black it shows all black, but I was wondering if there was a more official answer than my trial and error,
Cheers

2
Graphics / createMaskFromColor not working when updating image to texture
« on: November 27, 2012, 03:01:49 am »
I have a background texture that i move around using a view, and I want to add a few circles to it but without the background, so I am using image.createMaskFromColor(sf::Color::White), as the background is white, and then calling texture.update(image, ycoord, xcoord), the texture is updated, but the white background has been turned black, I was wondering if anyone knew the cause of this, the solution or maybe and alternative way to accomplish the same thing,
cheers.

3
General / intel_do_flush_locked failed: No such file or directory
« on: November 23, 2012, 05:44:00 am »

Hi everyone,

as stated in the title I am getting a
intel_do_flush_locked failed: No such file or directory
error when running my code,

on ubuntu 12.04, using the rc of sfml 2.0 and I have googled and searched the forums far and wide to no avail.

So I was wondering if anyone had any clue what's going wrong here.

I believe it has something to do with the sf::Texture when i try and draw the sprite to the screen in the titleScreen.cpp file, in the render function.

If I import the texture and the sprite all within that function then it works, but if i run it the way I currently have it then it crashes, any help would be appreciated cheers.

File download: https://rapidshare.com/files/697490419/SFMLSpace.tar.gz

Pages: [1]
anything