The file 'Arcade Gift Cube – Unique Gift Card Holder 3D Printer Model' is (stl,ino) file type, size is 133.2KB.
Video: https://youtu.be/koyV5uTVwiw
I made a 3D Maze gift card holder box a while back and wanted to step it up a notch so for this year's Christmas gift card holder, I made an arcade gift box! The idea is that the recipient will have play a few video games and at the end of each game a code is displayed. The player gathers all the codes and enters them into an unlock screen. If the codes are right then the box door is unlocked and the gift card or money inside can be retrieved.
At first I made the box where it could be printed in one go but my printer kept giving me grief and I lost a lot of filament. So instead, I broke down all the walls individually so they could be printed one wall at a time and then glued together. The top still needs to be screwed on so at least the internals can be accessed.
Order of putting it together:
This Arcade Gift Cube device is to be like a successor to the maze cube I put on Thingiverse.
The idea is that inside is locked a monetary gift or a gift card or something small, and
to get to the gift, you have to play the arcade games to get the unlock codes to open the cube and get the gift. So in essence, this is a glorified gift card box so be more novel and fun than
just handing someone some money.
BOM:
I basically tried to find the parts as cheap as I could on ebay and amazon.
The code shows a diagram of what to connect to which pins.
I wrote all of the games myself. I started with sprites (blasteroids, flappy, jetpack) but then
got a simple 3d vector engine going, then added the fill and backface removal (so there's two engines sort of) (tanks, tie, flight sim). I wrote a simple 3d engine back in the 80's by reading a book called 3d graphics in C (or something like that). This 3d engine is pretty much just a recreation of that. I used chatGPT (openai.com) to help me recall some of the 3d functions and backface removal. For a 4 point-fill, I just used fill for two triangles. I tried to do some simple z-buffering to place objects from approximate furthest to nearest to the user so that objects would overlap correctly (to some degree). For the tie fighter I drew it with vector draw but then draw the outside wings with the polyfill and backface func to sort of make the wings overlap correctly. You really probably don't notice it when playing, though, but it was just something that bothered me I suppose so had to make it look better.
Yeah, everything is pretty small with this display so it's sort of not practical but it is a
cheap display and it seemed like I needed to make this gift box as cheap as possible otherwise I couldn't afford to put any money in the gift box which would be counterproductive to the purpose of me wanting to make the box in the first place. In reality, though, I wish the display was bigger and even with color but hey, you can't have everything! (or can you?)
Yeah, someone looking at my code will probably quickly criticize it. I know I'm not the best
programmer that there ever was, but hopefully you'll see I'm not the worst programmer either and find some value in it! ;-)
I added the code entry to unlock the cube with servo control. I designed a box/console
on Tinkercad. Then my 3d printer decided to die. I asked for another 3d printer for my
birthday and my family graciously gave me one so now I can surprise them back with this gift this Christmas! Hopefully, my family and friends will like it and I hope everyone who downloads and builds one likes it too!
BTW, there is a secret code added to the software to get you to the Admin Menu so you can lock or unlock the box, change the code to whatever you want or else randomize the code. This Admin Menu will also appear whenever the player actually unlocks the box themselves.
There's still room for more games, so I may add some more games but I haven't decided yet. But for now it works as-is so I feel it's a good first version.
Jesus Saves! John 3:16
Update: Version 1.02 2023/12/12 Fixed a problem with blasteroids end win screen.
Update: Version 1.03 2023/12/12 Made the tanks game a little easiser.
Update: Version 1.04 2023/12/13 Made the ties in the tie game a little bigger.
2023/12/14: I ended up making 14 total arcade gift cubes (even tho I have parts to make more probably) for family and close friends. I gave one cube to a friend and he found the Blasteroids bug and gave feedback about Tanks game was hard and Flightsim was hard. I was able to do a few fixes (thanks buddy). So, I opened the presents, reprogramed the cubes, and rewraped them. I can't wait until Christmas to see the reactions. Hopefully it will go well. I'm thinking about what to make for next year and have an idea for a prototype.
2023/12/16: The wife wanted 7 more arcade cubes for her side of the family, so that's a total of 21 cubes I made for this year's gifts. I hope everyone likes them.
AGC_backwall.stl | 10.6KB | |
AGC_centerwall.stl | 2.4KB | |
AGC_door.stl | 234.7KB | |
AGC_face.stl | 167.4KB | |
AGC_floor.stl | 76.4KB | |
AGC_leftwall.stl | 4.0KB | |
AGC_lock.stl | 9.1KB | |
AGC_rightwall.stl | 5.0KB | |
AGC_shelf.stl | 12.2KB | |
arcade_gift_cube.ino | 130.3KB |