Guest User

Ren'py Snippet

a guest
Oct 22nd, 2020
31
185 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # The script of the game goes in this file.
  2.  
  3. # Declare characters used by this game. The color argument colorizes the
  4. # name of the character.
  5.  
  6. image sylvie talking:
  7. "sylvie blue surprised (open).png"
  8. pause .25
  9. "sylvie blue surprised.png"
  10. pause .25
  11. repeat
  12. image sylvie static = "sylvie blue surprised.png"
  13.  
  14. init python:
  15. def lip_flaps(event, **kwargs):
  16. if event == "slow_done":
  17. renpy.show("sylvie static")
  18. renpy.music.stop(channel="voice")
  19. else:
  20. renpy.show("sylvie talking")
  21. renpy.music.play("audio/beeps.wav", channel="voice", loop=True)
  22.  
  23.  
  24. define s = Character("Sylvie", callback=lip_flaps)
  25. # The game starts here.
  26.  
  27. label start:
  28.  
  29. # Show a background. This uses a placeholder by default, but you can
  30. # add a file (named either "bg room.png" or "bg room.jpg") to the
  31. # images directory to show it.
  32.  
  33. scene bg room
  34.  
  35. # This shows a character sprite. A placeholder is used, but you can
  36. # replace it by adding a file named "eileen happy.png" to the images
  37. # directory.
  38.  
  39. # These display lines of dialogue.
  40.  
  41. s "{w=0.0}{cps=40}Wait,{w=0.1} if that's what I think you mean...{/cps}{w=0.5}{cps=60} Oh no!{/cps}"
  42. s "{w=0.0}{cps=40}Are{w=0.5} you{w=0.5} serious?!{/cps}{w=0.0}"
  43. # This ends the game.
  44.  
  45. return
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×