can I make image to ATL differently depending on music track position?

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
SONTSE
Regular
Posts: 96
Joined: Sun Nov 24, 2013 10:49 pm
Completed: 11 VN's so far
Discord: jkx0282_10798
Contact:

can I make image to ATL differently depending on music track position?

#1 Post by SONTSE »

Let's say I have two transforms - transform1 and transform2.
I need my image1 to behave according to transform2 in certain part of currently playing music track
(e.g between 10 and 20 seconds), and transform1 otherwise.
Can i do it using basic ATL tool set?
I noticed there are lot of cool features added recently, so i'm still on my way studying it.
It would be nice if there is a neat way to do it, not the ugly kludges I usually do ^^'''''

upd: just declared each desired states as images and them merged them via ConditionSwitch() measuring renpy.music.get_pos(). Does the job and not that ugly for my tastes. But maybe there is a pure ATL solution. Kinda addicted to its syntactic sugar. ^__^

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot]