Png animation problem

Questions, skill improvement, and respectful critique involving art assets.
Post Reply
Message
Author
User avatar
zankizuna
Veteran
Posts: 416
Joined: Fri May 04, 2012 2:20 am
Completed: Monochrome Valentine
Projects: Softwar
Deviantart: raseru09
itch: ZanKizuna
Location: Manilaaaaaaaa
Contact:

Png animation problem

#1 Post by zankizuna »

Helpp...!
I've been trying to animate my Battle sprites for testing but
there has been a problem.. Black backround appears when I animate it,
(y'know, just like when using non-png files, when saved, gets white background)
but when I use it unanimated- ly I get the results I want, normal... except it's not animated..
Attachments
sft1-3.png
sft1-3.png (16.28 KiB) Viewed 2445 times
sft1-2.png
sft1-2.png (18.06 KiB) Viewed 2445 times
sft1.png
sft1.png (17.34 KiB) Viewed 2445 times

User avatar
bunbun
Regular
Posts: 140
Joined: Mon Jun 11, 2012 10:54 pm
Contact:

Re: Png animation problem

#2 Post by bunbun »

Firstly what program do you use to animate? And in what format would you like to save it into?Gif file?
WIPS
Image

User avatar
zankizuna
Veteran
Posts: 416
Joined: Fri May 04, 2012 2:20 am
Completed: Monochrome Valentine
Projects: Softwar
Deviantart: raseru09
itch: ZanKizuna
Location: Manilaaaaaaaa
Contact:

Re: Png animation problem

#3 Post by zankizuna »

bunbun wrote:Firstly what program do you use to animate? And in what format would you like to save it into?Gif file?
I don't use gif coz this is ren'py I'm using. Ren'py doesn't support Gif.
I'm using Ren'py's animation code.

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Png animation problem

#4 Post by nyaatrap »

How does your code look like? The images seems fine.

User avatar
zankizuna
Veteran
Posts: 416
Joined: Fri May 04, 2012 2:20 am
Completed: Monochrome Valentine
Projects: Softwar
Deviantart: raseru09
itch: ZanKizuna
Location: Manilaaaaaaaa
Contact:

Re: Png animation problem

#5 Post by zankizuna »

Code: Select all

image breezeswdatk:
 "Breeze/Battle/sft1.png"
 xalign 0.0
 yalign 0.0 
 pause .5
 "Breeze/Battle/sft1-2.png"
 xalign 0.0
 yalign 0.0 
 pause .5
 "Breeze/Battle/sft1-3.png"
 xalign 0.0
 yalign 0.0 
label start:
    show breezeswdatk
I tried it once again, looked fine, guess I've solved the problem :D

tuna_sushi
Veteran
Posts: 299
Joined: Thu Jul 07, 2011 9:33 am
Projects: BloomingBlossoms
Contact:

Re: Png animation problem

#6 Post by tuna_sushi »

Try cutting all the "xalign" and "yalign" It doesn't move anyway, right?

Code: Select all

image breezeswdatk:
    "Breeze/Battle/sft1.png"
    pause .5
    "Breeze/Battle/sft1-2.png"
    pause .5
    "Breeze/Battle/sft1-3.png"
label start:
    show breezeswdatk

User avatar
Samu-kun
King of Moé
Posts: 2262
Joined: Mon Sep 03, 2007 3:49 pm
Organization: Love in Space Inc
Location: United States
Contact:

Re: Png animation problem

#7 Post by Samu-kun »

As far as I know, I think this is a underlying bug in renpy, so there's no way you can animate it in that manner. You should move the topic to the renpy code section so Pytom can see it.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Png animation problem

#8 Post by PyTom »

If you think it's a Ren'Py bug, please put together a short game demonstrating the problem, and I'll look into it.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
Samu-kun
King of Moé
Posts: 2262
Joined: Mon Sep 03, 2007 3:49 pm
Organization: Love in Space Inc
Location: United States
Contact:

Re: Png animation problem

#9 Post by Samu-kun »

The same thing happened when I was trying to animate Nonami doing stretching exercises in Homeward using two .png's through similar code. I told you about it on IRC and you told me back then that renpy couldn't animate a series of .png with transparency.

User avatar
zankizuna
Veteran
Posts: 416
Joined: Fri May 04, 2012 2:20 am
Completed: Monochrome Valentine
Projects: Softwar
Deviantart: raseru09
itch: ZanKizuna
Location: Manilaaaaaaaa
Contact:

Re: Png animation problem

#10 Post by zankizuna »

I think the problem with mine before was that I added
with dissolve before, I and then that problem happens, black bg..!
can we conclude that adding effects like these is bound to become like this?

dhussey111
Regular
Posts: 33
Joined: Tue Jul 17, 2012 1:14 pm
Contact:

Re: Png animation problem

#11 Post by dhussey111 »

the images are really nice it will make a good animation :)

User avatar
zankizuna
Veteran
Posts: 416
Joined: Fri May 04, 2012 2:20 am
Completed: Monochrome Valentine
Projects: Softwar
Deviantart: raseru09
itch: ZanKizuna
Location: Manilaaaaaaaa
Contact:

Re: Png animation problem

#12 Post by zankizuna »

dhussey111 wrote:the images are really nice it will make a good animation :)
Thanks very much I feel like a pro now! sorry if I'm too proud

dhussey111
Regular
Posts: 33
Joined: Tue Jul 17, 2012 1:14 pm
Contact:

Re: Png animation problem

#13 Post by dhussey111 »

it ok you should be proud.. :wink:

Post Reply

Who is online

Users browsing this forum: No registered users