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

Pages: [1]
1
General / Obfuscating Ruby
« on: December 17, 2007, 05:22:42 pm »
I tried out the Ruby bindings for SFML the other day and they work very well.  The language seems rather easy to use to!

My only concern is that, judging by what I've read, there's no way to hide the Ruby source code.  I'd rather not have someone tooling around the source for the games I make.

So does anyone know if there is a way to obfuscate, encrypt, or hide the source for the Ruby files?

2
Graphics / Is there a way to flip a sprite on the x or y axis?
« on: October 05, 2007, 05:06:40 am »
Happy to hear your considering it :)

3
Graphics / Is there a way to flip a sprite on the x or y axis?
« on: October 04, 2007, 02:05:46 pm »
I was wondering if there is a way to flip a sprite on the x or y axis.  For example, if the image of a sprite appeared to be facing left, is there a way to flip it on the x axis to make it appear to be facing right?

I looked through the documentation to see if I could invert the x or y scale, but it states that a sprite's scale values must be strictly positive.

I know how to do it by setting a quad and scaling it in OpenGL, but I was wondering if SFML was capable of doing it.

4
Graphics / Blit from one sprite onto another
« on: September 01, 2007, 01:53:47 am »
Well, I was originally going to have a smaller sprite blit to a larger sprite and then rotate and blit the larger sprite on the screen.  However, I think I might be able to do it just by blitting the sprites to the screen after making the proper adjustments to their position.

5
Graphics / Blit from one sprite onto another
« on: August 31, 2007, 02:59:09 pm »
I didn't see this anywhere in the documentation.  Is there a way to blit one sprite onto another?

Say I loaded two images and have two sprites that use those images respectively.  What would I have to do to get the first sprite to render onto second sprite and then display the second sprite onto the screen?

Pages: [1]
anything