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

Pages: [1]
1
Graphics / Re: [thor] Particle System in class
« on: January 06, 2013, 07:21:41 pm »
Thanks for help. Now it's working  :)

2
Graphics / Re: [thor] Particle System in class
« on: January 06, 2013, 02:04:49 pm »
Here's code in main: http://pastebin.com/FiCU6iQG. Working without a problem.

Texture is loading correctly, Player.texture and Player.System.mTexture have the same address, but after debuging in class-code I found out that System.mTextureRect has width and height set to 0 unlike in main-code.

3
Graphics / [thor] Particle System in class
« on: January 06, 2013, 12:37:59 am »
Hello
I tried to refactor simple code in order to use classes. When the all code was in main function, everything worked. Now it does comile, but it doesn't show particle. I don't know where's a problem but, I think it's related to texture loading. Can any one help me?

Here's code: http://pastebin.com/xs9NCRwB
I'm using sfml2 and thor2.

Pages: [1]
anything