Basic ATL help for Contains Function
Posted: Sun Jul 12, 2020 1:56 am
So I'm trying to get this effect going (Look at the character sprite)
[youtube]https://youtu.be/oZ8ypHGkVNA[/youtube]
Please note that I'm a coding noob and I rely very heavily on tutorials to make things work.
This might not be the best way to handle the situation, but this is the code that I'm using. It works well enough but I have two fundamental problems.
Ze two problems
[youtube]https://youtu.be/oZ8ypHGkVNA[/youtube]
Please note that I'm a coding noob and I rely very heavily on tutorials to make things work.
This might not be the best way to handle the situation, but this is the code that I'm using. It works well enough but I have two fundamental problems.
Code: Select all
image dizzyy:
contains:
im.MatrixColor(
"rayne/rayne.png" ,
im.matrix.colorize("#f00", "#00f"))
easein 0.1 zoom 1.03
easeout 0.1 zoom 1.0
block:
easein 0.3 zoom 1.03 alpha 0.6
easeout 0.3 zoom 1.0 alpha 1.0
repeat
contains:
im.MatrixColor(
"rayne/rayne.png" ,
im.matrix.colorize("#0d2", "#02e"))
easein 0.05 zoom 1.02
easeout 0.05 zoom 1.0
block :
easein 0.4 zoom 1.02 alpha 1.0
easeout 0.4 zoom 1.0 alpha 0.5
repeat
contains :
"rayne"
alpha 0.2
easein 0.2 alpha 1.0
Ze two problems
- I want to potentially send a layered image as a function to the im.Matrix,Color . Right now, if I do it without specifying an image path it returns me an error saying the displayable is not defined.
- This image always appears in the same location. Even when I define "show dizzyy at right" it displays at the same place. Is there any way to overcome this?
- Would it be easier if I did the image color transforms in photoshop rather than in renpy itself?
- Is this an unnecessarily heavy code structure.