Help! Grey Sprite appearing in animation!

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
RanliLabz
Newbie
Posts: 11
Joined: Sat Dec 08, 2018 2:06 pm
Contact:

Help! Grey Sprite appearing in animation!

#1 Post by RanliLabz »

Help! When I enter the following code, a pesky grey sprite appears for a microsecond at the 'show an animation' line and ruins the shot.

Code: Select all

show computer1 with Pixellate(2,6)
cr "My pleasure!"
window hide
show an animation:
    "images/gui/Computer/computer2.png" with Dissolve(0.2, alpha=False)
    pause 0.75
    "images/gui/Computer/computer3.png" with Dissolve(0.2, alpha=False)
    pause 0.75
    "images/gui/Computer/computer2.png" with Dissolve(0.2, alpha=False)
    pause 0.75
    "images/gui/Computer/computer1.png" with Dissolve(0.2, alpha=False)
    pause 0.75
    repeat
pause
"You" "Thanks!"
If I remove the Dissolve transforms, the grey sprite doesn't appear... but I need dissolves to make the animation smoother. I'm sure I'm just missing something insanely obvious - hopefully someone can help me out!
Last edited by RanliLabz on Wed Dec 12, 2018 8:07 pm, edited 1 time in total.

User avatar
Per K Grok
Miko-Class Veteran
Posts: 882
Joined: Fri May 18, 2018 1:02 am
Completed: the Ghost Pilot, Sea of Lost Ships, Bubbles and the Pterodactyls, Defenders of Adacan Part 1-3, the Phantom Flyer
itch: per-k-grok
Location: Sverige
Contact:

Re: Grey Sprite appearing in animation!

#2 Post by Per K Grok »

RanliLabz wrote: Tue Dec 11, 2018 1:03 pm Help! When I enter the following code, a pesky grey sprite appears for a microsecond at the 'show an animation' line and ruins the shot.

Code: Select all

show computer1 with Pixellate(2,6)
cr "My pleasure!"
window hide
show an animation:
    "images/gui/Computer/computer2.png" with Dissolve(0.2, alpha=False)
    pause 0.75
    "images/gui/Computer/computer3.png" with Dissolve(0.2, alpha=False)
    pause 0.75
    "images/gui/Computer/computer2.png" with Dissolve(0.2, alpha=False)
    pause 0.75
    "images/gui/Computer/computer1.png" with Dissolve(0.2, alpha=False)
    pause 0.75
    repeat
pause
"You" "Thanks!"
If I remove the Dissolve transforms, the grey sprite doesn't appear... but I need dissolves to make the animation smoother. I'm sure I'm just missing something insanely obvious - hopefully someone can help me out!
Have you tried with alpha=True?

RanliLabz
Newbie
Posts: 11
Joined: Sat Dec 08, 2018 2:06 pm
Contact:

Re: Grey Sprite appearing in animation!

#3 Post by RanliLabz »

Per K Grok wrote: Tue Dec 11, 2018 6:45 pm Have you tried with alpha=True?
Tried it, but it didn't fix the problem.

Post Reply

Who is online

Users browsing this forum: Google [Bot]