Week 13 - Final Project


Final Project

An interactive gallery of my photography works that I made with Unity. In this project, I mess around with some photographs that I have taken this month. My original plan with AR image tracking doesn't go. so smoothly, so for the timeframe, I only made this mini-project that integrates programming, photography, and a little bit of mapping, walking around a little planet. The idea came to my mind really late, so I didn't get much time to work on it. 

I took these photos either at Riverside Park or at Central Park, so there are two buttons that can generate photo blocks with photos of different locations. I spent a lot of time figuring out mechanisms in this project, so I haven't been able to organize more photos into it. 


Project Description

This project is like a photo gallery to show my photographs in a cool way. I don't want my photos just to sit in my folder waiting to be opened, so I came up with the idea to interact with these photos. 

For this project, I spent a lot of time programming physics and mechanisms. Here are steps of how I did it in Unity.

1. Making photo blocks that float: 
        I make my photos as textures to be attached to the surface of the cube. To make them float, I attach these cubes to a bigger transparent capsule. Thus, the cubes that float are actually capsules rolling on the ground.

2. Populate my picture folders in blocks:
        I have about 30 pictures that I wanted to add. Adding textures by hand would be an exhausting task, so I wrote code to automatically populate my photo on each block. This function allows expansion with more photos to be added.

3. Add a player character:
        To move around, I need a character. So here there is a character with third-person perspective controls. 

4. Physics of little planet:
        Not a difficult task. Simply apply the gravity law formula in the programming of each block. 

5. Buttons that can generate more blocks in the sky
        Just hook up a spawn function with random coordinators limited outside of the little planet but not too far. Repeat them several times when the button pushed, so a group of photo blocks generates every time.

6. Duplicate buttons
        Divide my photos into different folders according to how I categorize them, by location in this case. Each button spawns just one group of pictures in a specific location. Some arraies used to group photos and textures. 

7. Add background music:
        Wanted to compose my own music for each location, but didn't have time. Thus, I grabbed a free piece to be played in the background.

8. Export and upload.
        Export to WebGL format and upload to Itch.io, so everyone can play it. 
        Here is the link: https://reatured.itch.io/photo-gal





Pictures used in this project:







































Digital Stewardship

The link to my slides: https://docs.google.com/presentation/d/1k742NxtuP-goq_fCfMnmNIDHtJbLn4Fg3crBhaD9il8/edit?usp=sharing

Comments

  1. Hey Lingyi! I LOVED your final project. I thought that the little digital museum world you created was so cute and accessible. I could see a similar type of aspect being included on museum websites as a fun and interactive way for children and adults to admire the art, especially in the pandemic. Everything came out so well!

    ReplyDelete
  2. This game is fantastic!! Absolutely love it!

    ReplyDelete

Post a Comment

Popular posts from this blog

Week 12 - Reading Reaction, Weekly Assignment

Week 8 - Stop Motion Assignment Video