effects questions...

A place to discuss things that aren't specific to any one creator or game.
Forum rules
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
Post Reply
Message
Author
Ace92
Regular
Posts: 34
Joined: Sun Mar 29, 2009 9:19 am
Contact:

effects questions...

#1 Post by Ace92 »

i have to questions about the code of two effects i want to create...
1)what's the code if i want a dizzy sight effect( a unfocused sight + moving a little bit of the screen)
2)what's the code if i want a heartbeat effect( the screen getting in and out a little bit like a heartbeat + a sound of the heartbeat)
p.s
i tried alone didn't get much far :S

thank you very much!! (:

JinzouTamashii
Eileen-Class Veteran
Posts: 1686
Joined: Mon Sep 21, 2009 8:03 pm
Projects: E-mail me if you wanna rock the planet
Location: USA
Contact:

Re: effects questions...

#2 Post by JinzouTamashii »

Don't worry, we can get through it together. I didn't forget about you! I just got overwhelmed.
https://cherylitou.wordpress.com

Ace92
Regular
Posts: 34
Joined: Sun Mar 29, 2009 9:19 am
Contact:

Re: effects questions...

#3 Post by Ace92 »

thank for the replay (:
the first link is very helpful!
but for the heartbeat i want to make the screen shake/beat-like at the same time of the heartbeat audio, any suggestions?? :D
thank you!

User avatar
Alex
Lemma-Class Veteran
Posts: 3094
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: effects questions...

#4 Post by Alex »

Hm, try ATL..., like

Code: Select all

init:
    image bg = Image ("background.png")

label start:

    play music "heartbeat.wav"
    scene bg:
        xalign .5, yalign .5
        linear 0.2 zoom (1.03)
        linear 0.1 zoom (1.0)
        0.7
        repeat
    "heartbeat effect is on..."
    stop music
    scene bg
    "...is off"
Try to play with zoom rate and time periods.

JinzouTamashii
Eileen-Class Veteran
Posts: 1686
Joined: Mon Sep 21, 2009 8:03 pm
Projects: E-mail me if you wanna rock the planet
Location: USA
Contact:

Re: effects questions...

#5 Post by JinzouTamashii »

Shaking:

Code: Select all

with hpunch
with vpunch
Can someone add this to the above code and put the whole thing into the Cookbook Wiki please?
Don't worry, we can get through it together. I didn't forget about you! I just got overwhelmed.
https://cherylitou.wordpress.com

Post Reply

Who is online

Users browsing this forum: No registered users