TWANG: A 1D Arduino based dungeon crawler

Поділитися
Вставка
  • Опубліковано 21 жов 2015
  • TWANG is my take on Robin Baumgarten's Line Wobbler. I intend to use it as part of an interactive Christmas light display outside my house but for now is a fun desktop version with a custom 3D printed enclosure.
    Source code: github.com/Critters/TWANG
    3D files: www.thingiverse.com/thing:1116899
    PepePepelepoisson has made a wireless version that uses a wobble board: www.chezpapietmamie.com/pcube/...
  • Авто та транспорт

КОМЕНТАРІ • 69

  • @JeremyCook
    @JeremyCook 6 років тому

    The door spring as a joystick is quite ingenious. Nice work.

  • @willofthemaker
    @willofthemaker 8 років тому

    That's a really cool and inspiring project. Thanks for sharing it

  • @AlbertPhan
    @AlbertPhan 6 років тому

    This is so cool, nice work with the game!

  • @MechanicalReverend
    @MechanicalReverend 6 місяців тому

    Extremely cool, great work.

  • @guamu
    @guamu 8 років тому

    got here from your shaun of the dead video. staying for the tech and stuff like this.
    oh, and more video edits like that of course. well done

  • @willilehmann4282
    @willilehmann4282 3 роки тому

    thx... for the video and the well done documentation on github. Both in combination lead to a fast building process. Good work. Well done.

  • @engserve
    @engserve 6 років тому

    Awesome project. I always wanted to play the Line Wobbler project, so I built a TWANG. It works great and is a lot of fun for me and the kids to play.
    I changed the 4 pits of lava level to 3 pits to make it a little easier. I also added a "game over" animation, because it is not so obviously when all your lives are gone and you return to the start. Some sort of scoring system would be great to add too. Maybe show 5 red dots then 3 blue dots for 53.

  • @TimRobertsSound
    @TimRobertsSound 6 років тому

    Super cool. Very nice project.

  • @Critters
    @Critters  8 років тому +1

    Not yet Ryan, but I will post them along with the code when the project has been battle-tested over the holidays. I'll post a video when that happens so sub for a notification of when I do.

  • @0730bcorm
    @0730bcorm 2 роки тому

    this is totally affordable now a days I would be willing to make one. cheers dude!

  • @777giba
    @777giba 6 років тому

    Nice work!

  • @Critters
    @Critters  8 років тому +1

    Links to the source code along with the 3D printer files can now be found in the description. Happy twanging!

    • @MGKday
      @MGKday 8 років тому

      +Critters Thanks for your precious time ! Quick questions: 1- how is it connected to the light strips ? do you have a long wire hanging in the room ? 2- how easy would it be to add more "levels" or "stuff" to the game (by "stuff" I mean like new ennemies, new matter in addition to lava/water, such as wind, holes...) based on the spawn* function you added? 10min,10h,10days ? or even to add a "1D pong game" such as that one www.vagrearg.org/content/onedpong ? this is amazing anyway, can't wait to build mine !! thanks again

    • @MGKday
      @MGKday 8 років тому

      +David Scott thanks for your answer :) for qst 1 : I will check what to do with a nRF24L01+ or something like that to have more freedom of moves, that can be interesting, especially if, like you said, I use the led strip for xmas decoration, and for qst2 : yep I looked at the code, superb, seems easier than I thought. will see how to add some levels or a pong game when I'll have some time.

  • @santaana36
    @santaana36 7 років тому +1

    Hi Critters, for Arduino Day Costa Rica this year I added some XBee's for remote control. I'll send pictures of the event. Cheers!

  • @santaana36
    @santaana36 8 років тому +1

    +Critters Thanks for sharing the code! Worked "right out of the box" with the MEGA and Neopixels. Will be used for entertainment @ Arduino Day 2016 Costa Rica. Will try to port to the SAMD21. I got it to compile but the code is getting stuck somewhere...

    • @Critters
      @Critters  8 років тому

      +Bentley Born That's great to hear! Post some pictures from the event :)

    • @santaana36
      @santaana36 8 років тому

      +Critters It was a HIT!!! Non-stop playing from 8:30am to 5pm.
      facebook.com/groups/arduinocr/permalink/1319020568111898/

    • @santaana36
      @santaana36 8 років тому

      +Bentley Born My code for the Sparkfun SAMD21 Breakout
      github.com/bborncr/TWANGSAMD21_TUNES

    • @Critters
      @Critters  8 років тому

      +Bentley Born Thanks!

  • @RyanNeufeld
    @RyanNeufeld 8 років тому +1

    Have you shared the files on thingaverse or the like?

  • @nitsnbolts1
    @nitsnbolts1 6 років тому

    LED Pacman would be cool

  • @weltimperator
    @weltimperator 8 років тому

    Hey Critters,
    the method "MPUAngleSamples.getMedian()" gets back a "nan" if I print it, is that correct?
    I cant find this function anywhere

  • @gadget7894
    @gadget7894 8 років тому

    LOVE this ! .... is there any limitation to the length of the LED strip ?

    • @Critters
      @Critters  8 років тому

      +Mick Long Lengh depends on LED density. They come in 30, 60, 90 and 144 per meter. It uses the FastLED library and I think the only limit on number of LEDs is the power you can provide and the memory on the Arduino. Maybe they have something on their site to do with that. I was running about 300 LED's with no issues.

    • @gadget7894
      @gadget7894 8 років тому

      +Critters in length I mean like dungeon length, as on your other video seem to make it larger, but not longer .... (im thinking looping round garden/house)

  • @DavidSikesII
    @DavidSikesII Рік тому +1

    Hi Critters! Hopefully you see this. The Orlando Science Center had a Line Wobbler installation that had the hardware go out. With no code available, there was no way to repair it. I'm happy to say that it is now a TWANG Installation!
    It's an an art gallery area, so every exhibit has attribution. I wanted to give credit where it's due, so if you would like, tell me how you'd like to be credited. I'll make sure it gets put up as such! I'd be happy to have them put Critters or your real name if you so desire. And let me know how you'd like twang stylized, all caps or what have you.
    I had some fun implementation details, the joystick is on the other side of a hallway that is an art gallery from the LED strip, so I ported TWANG to an ESP32 and used one ESP32 to drive the LED strip and one to send the IMU info and reset button press across to the other with ESP-NOW (Which works awesomely, this is the first project I've used it on.) I'll send a video once they put the plaque up with attribution, if you so desire. By the way, the FastLED library installed straight from the library manager in Arduino works just fine now. I saw in your readme it said TWANG needs a special FastLED, but looks like they fixed whatever was causing that necessity.

    • @Critters
      @Critters  Рік тому +1

      Critters on UA-cam would be fine. I'd love to see a video! Did you try to reach out to the line wobbler guy?

    • @DavidSikesII
      @DavidSikesII Рік тому

      @@Critters we did, several times. it looks like he's moved on to bigger projects, which is awesome, but for a while it looked like they were going to have to take it down. Thank you very much for releasing this! I'll take a video next time I'm there.

    • @DavidSikesII
      @DavidSikesII Рік тому

      @@Critters I'm about to send over to the department head, I'll tell them to credit as @Critters (UA-cam) and the installation with be titled: "TWANG" I'll send a video when that's done! Let me know if you'd like to change any of that before I send it over. Thanks again!

    • @Critters
      @Critters  Рік тому

      @@DavidSikesII Thanks David, let's go with "David Scott" and "TWANG", I appreciate you confirming and I look forward to seeing the video of it in action.

    • @Critters
      @Critters  11 місяців тому

      @@DavidSikesIIDid it get installed?

  • @pepepepelepoisson7424
    @pepepepelepoisson7424 7 років тому +6

    Hi Critters. Thanks for sharing this excellent work! I've made a TWANG for my kids then created a "child project" where the accelerometer (+ arduino nano + NRF2401) is installed inside a wood platform on which we need to stand to control the game. This "Balancuino" project was completed 2 weeks ago and I brought it to the Ottawa Maker Faire (along with other projects) where it worked non-stop during the week-end! We often had a line-up of kids waiting to try the game! Obviously the project description on the web and in Ottawa always included a reference to line wobbler and TWANG! I've posted a few
    videos/photos/details on my blog in case you want to know more about it:
    www.chezpapietmamie.com/pcube/arduino/balancuino-restez-equilibres-sinon-game-over/
    The code with my basic mods to make it wireless is available on Github (first real attempt at Github for me) for however wants to continue with further improvements. Thanks again and best regards from Montreal.
    pepelepoisson

    • @Critters
      @Critters  7 років тому +2

      Superb! Love the idea of using a balance board... work those core muscles! Thanks for sharing!

    • @Critters
      @Critters  7 років тому +3

      I've added your link to the video description in case this comment gets lost

  • @yashprasad9131
    @yashprasad9131 3 роки тому

    how do we program the game

  • @RyanThompsonJewell
    @RyanThompsonJewell 6 років тому

    Would this work with code mods on the 60 led strip? cheaper

    • @Critters
      @Critters  6 років тому

      Not sure what you mean by "code mods on the 60 led strip"

  • @mitchh6471
    @mitchh6471 6 років тому

    Arduino: 1.8.2 (Mac OS X), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
    /Users/stefanomuneroni/Desktop/TWANG-master/untitled folder/TWANG/TWANG.ino:3:20: fatal error: I2Cdev.h: No such file or directory
    #include "I2Cdev.h"
    ^
    compilation terminated.
    exit status 1
    Error compiling for board Arduino/Genuino Mega or Mega 2560.
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.
    where can i find this library??

    • @Critters
      @Critters  6 років тому +1

      mitchell hirsch type ic2dev.h into Google. It's the very first result.

  • @doublem5679
    @doublem5679 5 років тому

    I want one

  • @stephanroos1304
    @stephanroos1304 4 роки тому

    Hallo, Kann mir jemand sagen wo ich die "Live" LED's Anschliesse? Danke

    • @willilehmann4282
      @willilehmann4282 3 роки тому

      Hast du die Lösung gefunden? Im Quellcode steht: LED-Life-indicator
      int lifeLEDs[3] = {52, 50, 40}; Das sollte beim Arduino Mega des Rätsels Lösung sein.

  • @robcarnegie7480
    @robcarnegie7480 2 роки тому

    I see that this project is quite old but I thought I would give it a try. I managed to gather all the components but when I try to compile the code in the Arduino IDE, I get a pretty long list of errors. I managed to find and install all the libraries but the list of compile problems remains quite long. I'm wondering if the version of the libraries or the version of the IDE are creating problems for me. Could you please tell me what versions were used when the project was originally developed?

    • @Critters
      @Critters  2 роки тому

      This was so long ago and just a one-off for halloween I have no idea. Sorry.

    • @robcarnegie7480
      @robcarnegie7480 2 роки тому +1

      @@Critters I eventually worked my way through all the issues and got it working. I'm pretty thrilled with the results. Thanks for sharing the code. Well done!

    • @Critters
      @Critters  2 роки тому +1

      @@robcarnegie7480 If you do a video do tag me in it, good job!

    • @SteveWyatt
      @SteveWyatt Рік тому

      Was a arduino mega required for memory constraints or would an uno work?

    • @robcarnegie7480
      @robcarnegie7480 Рік тому

      @@SteveWyatt The only thing a Mega offers is more memory and a lot more I/O pins. I didn’t check to see if it would have fit in an Uno but I’m sure it would be possible if you used some shift registers to share pins on things like the remaining lives LEDs.

  • @idiocy424
    @idiocy424 8 років тому

    Is it compulsory to use Mega? I have a Uno btw.

    • @Critters
      @Critters  8 років тому

      +Agumon424 the source code is in the description, try compiling it. you may get low memory warnings but should still work. reduce the number of particles and enemies in the object pools to free up ram

  • @JensHauke
    @JensHauke 6 років тому

    Hey Critters, this the great! Thank you for sharing the Code! I have rebuild it with a 1m * 60 WS2812 LED Strip and a WiiChuck controller. This game is a good reason, to buy a longer LED strip :-). My family loves it.

    • @Critters
      @Critters  6 років тому

      Jens Hauke thanks!

  • @codegnomes280
    @codegnomes280 8 років тому

    Any news on this? No pressure, but I'd love to build one of these, but I'm an Arduino beginner :-P

    • @Critters
      @Critters  8 років тому +1

      +Code Gnomes Here you go: github.com/Critters/TWANG My first time using GITHUB, also put as much info in the README file as I could think of but do let me know if you have any questions :)

    • @codegnomes280
      @codegnomes280 8 років тому

      +Critters Thanks! Excited to get started :-)

  • @anatoliiohorodnyk3916
    @anatoliiohorodnyk3916 8 років тому +1

    Hi, I liked your project, and I would do it, put please step by step videos with connecting elements to arduino

  • @andreaswill5569
    @andreaswill5569 8 років тому

    Hey Critters, great work and thanks for sharing!
    I want to install your twang version of the Game on my sisters Summer-Outside-Wedding but i have some different Components. A Teensy 3.2 on a OctoWS2811 and a 4m WS2812B Strip an the MPU6050, no speaker at the moment. I tried a lot with your files at github but it still won't work. I would appreciate if you could help me.? Greets from Hamburg, Andreas

    • @Critters
      @Critters  8 років тому

      There's so many things that could make it not work, are you getting any errors? Have you got the LED's to work writing your own test code to confirm the wiring for them is correct? Are you using a different library to drive the LEDs than the one provided?

    • @andreaswill5569
      @andreaswill5569 8 років тому

      Thanks for your fast reply. I get an error "#ifndef __XC8
      #error Use XC8 for compiling" and no i tried to use all library you wrote on github. I get the ted strip on the octo working well, but then all pins of the teensy are soldered.? But i am a absolut beginner and maybe it´s not working with an teensy -arduino.? Do you have something like a frizzing-Sketch how to wire your setup? Thanks for your help.

  • @redfangsmayhem4864
    @redfangsmayhem4864 6 років тому

    gg

  • @SRSGMAG
    @SRSGMAG 7 років тому

    Warm greetings. How could I compile this code and run the game on my computer?