Page 1 of 1

Crack effect

Posted: Wed Dec 11, 2019 2:44 am
by isobellesophia
Hello everyone.

I dont think somebody can answer this but, is it possible to add a crack effect in game in Renpy?
Like for example.. when the crack effect is on, the screen will shake and the screen in game will had the same effect as what does the crack do. If there is no code, any crack examples will do, if they had, mind sharing the code.


And i dont think ATL can do, pretty much different i think.

Thanks for who can help.
Sry for bd english.

Re: Crack effect

Posted: Wed Dec 11, 2019 3:44 am
by deltadidirac
Hi
If your intention is to give a broken glass effect with an earthquake movement of the whole scene, then you could simply create a completely transparent .png file only with the "fracture" line image and then use the vpunch command.

Code: Select all

label my_label:
      scene your_background with vpunch
      show broken_glass with vpunch
      "Oh my God!.... "
      return
bye

Re: Crack effect

Posted: Wed Dec 11, 2019 4:29 am
by isobellesophia
Thanks, i'll give it a try.