X Tutup

Comments

Log in with itch.io to leave a comment.

Hello! This is amazing work you've done, thanks for making it available for free ;; I'm really hoping I'm no bothering you/asking a dumb question with this but I can't seem to get your script to work unfortunately? I've c/c the tutorial_transitions.rpy into my game folder, I can go through it no problems when I open the project's files, but when I test it and reach an animation my game crashes and tells me the parameters you've used aren't defined... Have I missed another file I was supposed to c/c? Do I need to import anything into my main script? Thanks, and sorry again!

Heya! Thanks for using this!

Can you show me the code in where this happens? I tested it myself but have no trouble using it.

Sure, I took screens : https://imgur.com/a/ZpgNf5o the tutorial_transitions.rpy is untouched, I've put it in my game folder and haven't tempered with it at all

I've started using Renpy about a month ago and still learning beginner level stuff so it's probably something very basic that eludes me :I I really appreciate you taking time to help, thank you very much!

Ahaha, I see the problem.
So when I defined transform ts_acBounce(), it has 4 parameters (stuff in parenthesis): dist, ts_speed, pt, rt

If the parameters already have a default value (so if they = something),  you don't have to rewrite it in the script unless you want to use a different values. Only dist requires a value since it doesn't equal anything. You can set dist to a default value if you want.

When you did at ts_acBounce(dist), Ren'Py is looking for a variable named dist,  but that doesn't exist of course since you didn't define it.

What you can do instead is this:

show angel at ts_acBounce(insert the number for how high you want the bounce to be)

There are examples of how to use the transforms at the bottom of the rpy file!
Hope that clears things up!

thankyou!!!

(+1)

Rotisserie chicken is diabolical behaviour

໒( • ͜ʖ • )७

these are really cool & useful!

thanks! (*´∀`*) ❤️ 

Thanks for these!

No problem! Hope ya enjoy em!

X Tutup