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

Pages: [1]
1
Graphics / Sprite sheet animation - Am I going about it okay?
« on: October 17, 2011, 01:36:13 pm »
Quote
By different layout do you mean animations with different amounts of frames in one spritesheet?


Yes, and different dispositions (vertical, horizontal). For example, with this spritesheet : http://img2.smackjeeves.com/images/uploaded/comics/7/8/78bc6b62fEySW.gif you have multiple animations in the same image, with differents size and amount of frames.

The goal is to create multiple animations with one spritesheep, by specifying all subrects of each animation.

But this is my opinion, it depends on your needs
 :wink:

2
Graphics / Sprite sheet animation - Am I going about it okay?
« on: October 16, 2011, 10:09:31 am »
I think that your class isn't very flexible...

for my part, I have already implemented this type of class (in python),  and I prefer give a list of subrect (std:List<IntRect>) to the constructor, in order to handle different layout in my animation image. And this allow you to put several animations in the same spriteSheet.

after that, I create a vector of sprite inside my class, each correspond to a different SubRect, and I simply iterate over it for make my animation.

Excuse my bad english  :wink:

3
Python / pysfml2-cython
« on: October 14, 2011, 09:37:24 am »
Hello,

1.Personnaly I like to use Eclipse with PyDev plugin. You can benefit of all functionalities of eclipse and it's a multi-platform IDE.
Moreover, pydev debugger works well.

2.PyInstaller is a software that allow to create exe file with all that you need, for multiple target (windows, linux, osx...) so you don't need to have python installed on your computer, but I didn't try.

Pages: [1]