How to get a crowd-walking-in-the-background anim-- [SOLVED]

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
User avatar
pyopyon
Veteran
Posts: 451
Joined: Thu Aug 29, 2013 4:35 am
Completed: https://chouette.itch.io/
Projects: Ocean Pearls, Catching the Fox [NaNo16], Singles
Organization: Jellyfish Parade
Tumblr: jelpiparade
Skype: miss.chouette
Soundcloud: pyopyon
itch: chouette
Contact:

How to get a crowd-walking-in-the-background anim-- [SOLVED]

#1 Post by pyopyon »

Full question: "How to get a crowd-walking-in-the-background animation?"

Hello, sorry if my question is a little vague in the topic, but basically, I played Katawa Shoujo and I noticed that there is a portion where they're walking in a crowd of basically shadow people whose faces you can't see--

I couldn't figure it out so I wanted to ask; is there a way to recreate this effect to imply that the characters are among many people, or must it be done by some sort of hand drawn animation?
Last edited by pyopyon on Thu Mar 13, 2014 7:24 am, edited 1 time in total.

User avatar
XxrenxX
Veteran
Posts: 267
Joined: Tue Oct 02, 2012 2:40 am
Projects: Chasing
Deviantart: bara-ettie
Location: Canada
Contact:

Re: How to get a crowd-walking-in-the-background animation?

#2 Post by XxrenxX »

I've never done this before but I have heard of people doing it. As far as I know you can't just use one image and add a filter, it's an animation. One thing I have seen is someone makes the 'shadow people' in say, flash and then just moves them around, saves the file as a gif or something else renpy supports and tada, moving background. There's some background artists in the recruitment part of the thread, it may be best to find one that does it and ask them if they have an answer. Sorry I can't help more =p You can do something like this in photoshop as well.

User avatar
Donmai
Eileen-Class Veteran
Posts: 1960
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: How to get a crowd-walking-in-the-background animation?

#3 Post by Donmai »

Hi, pyopyon. I've seen some old threads here in this forum named "How to recreate the xyz effect in the xyz game" or something like that... Today they are not very common. Of course, copying other people ideas is a bad idea in itself but, when we are learning, I believe it's okay.

It seems that "walking crowd" is a simple animation. The original code is certainly much better than my humble effort. When we become coding experts, in the future, we could always improve it. My idea is to declare an image as an ATL block. You will need three or four different images of the crowd. Then we create this code:

Code: Select all

image walking_crowd:
    "crowd1.png" with Dissolve(0.6, alpha = True) # shows the image with a transition
    0.8 # a pause of 0.8 sec before the next image
    "crowd2.png" with Dissolve(0.6, alpha = True) # alpha=True to preserve transparency
    0.8
    "crowd3.png" with Dissolve(0.6, alpha = True)
    0.8
    repeat # creates a loop
I've created a small demo showing how to make characters appear in front and behind the "crowd". Just unzip it to your projects folder an run it from the launcher.
Attachments
Walking Crowd Demo.zip
(718.79 KiB) Downloaded 78 times
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

User avatar
pyopyon
Veteran
Posts: 451
Joined: Thu Aug 29, 2013 4:35 am
Completed: https://chouette.itch.io/
Projects: Ocean Pearls, Catching the Fox [NaNo16], Singles
Organization: Jellyfish Parade
Tumblr: jelpiparade
Skype: miss.chouette
Soundcloud: pyopyon
itch: chouette
Contact:

Re: How to get a crowd-walking-in-the-background animation?

#4 Post by pyopyon »

I'm sorry- it seems that I forgot to say thank you!! Sorry about that.

I really appreciate it- it's totally improved the feel of the VN.
Image ImageImage

WiP: Image

✿ Writer for Trade/Commission ✿

Unin
Regular
Posts: 54
Joined: Wed Sep 01, 2010 8:08 pm
Location: Florida
Contact:

Re: How to get a crowd-walking-in-the-background animation?

#5 Post by Unin »

If you don't feel like making any new art, and your game has a bunch of different characters, you could just throw their sprites in the background and grey them out with an image matrix. Probably pretty processor intensive though.

http://www.renpy.org/wiki/renpy/doc/coo ... silhouette

Crazy Li
Regular
Posts: 113
Joined: Fri Jan 03, 2014 3:35 pm
Contact:

Re: How to get a crowd-walking-in-the-background animation?

#6 Post by Crazy Li »

Unin wrote:If you don't feel like making any new art, and your game has a bunch of different characters, you could just throw their sprites in the background and grey them out with an image matrix. Probably pretty processor intensive though.

http://www.renpy.org/wiki/renpy/doc/coo ... silhouette
I wonder if it would use less resources to just use an image editor to do the same thing and make true silhouette images...

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot]