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

Pages: [1]
1
Graphics / Sprite.setColor Miscoloring
« on: July 24, 2013, 01:04:06 am »
I'm attempting to replicate the effect of having a translucent color layer over a solid image in SFML. I have my base image which renders fine in SFML. In my image editor, I've tested numerous layers over the image to create various colored instances of the image. For example, the first red layer I've used has an RGBA value of 222, 14, 14, 128. When I use SFML's setColor method (using this same RGBA code) on the base image's sprite, the color of the end image is not the same. Am I misunderstanding the method's usage, or is this some bug? Is there a way I can get the same color my image editor gives me?

2
Graphics / Untolerably Slow Debug
« on: May 31, 2013, 11:49:28 pm »
The framerate on my debug is just absurdly low. I'm porting my XNA game to SFML. In XNA, I had framerates well over 300, and now everything is choppy and I cannot even debug the game on debug because it behaves totally different due to the speed. Why is this, and what can I do to avoid this issue?

Pages: [1]
anything