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

Pages: [1]
1
Feature requests / Colorkeys for Drawables
« on: March 27, 2008, 04:55:38 pm »
Im using bitmaps because I already have a big collection of bitmaps.

But you are right, I should convert them into newer formats.
But I will give sf::Image::CreateMaskFromColor a try.

2
Feature requests / Colorkeys for Drawables
« on: March 27, 2008, 02:23:07 pm »
I would like to have the possibility to set colorkeys to Drawables.
In SDL you can set a colorkey on Surfaces and every pixel which is colored like the set colorkey is not rendered when blitting the surface (so this pixels are transparent).
So you can draw Sprites in any form with a rectangular Image. I did not find this possibility in SFML.

I have many bitmaps with violet (255, 0, 255) backgrounds which I used in SDL. If I want to use them with SFML I don't know how to make the background unvisible.

whouldnt that be a very usefull feature?

3
Feature requests / bool sf::Sprite::CheckCollosion(Sprite param)
« on: March 20, 2008, 03:48:18 pm »
OK, thanks for information :D

4
Feature requests / bool sf::Sprite::CheckCollosion(Sprite param)
« on: March 20, 2008, 01:12:41 pm »
I would like to have a simple method for collision detection just like shown above.
I know it's better to implement collision detection by myself, but i think collision detection is a often used operation with Sprite's, so why don't implement a method, or more, into the Sprite class?
There could be some different methods with different precisions, like pixelwise, rectangular, ...
I whould like to use this methods while writing my games, and if I see my game works, I can still implement my own collision detection for my specific needs.
What do you think about it?

And execuse my bad school english, I have to work on it :oops:

Pages: [1]
anything