Giter Site home page Giter Site logo

beat-witch's Introduction

Beat Witch

An Interactive Loneliness By Robert Patten

Beat Witch cover image

This is the source code for Beat Witch, a horror text adventure (interactive fiction) that involves a mysterious plague, music that can kill you, and the undead. It was an entry in IFComp 2023.

It is being released primarily to help other Inform authors, though it's not supposed to be a shining example of great code. It's quite hacky in some parts.

A big issue I ran into was that when I was coding the game was that the online interpreters (Parchment/Quixe and by extension Lectrote) did not support sound. (They may by the time you read this.) I used Vorple to get around the issue, and other Inform coders may be curious at how I got sound to work in traditional interpreters and the browser at the same time. See the code under the Book Music heading in the story.ni file.

However, as of this date, Brian Rushton's Bisquixe is probably the better option for adding sounds for online play. (Reasons: Vorple has scrolling issues, in 2023 wouldn't produce IFComp's player transcripts, and Bisquixe is closer to standard interpreter behavior, as far as I understand.) Bisquixe was not available when I created Beat Witch. I really should move everything over to it, but Vorple is tightly coupled with this code, so it will take some effort to do so.

Players who want to find out more about the beat witch world or the author's deranged thought processes may also find the source code interesting. If you haven't played through Beat Witch at least once, come back after you have done so.

The main source code file is Beat Witch.inform/Source/story.ni. It was compiled with Inform 7 version 9.3 (6M62).

You can find the latest playable version of the game (online or download) here.

Legal stuff

You are free to use selections of this code and adapt them for personal or commercial projects. But I am not releasing the characters, world, story, etc., for public use here -- just the code.

I have also included music. This is for people intending to experiment and compile the story on their own. You are also welcome to download it for your personal use only. See the credits in the help menu for more information on the music, as well as the sound effects (which I did not produce).

Extensions I used are included as well. While these are all publicly available, please respect the rights of the respective authors.

--Robert Patten

A Basement in Idaho

April 1, 2024

beat-witch's People

Contributors

pat10 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.