![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on Grr... within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Since Lua doesnt support freaken Gif Does anyone know of an animated gif to png converter? That keeps the animation ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() |
Since Lua doesnt support freaken Gif
Does anyone know of an animated gif to png converter? That keeps the animation goin? Im using a program called pivot to make my gifs and it doesnt allow me to save as png so yeah...and its super easy to use unlike official gif animators, so yeah.... |
|
|
|
|
|
#3 |
![]() ![]() Tha Sigerator
|
wait.do u want the .png to show as an animation? if so then i won't worrk...
you would have to code the "animation or whatever... but u can change a .gif and view all it's frames in macromedia fireworks 8
__________________
- - - - Somewhere Lurking in THA SHADOWS - - - -
|
|
|
|
|
|
#4 | |
![]() |
Quote:
2.) I'm not sure if png's can be animated. |
|
|
|
|
|
|
#5 |
![]() |
Nooo, what I want is to convert an animated gif to png, and the png wont be a still image, but still be animated like the gif
If pngs cant be animated then how are you suppose to get animated things in lua games? And just google search pivot, its super easy to use. |
|
|
|
|
|
#6 | |
![]() ![]() Tha Sigerator
|
Quote:
to do aimations in lua u gotta code it urself.
__________________
- - - - Somewhere Lurking in THA SHADOWS - - - -
|
|
|
|
|
|
|
#8 |
![]() |
Yeah, what you are looking for is converting an animated .gif to a png sequence. Then you'll have to use each image as a "frame" for your animation. Load them all into an array and loop through it.
This may help if you need some guidance: http://www.psp-programming.com/dev-f...ight=animation
__________________
[url=http://www.barbdwyer.com/footer.php][img]http://www.barbdwyer.com/8Ball.jpg[/img][/url] [FONT=Verdana][SIZE=1] [b]PSP Developer Resource Site:[/b] [url=http://www.psp-programming.com]PSP-Programming.com[/url] [b]Other:[/b] [url=http://wake-boarding.org]Wakeboarding[/url], [url=http://water-skiing.org]Waterskiing[/url], [url=http://wake-surfing.org]Wake Surfing[/url], [url=http://www.guitarhero-4.com]Guitar Hero IV[/url][/SIZE][/FONT] |
|
|
|
|
|
#9 |
![]() ![]() Tha Sigerator
|
here's a 3 frame animation loop
Code:
sprite[1] = Image.load("blah")
sprite[2] = Image.load("blah")
sprite[3] = Image.load("blah")
x = 1
while true do
x = x + 1
screen:blit(0,0,sprite[x])
if x == 3 then
x = 1
end
screen.waitVblankStart(de lay between each frame)
screen.flip()
end
__________________
- - - - Somewhere Lurking in THA SHADOWS - - - -
|
|
|
|
|
|
#10 |
![]() ![]() 73|-| m4573r poker
|
|
|
|
|
|
|
#12 |
![]() |
Unfortunately gif is a proprietary format, just like mp3.
__________________
[url=http://www.barbdwyer.com/footer.php][img]http://www.barbdwyer.com/8Ball.jpg[/img][/url] [FONT=Verdana][SIZE=1] [b]PSP Developer Resource Site:[/b] [url=http://www.psp-programming.com]PSP-Programming.com[/url] [b]Other:[/b] [url=http://wake-boarding.org]Wakeboarding[/url], [url=http://water-skiing.org]Waterskiing[/url], [url=http://wake-surfing.org]Wake Surfing[/url], [url=http://www.guitarhero-4.com]Guitar Hero IV[/url][/SIZE][/FONT] |
|
|
|
|
|
#14 |
![]() ![]() Tha Sigerator
|
Proprietary formats are developed by software companies in order to encode data produced by their applications: only the software produced by a company who owns the specification of a file format will be able to read correctly and completely the data contained in this file.
.....gif = proprietary .....png = open format
__________________
- - - - Somewhere Lurking in THA SHADOWS - - - -
|
|
|
|
|
|
#15 | |
|
Guest
Posts: n/a
|
Quote:
|
|
|
|
|
#16 | |
![]() ![]() Tha Sigerator
|
Quote:
ok so i googled
__________________
- - - - Somewhere Lurking in THA SHADOWS - - - -
|
|
|
|
|
|
|
#19 | |
![]() ![]() ...in a dream...
|
Quote:
__________________
...you'll never know what it's like... spending your whole life in a dream...
Launch a Kitten out of a Cannon and win real cash! Checkout my newly updated site for all my projects (Kitten Cannon, BOXHEAD, Light Cycle 3D) |
|
|
|
|
|
|
#20 |
![]() |
Code:
duh = Timer.new()
duh2 = duh:time()
duh:start()
sprite[1] = Image.load("blah")
sprite[2] = Image.load("blah")
sprite[3] = Image.load("blah")
x = 1
a = 1
while true do
if duh2 == 100 then
x = x + a
duh:reset(0)
end
if x == 3 then
x = 1
end
screen:blit(0,0,sprite[x])
|
|
|
|
|
|
#21 | |
![]() ![]() total-Z
|
Quote:
I was actually going to create APNGs to be used with animationlib, but a google search turns out they actually exist..with the same extension! http://en.wikipedia.org/wiki/APNG
__________________
牧来栠摩琠敨映汩獥PSN: youresam From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth |
|
|
|
|
|
|
#22 | |
![]() ![]() Your Fate is Grim...
|
Quote:
__________________
-------------------------------------------------------------------------------------- ![]() |
|
|
|
|
|
|
#23 | |
![]() ![]() total-Z
|
Quote:
![]() (This smily pretty much answers your question)
__________________
牧来栠摩琠敨映汩獥PSN: youresam From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth |
|
|
|
|
![]() |
| Tags |
| grr |
| Thread Tools | |
|
|