GithubHelp home page GithubHelp logo

dumbledore's Introduction

The Search for Dumbledore

An adventure game written in Scratch.

https://scratch.mit.edu/projects/224252447/

Instructions

Recommended browser: Google Chrome.

Click the green flag to start. Once the intro has finished, you can walk around by pressing arrow keys, pressing WASD keys, or clicking/touching the stage. There is no 'action' key; just walk up to objects, persons and creatures.

For those who feel this game is difficult: it can't be half as bad as Harry's ordeal in the Triwizard Tournament. But yes, it takes perseverance and sense of direction for anybody to complete this quest. Please feel free to help each other out in this forum topic: https://scratch.mit.edu/discuss/topic/342835/

Good luck, young wizard!

Notes and Credits

Design and programming by @heldlaw, June 2018 - September 2019.

Testers: @amyheldlaw @julieheldlaw

Inspired by characters created by J. K. Rowling.

Title screen

Graphics

  • All vector graphics made using Scratch's vector editor.
  • All bitmap graphics (title screen, office and room floor, spell pieces, some lighting effects) made using GIMP (www.gimp.org). Spell font: "Old English Text MT" (The Monotype Corporation plc).

Music

"impending atmosphere y18mi" by Setuniman.
https://freesound.org/people/Setuniman/sounds/132569/
Licensed under Attribution Noncommercial License.
https://creativecommons.org/licenses/by-nc/3.0/

"l'Apprenti Sorcier" (The Sorcerer's Apprentice)
Composed by Paul Abraham Dukas (1897)
Performed by Quinn Mason (2014)
Licensed under Creative Commons Attribution 4.0
https://imslp.org/wiki/IMSLP:Creative_Commons_Attribution_4.0
Downloaded from IMSLP
https://imslp.org/wiki/L%27Apprenti_Sorcier_(Dukas,_Paul)

Symphony No. 2 (Resurrection), 1st movement (Allegro maestoso)
Composed by Gustav Mahler (1888 - 1894)
Performed by the DuPage Symphony Orchestra, conducted by Barbara Schubert (2004)
Licensed under Creative Commons Attribution Share Alike 3.0
https://imslp.org/wiki/IMSLP:Creative_Commons_Attribution_Share_Alike_3.0
Downloaded from IMSLP
https://imslp.org/wiki/Symphony_No.2_(Mahler,_Gustav)

Sound effects

"lightning strike.wav" by parnellij.
https://freesound.org/people/parnellij/sounds/74892/
Licensed under Creative Commons 0 License.
https://creativecommons.org/publicdomain/zero/1.0/
Amplified and distorted using a 30 dB overdrive by SoX.
http://sox.sourceforge.net/

"Witch Laugh" by MadamVicious.
https://freesound.org/people/MadamVicious/sounds/223851/
Licensed under Creative Commons 0 License.
https://creativecommons.org/publicdomain/zero/1.0/

"Crash Cymbal" from Scratch's sound library.
Reversed using Scratch's sound editor.

"Laugh2" from Scratch's sound library.
Trimmed and made slower using Scratch's sound editor.

"Bonk", "Clang" and "Glass Breaking" from Scratch's sound library.

Ventus whirl sound effect generated using SoX:
http://sox.sourceforge.net/

Maze layout

The maze is infinite, but it repeats itself every 65536 x 65536 cells. It is procedurally generated by two simple 1-bit hash functions I invented with lots of experimentation. When standing in cell (x, y), then:

  • the wall to the south is determined by parity(563.x + 761.y)
  • the wall to the west is determined by parity(1409.x + 397.y)

In these formulas, parity(n) is the number of ones in the 16 least significant digits of the binary representation of n. When parity is even, the wall is open. When parity is odd, the wall is closed.

This algorithm results in a maze that is not a fully connected graph; about 10% of all cells are unreachable. But outside of those 'prisons', you can wander off in any direction as far as you like.

Tip: type "GPS" to see your coordinates.

Bugs

  • Background music may stutter as it is fading out, in particular on Firefox. This is caused by a Scratch 3.0 bug: https://scratch.mit.edu/discuss/topic/331200/
  • Stamped graphics (including some of the text balloons) look pixelated. Seems to be a Scratch 3.0 issue.
  • In Firefox, the game may slow down while the compass is on screen. Recommended to use Google Chrome instead.

Changelog

  • September 1, 2019: re-shared with patched maze layout and a 'savecode' feature.
  • April 10, 2019: un-shared to resolve 'symbol' dispute.
  • March 3, 2019: shared.

dumbledore's People

Contributors

helderman avatar

Watchers

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