Luke Paireepinart ha scritto:
So I'd like to know:
- Should I learn sprites or can I just learn surfaces? I'd like
to have
(or at least plan to support in the future) some (very simple)
animation, like the tile rotation when asked to rotate it, or a fast
movement of the tile into the board. Can I make it just with
rectangles
or do I need sprites?
I'll preface this with "huh?"
what do you mean "the tile rotation when asked to rotate it?"
Sorry. It was late in the night and I was getting sleepy...
Once a tile pops out from the random sample, I assume it will be
showed,
but the user will want to rotate it, often, before placing it in the
board. What would be nice is to have the rotation not to be completely
instantaneous, but to actually see the tile rotate somehow smoothly.
It is that kind of details I won't enter into for a LOT of time, and
probably never. But programming other projects teached me that
planning
in advance for flexibility in adding features is good (I spent painful
days refactoring a data analysis application in my lab...) , so if
sprites allow this and more, I'd start directly with sprites when
planning graphics.