Crack effect

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
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Crack effect

#1 Post 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.
I am a friendly user, please respect and have a good day.


Image

Image


User avatar
deltadidirac
Regular
Posts: 123
Joined: Fri Nov 30, 2018 5:00 am
Projects: Artworks and Comics
Tumblr: deltadidirac
Deviantart: Deltadidirac67
Location: Europe
Contact:

Re: Crack effect

#2 Post 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

User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: Crack effect

#3 Post by isobellesophia »

Thanks, i'll give it a try.
I am a friendly user, please respect and have a good day.


Image

Image


Post Reply

Who is online

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