Code: https://editor.p5js.org/chloechan/sketches/rDVvaj7oK
Presentation Version: https://editor.p5js.org/chloechan/present/rDVvaj7oK
YouTube Link: https://youtu.be/PAAJ0hyWHbg
Code: https://editor.p5js.org/chloechan/sketches/rDVvaj7oK
Presentation Version: https://editor.p5js.org/chloechan/present/rDVvaj7oK
YouTube Link: https://youtu.be/PAAJ0hyWHbg
I want to create a game where you can make a drink. (Yes, it’s another food-based project) I thought of this idea because boba is becoming such a popular drink, and I used to work at a boba shop, so I wanted to make a fun game where a user could make their own drink. I was thinking of two ways where you could choose how your drink turns out: My first idea is to have an interface of the user choosing the composition of the drink. After the user goes through all the options, they watch as their drink is composed for them. The second idea I had was to have a selection of options in the corner that are separated into categories. Clicking the mouse would allow an ingredient to come out of it. Clicking on each ingredient button would change the “ingredient” that is generated.
In both situations I plan to have the user get rid of their drink by pressing a key on the keyboard, and this is the only way they can get rid of their drink through the straw. So if they make something super disgusting, they’re going to have to “drink” it at the end.
I see a lot of if()s and else()s in this program. Of course, I have basic shapes like rect() and ellipse() for the construction of the cup. I might use automation for the rotation of ingredients in the boba drink along with shapes, and I would push them into an array. There would be change over time as the cup fills up if I choose to do that. I’ll use keyboard input and mouseClicked() for drinking/generating ingredients. I also think I’ll need to make use of HSB color mode for the transparency of drink and certain add ons. Each of those objects will also probably have classes as they behave differently Other than that, I’ll have to do a lot of research and consult a few Computer Scientists to see what I can do to make this possible and how I can go about doing it.
I imagine my process to include lots of consultation and research. As my concept is pretty planned so far, I’ll probably be doing lots of trial and error and using code as process of that. I might need to cut some corners if I find out what I want to do isn’t possible.
I think that most of my friends and family would be interested in this work. It’s meant to be a fun game program for people to create maybe outrageous drinks, maybe delicious drinks. There are so many boba places on campus, I think that people would enjoy using the game to create drinks, especially if they’re craving it and can’t afford/don’t have time to/for whatever reason just can’t buy a drink.
Press SHIFT to feed a dinosaur (or not)
Press SPACE to erase everything
https://editor.p5js.org/chloechan/sketches/w-km8aQpW
What I have so far