Inspiration
This project was inspired by my friend's pet frog, Bradley.
What it does
iBradley is an IOS app where you can take a picture of food and feed it to your virtual pet.
How we built it
The pet and animations were created in Adobe Animate. The computer vision machine learning model was made in CreateML and then implemented to the code which was written in Swift on XCode.
Challenges we ran into
SpriteKit didn't support GIFs, so we created an SKAction that animated through SKTectures to simulate a GIF. Manually creating training data was also very tedious.
Accomplishments that we're proud of
We are proud of the ML model that was used to detect food being implemented in the project.
What we learned
We learned how to animate with Adobe Animate, however, the animation was done in Swift. We also learned how to create an image classification model and implement that into Swift. Furthermore, adding a camera into a game was also something new.
What's next for iBradley
There are many future developments that can be done including minigames for the pet and adding movement to the pet. However, first priority is to add more foods as there is only a limited amount of food in the game. Also, an improvement to the health and happiness of your pet so that the nutritional benefits and happiness of your pet are more accurate.
More Information
A presentation was made on iBradley including a demo on Google Slides and the source code can be found on GitHub
Log in or sign up for Devpost to join the conversation.