|
|
|
|
Permalink |
Email this |
Linking Blogs
| Digg It!
Bookmark / Find this article on: |
|
5 Comments
|
ohoho merry christmas...
NICE VERY VERY NICE :)
this is REALLY complicated and unnessisary.
do it like this:
myanim = Anim.load("frame",5,".png")
while true do
screen:clear()
myanim:blit(100,100)
screen.flip()
end
and you could have myanim:time() and myanim:reset() as usual, but seriously everything else is just more complications. this library is for people new at lua and dont know how to do animations on their own, so make it simple ;)
I forgot delay....
myanim + Anim.load("frame",5,".png",100)
so that would be the begining of the file name, number of files, the extension, and the delay.
simple enough, eh?
are you on crack? thats exactly what it does. lol , you didnt even look at the code. smart.
You can always do a #define ANIM SS :)
|
QJ.NET Blog Network |
|
| MyQJ | Feed / PDA |
| MyQJ | RSS / PDA |
| Blog of Blogs | Feed / PDA |
| QJ.NET | RSS / PDA |
| Gaming Consoles | Feed / PDA |
| Nintendo DS | RSS / PDA |
| PlayStation 3 | RSS / PDA |
| PSP Updates | RSS / PDA |
| Wii | RSS / PDA |
| Xbox 360 | RSS / PDA |
| PC Gaming | Feed / PDA |
| Age of Conan | RSS / PDA |
| Games for Windows | RSS / PDA |
| MMORPG | RSS / PDA |
| Tabula Rasa | RSS / PDA |
| World of Warcraft | RSS / PDA |
| Science | Feed / PDA |
| Science | RSS / PDA |
| Technology | Feed / PDA |
| Apple | RSS / PDA |
| Gadgets | RSS / PDA |
| Mobile | RSS / PDA |
| Photography | RSS / PDA |
| Tech | RSS / PDA |
| Most Commented | |
| (86) | |
| (81) | |
| (77) | |
| (65) | |
| (63) | |
| (43) | |
| (41) | |
| (39) | |
| (37) | |
| (34) | |
| (33) | |
| (32) | |
| (29) | |
| (28) | |
| (24) | |
| (24) | |
| (23) | |
| (21) | |
| (19) | |
| (19) | |
Apple
(3184)E3
(650)Gadgets
(3640)Games for Windows
(5976)MMORPG
(7679)Mobile
(2786)News
(848)Nintendo DS
(7064)Opinions & Analysis
(78)Photography
(446)PlayStation 3
(13205)PSP
(13421)Rumors
(168)Science
(2786)Site News
(45)Tabula Rasa
(419)Wii
(11699)World of Warcraft
(3695)Xbox 360
(14940)
Archives
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
May 2005




