Food Items - UQcsse3200/2024-studio-3 GitHub Wiki
All food items follow the same basic framework to allow for easier implementation and best comply with the ECS model. All food items stem from a basic template ItemComponent
which holds the key variables that all food items share, then they have unique variables based on if they are an ingredient or meal item. This allows them all to use a shared factory and reduces complexity if edits have to be made to individual items.
Each ingredient is initialised in IngredientComponent
which extends ItemComponent
and provides unique variables for the ingredient type items. The current ingredients are as follows:
Lettuce is one of the ingredients which can be chopped and is used to create meals.
raw
Source https://www.shutterstock.com/da/image-vector/green-cabbage-pixel-art-icon-kale-2127640361
chopped
Source: Created by team 6, inspired by:
https://stock.adobe.com/au/images/pixel-art-lettuce-icon-vegetables-vector-sign-for-for-web-
mobile-design-and-pixel-games/269812229
Cucumber is one of the ingredients which can be chopped and is used to create meals.
raw
Source:
https://www.istockphoto.com/vector/pixel-cucumber-vector-illustration-pixel-art-vegetable-
cucumber-icon-gm1345130139-423289788
chopped
Source: Created by team 6, inspired by:
https://www.alamy.com/vector-pixel-art-cucumber-isolated-cartoon-image362520433.html
Tomato is one of the ingredients which can be chopped and is used to create meals.
raw
Source: https://www.vecteezy.com/vector-art/21587303-pixel-art-illustration-tomato-pixelated-tomato-red-tomato-pixelated-for-the-pixel-art-game-and-icon-for-website-and-video-game-old-school-retro
chopped
Source: Created by team 6, inspired by:
https://pngtree.com/freepng/pixel-game-fruit-cut-tomatoes_6363035.html
Strawberry is one of the ingredients which can be chopped and is used to create meals.
raw
Source: https://www.megavoxels.com/learn/how-to-make-a-pixel-art-strawberry/
chopped
Source: Created by team 6, inspired by:
https://stock.adobe.com/images/seamless-pattern-with-8-bit-pixel-art-strawberry-uncut-cut-in-half-sliced-isolated-on-white-background-berry-print-for-menu-fabric-jam-juice-perfume-product-cosmetics-package-design/308785964
Chocolate is one of the ingredients which can be chopped and is used to create meals.
raw
Source: https://www.vecteezy.com/png/19040585-an-8-bit-retro-styled-pixel-art-illustration-of-chocolate
chopped
Source: https://www.alamy.com/vector-pixel-art-chocolate-bar-snack-isolated-cartoon-image362293584.html
raw
Source: https://www.vectorstock.com/royalty-free-vector/pixel-raw-meat-isolated-vector-38080351
cooked
Source: https://www.freepik.com/premium-vector/pixel-art-illustration-steak-pixelated-steak-steak-meat-food-icon-pixelated-pixel_80324805.htm
burnt
Source: Team 6
raw
Source: https://www.vectorstock.com/royalty-free-vector/pixel-raw-meat-isolated-vector-38080351
cooked
Source: https://www.vecteezy.com/vector-art/23330805-fried-fish-in-pixel-art-style
raw
Source: https://www.vectorstock.com/royalty-free-vector/pixel-raw-meat-isolated-vector-38080351
chopped
Source: https://www.freepik.com/premium-vector/pixel-art-bowl-with-acai-brazilian-food-vector-icon-8bit-game-white-background_35493646.htm
raw
Source: https://www.megavoxels.com/learn/how-to-make-a-pixel-art-banana/
chopped
Source: Team 6
Each meal is initialised in MealComponent
which extends ItemComponent
and provides unique variables for the meal type items. The current meals are as follows:
Source: https://au.pinterest.com/pin/fruit-salad--666814288574232575/
Source: https://www.alamy.com/vector-pixel-art-mix-salad-isolated-cartoon-image362292890.html
Source: https://www.alamy.com/vector-pixel-art-steak-isolated-image360548322.html