diff --git a/.gitignore b/.gitignore index 4523dc5..859ca63 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ pyvenv.cfg lib/python* stat/ www/scrapeboard_new.gif +*.backup diff --git a/Scrapeboard_Builder's_Manual.md b/Scrapeboard_Builder's_Manual.md index 8415199..c00da5c 100644 --- a/Scrapeboard_Builder's_Manual.md +++ b/Scrapeboard_Builder's_Manual.md @@ -27,11 +27,11 @@ History Scrapeboard started in 2017 as a side project of the STORE 2 exhibition at [Babycastles](https://babycastles.com), which Frank, Blake, and Clement, the creators of Scrapeboard, worked on, along with curator Mushbuh and a team of volunteers. The team received a donation of a signed skatedeck from Tony Hawk to be added to the exhibition. After the exhibition, in preparation for [MAGFest](https://super.magfest.org) 2018, Frank and Blake turned the skatedeck into a game controller with the idea of making something similar to Dance Dance Revolution, using a skatedeck instead of the player's feet for input. -The original prototype was created using the signed skatedeck, cardboard, aluminum foil, copper tape, and a Makey Makey. The skatedeck was turned into a conductive device by applying copper tape to the bottom of the deck and placing it on a platform made of cardboard and layered aluminum foil. In the center of the platform was a cross section of aluminum foil, separated by bare cardboard and painter's tape from four other sections of aluminum foil outside the cross section. The four outside sections and cross section were connected to the Makey Makey with alligator clips. This served as a proof of concept for the game and even was able to be used for a few events. +The original prototype was created using the signed skatedeck, cardboard, aluminum foil, copper tape, and a [Makey Makey](https://makeymakey.com). The skatedeck was turned into a conductive device by applying copper tape to the bottom of the deck and placing it on a platform made of cardboard and layered aluminum foil. In the center of the platform was a cross section of aluminum foil, separated by bare cardboard and painter's tape from four other sections of aluminum foil outside the cross section. The four outside sections and cross section were connected to the Makey Makey with alligator clips. This served as a proof of concept for the game and even was able to be used for a few events. The next version of Scrapeboard used four aluminum street signs, a rug, an aluminum sheet, and an Arduino. Four rectangles were cut into the rug to frame the aluminum signs, which were taped to the bottom of the rug with carpet tape. The aluminum sheet was drilled into the bottom of the signed skatedeck. The Arduino circuit was designed using pull-up resistors and a program loop which turned each input low and tested for a connection with the other inputs, so the circuit wouldn't require a ground connection anymore. This version was used for many events but required a lot of repair and maintenance before and after each event. -A newer model was made in preparation for GDC 2022, using wood, aluminum street signs, steel anchor rings, and the same Arudino circuit. The aluminum street signs were drilled into four pieces of wood which were bracketed together on the underside. The steel anchor rings were fastened to the underside of the skatedeck using machine screws. By the end of 2022, this version had been refined to the point where it could last through multiple events without needing repair, a significant milestone for the project because it opened up the possibility of the game being able to run without constant supervision. +A newer model was made in preparation for [GDC](https://gdconf.com) 2022, using wood, aluminum street signs, steel anchor rings, and the same Arduino circuit. The aluminum street signs were drilled into four pieces of wood which were bracketed together on the underside. The steel anchor rings were fastened to the underside of the skatedeck using machine screws. By the end of 2022, this version had been refined to the point where it could last through multiple events without needing repair, a significant milestone for the project because it opened up the possibility of the game being able to run without constant supervision. Although there are still improvements being worked on, the 2022 model is what this manual is based on and what the instructions will create. Since that model has proven to be durable, the steps to reproduce it can be recommended as a simple method for Scrapeboard players to construct a system of their own. Further improvements are covered by optional steps and more will likely be added in the future. diff --git a/config.backup b/config.backup deleted file mode 100644 index 128f481..0000000 --- a/config.backup +++ /dev/null @@ -1,47 +0,0 @@ -[setup] -license = Public Domain -title = Scrapeboard -url = http://shampoo.ooo/games/esb -version = 0.2.3 -init-script = OPEN-GAME -additional-packages = lib -data-exclude = local/, *.pyc, .git*, README, build/, dist/, *.egg-info, *.py, MANIFEST*, PKG-INFO, *.pyc, *.swp, *~, changelog, scrapeboard, OPEN-GAME, lib - -[display] -caption = Scrapeboard -show-framerate = False -dimensions = 640, 480 -fullscreen = False -attract-gif-alpha = 0.95 - -[mouse] -visible = False - -[keys] -quit = K_ESCAPE -up = K_u - -[audio] -sfx-volume = 0.8 -panel-enabled = True -volume = 1.0 - -[input] -buffer = 0 -arduino-port = /dev/ttyACM1 -serial = True - -[time] -timer-max-time = 10000 -timer-start-time = 7000 -timer-addition = 1000 -sword-delay = 300 -attract-gif-length = 10000 -attract-board-length = 3600 - -[bgm] -title = resource/bgm/title.ogg, 1.00 -level_0 = /home/frank/storage/audio/bgm/bat-tree-habitat-key/level-0.wav, 1.00 -level_1 = /home/frank/storage/audio/bgm/esp-hadouken/Cube-Levers.ogg, 1.00 -level_2 = /home/frank/storage/audio/bgm/esp-hadouken/Bog.ogg, 1.00 -end = /home/frank/storage/audio/bgm/odoboe/odoboe-2.wav, 1.00 diff --git a/local/TonyTaunts/IWouldLikeTricks.ogg b/local/TonyTaunts/IWouldLikeTricks.ogg deleted file mode 100644 index 601617b..0000000 Binary files a/local/TonyTaunts/IWouldLikeTricks.ogg and /dev/null differ diff --git a/local/TonyTaunts/comeOn.ogg b/local/TonyTaunts/comeOn.ogg deleted file mode 100644 index e98a58f..0000000 Binary files a/local/TonyTaunts/comeOn.ogg and /dev/null differ diff --git a/local/TonyTaunts/comeOnComeOn.ogg b/local/TonyTaunts/comeOnComeOn.ogg deleted file mode 100644 index 764a868..0000000 Binary files a/local/TonyTaunts/comeOnComeOn.ogg and /dev/null differ diff --git a/local/TonyTaunts/iWouldLike.ogg b/local/TonyTaunts/iWouldLike.ogg deleted file mode 100644 index 2fde4c1..0000000 Binary files a/local/TonyTaunts/iWouldLike.ogg and /dev/null differ diff --git a/local/TonyTaunts/likeToSeeTricks.ogg b/local/TonyTaunts/likeToSeeTricks.ogg deleted file mode 100644 index 0d0d61b..0000000 Binary files a/local/TonyTaunts/likeToSeeTricks.ogg and /dev/null differ diff --git a/local/TonyTaunts/scrapeBoardTricks.ogg b/local/TonyTaunts/scrapeBoardTricks.ogg deleted file mode 100644 index d5f66ae..0000000 Binary files a/local/TonyTaunts/scrapeBoardTricks.ogg and /dev/null differ diff --git a/local/TonyTaunts/scrapin.ogg b/local/TonyTaunts/scrapin.ogg deleted file mode 100644 index de6fe05..0000000 Binary files a/local/TonyTaunts/scrapin.ogg and /dev/null differ diff --git a/local/TonyTaunts/showMeMoves.ogg b/local/TonyTaunts/showMeMoves.ogg deleted file mode 100644 index 1be5684..0000000 Binary files a/local/TonyTaunts/showMeMoves.ogg and /dev/null differ diff --git a/local/TonyTaunts/showMeTricks.ogg b/local/TonyTaunts/showMeTricks.ogg deleted file mode 100644 index e0ed9d6..0000000 Binary files a/local/TonyTaunts/showMeTricks.ogg and /dev/null differ diff --git a/local/TonyTaunts/thsb.ogg b/local/TonyTaunts/thsb.ogg deleted file mode 100644 index aa59643..0000000 Binary files a/local/TonyTaunts/thsb.ogg and /dev/null differ diff --git a/local/TonyTaunts/wearAMask.ogg b/local/TonyTaunts/wearAMask.ogg deleted file mode 100644 index 94f4e90..0000000 Binary files a/local/TonyTaunts/wearAMask.ogg and /dev/null differ diff --git a/record_test.py b/record_test.py deleted file mode 100644 index ae66200..0000000 --- a/record_test.py +++ /dev/null @@ -1,38 +0,0 @@ -import pyaudio -import wave - -CHUNK = 1024 -FORMAT = pyaudio.paInt32 -CHANNELS = 2 -RATE = 44100 -RECORD_SECONDS = 5 -WAVE_OUTPUT_FILENAME = "output.wav" - -p = pyaudio.PyAudio() - -stream = p.open(format=FORMAT, - channels=CHANNELS, - rate=RATE, - input=True, - frames_per_buffer=CHUNK) - -print("* recording") - -frames = [] - -for i in range(0, int(RATE / CHUNK * RECORD_SECONDS)): - data = stream.read(CHUNK) - frames.append(data) - -print("* done recording") - -stream.stop_stream() -stream.close() -p.terminate() - -wf = wave.open(WAVE_OUTPUT_FILENAME, 'wb') -wf.setnchannels(CHANNELS) -wf.setsampwidth(p.get_sample_size(FORMAT)) -wf.setframerate(RATE) -wf.writeframes(b''.join(frames)) -wf.close() diff --git a/resource/kool/0-N.png b/resource/kool/0-N.png deleted file mode 100644 index fce0a9f..0000000 Binary files a/resource/kool/0-N.png and /dev/null differ diff --git a/resource/kool/1-NE.png b/resource/kool/1-NE.png deleted file mode 100644 index f6460f6..0000000 Binary files a/resource/kool/1-NE.png and /dev/null differ diff --git a/resource/kool/2-E.png b/resource/kool/2-E.png deleted file mode 100644 index aa15732..0000000 Binary files a/resource/kool/2-E.png and /dev/null differ diff --git a/resource/kool/3-NW.png b/resource/kool/3-NW.png deleted file mode 100644 index cde008f..0000000 Binary files a/resource/kool/3-NW.png and /dev/null differ diff --git a/resource/kool/4-S.png b/resource/kool/4-S.png deleted file mode 100644 index 56accff..0000000 Binary files a/resource/kool/4-S.png and /dev/null differ diff --git a/resource/kool/5-W.png b/resource/kool/5-W.png deleted file mode 100644 index 915f08f..0000000 Binary files a/resource/kool/5-W.png and /dev/null differ diff --git a/resource/kool/damage.png b/resource/kool/damage.png deleted file mode 100644 index e4687f8..0000000 Binary files a/resource/kool/damage.png and /dev/null differ diff --git a/resource/scores b/resource/scores index e69de29..ce28dd7 100644 --- a/resource/scores +++ b/resource/scores @@ -0,0 +1 @@ +42070 0 diff --git a/setup.py b/setup.py deleted file mode 100644 index e0873d4..0000000 --- a/setup.py +++ /dev/null @@ -1,13 +0,0 @@ -from sys import platform - -if __name__ == "__main__": - if platform == "darwin": - from lib.pgfw.pgfw.SetupOSX import SetupOSX - SetupOSX("OPEN-GAME", - ["NS.py", "resource", "lib", "config"]).setup() - elif platform == "win32": - from lib.pgfw.pgfw.SetupWin import SetupWin - SetupWin().setup() - else: - from lib.pgfw.pgfw.Setup import Setup - Setup().setup()