Coder Social home page Coder Social logo

awsw-dumb-ways-to-die-collab's Introduction

AwSW Dumb Ways to Die Mod

Publicly available core methods:

  • call screen dwtd_qte("QTE_ACTION") - Use to display a button the player must click within a certain amount of time. Second argument can be a floating point number of seconds, default 1.0.
  • if not dwtd.check_keypoint("KEYPOINT"): - If this if statement triggers, the player is trying to cheese a Hardcore save. Force their death, maybe with a message from system.
    • KEYPOINT argument values. Give the keypoint that happened most recently before your scene, e.g. 'C1_CHARACTER_SELECT' for a death in Remy1.
      • 'C1' - Literally just started the game.
      • 'C1_FOUND_LEMON' - Found the lemon in the pantry
      • 'C1_CHARACTER_SELECT' - Made it to choosing a character in Chapter 1
      • 'C2' - Made it to Chapter 2 title card
      • 'C2_CHARACTER_SELECT' - Made it to choosing a character in Chapter 2
      • 'C3' - Made it to Chapter 3 title card
      • 'C3_CHARACTER_SELECT' - Made it to choosing a character in Chapter 3
      • 'C4' - Made it to Chapter 4 title card
      • 'C4_CHARACTER_SELECT' - Made it to choosing a character in Chapter 4
      • 'C5' - Made it to Chapter 5 title card
  • show dwtd_youdied_text - Display the "You Died" comic sans text to tell the player what the hell's going on.
  • dwtd.deathsound(sound_number,sound_playtime) - Play a sound, often done while showing the "You Died" text, for tonal consistency.
    • sound_number - How many "booms" in the sound. No consistent direction.
    • sound_playtime - Fadeout time of the booms, as they're almost universally too long. It's recommended to follow this statement with renpy.pause() of equivalent time to let things really sink in for the player.
  • call dwtd_youdied("Name of death","CAUSE OF DEATH") - End of a death path. Displays "CAUSE OF DEATH" as read by system, then opens a menu screen to load, mainmenu, or quit.

awsw-dumb-ways-to-die-collab's People

Contributors

4onen avatar bananagram avatar eval427 avatar joeyjumper94 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.