Corpse Bride - Summer Sprint 2

 Fell behind this past sprint with my tasks. This past sprint was focused around making Emily's facial rig, finalizing Victor's hand rig, adjusting the player's hand to be able to interact with the piano, create a simple VFX for the piano key, and make a proxy ending for Emily's finale.


Emily's Facial Rig


Work on Emily's facial rig has been started. Her joints have been placed and the skinning is in progress. The eyes, eyelids, eyebrows, and mouth will have set driven keys to control the rig once skinning is complete.

Victor's Hand


Victor's hand has also begun to be rigged. The bones from the UE4 mannequin hand have been used in his hand so that animation can be easily retargeted. Skinning is currently in progress and once completed, the hand can be taken into scene.


Piano + Hand Interaction


Hez troubleshot and corrected the issue with the VR hand which caused a fatal error when it interacted with the piano. The hand now can interact with the piano with the pointer finger without issue. The piano stick is still left as an option.

Piano Key VFX


A material for interactable objects has been created and applied to the flowers and vase. However, it is not interacting correctly with the piano key and will need to be modified to get a better effect.


Emily's Finale

The largest adjustment that's been made is the finale. Emily now "plays" out her portion of the song. When she is done, the butterfly VFX spawns around her and then she disappears, similar to her ending scene in the film. At this stage it is largely proxy, but the main mechanics are implemented and just need to be refined.


Next Sprint:

As I said, this past sprint I fell behind in work and will have to carry over the rig and piano VFX into the third sprint. This was the sprint with the least tasks assigned to me originally, so the workload won't be much extra. The current plan for next sprint is as follows:



Corpse Bride - Sprint 1

My remaining tasks are as follows:


The planned schedule for these tasks (not including stretch tasks) are as follows:


This past week I was able to finish the portion of the song the player plays so that it follows the tune of the actual Corpse Bride duet. I was also able to make it so that the flower vase is now utilized when placing the flowers rather than the temporary box. Thanks to Hez's troubleshooting, the hands are now able to play the piano with the index finger and does not cause a crash upon playing. The piano stick is still there as a secondary option.

Corpse Bride - Sprint 7

 Victor's Hand

Victor's hand has been fully modeled and the UE4 mannequin hand rig has been applied to it with basic skinning. The hand has been implemented into the MotionController2 blueprint so that the player's hands are replaced with Victor's hands.





Emily Animation States

BP_Emily has been created and placed in the scene for the player to interact with. A basic set of poses are made for Emily to assume throughout the course of the song. She goes from an idling piano playing state, to looking away from the player, to turning towards the player, and raising her arms. Each state is changed in BP_PianoKeys so that the events are directly tied to the player's progress with the song. Correct notes will draw her attention. Incorrect notes currently do nothing, but may cause her to turn away until a correct note is hit again.

BP_Emily:




AnimBP_Emily:





Summer Semester Goals

Priority:

-Main piano song fully scripted -Refine Emily's animation switching on song progression -Bar glass physics -Tossing flowers/piano stick outside of interaction zone moves them back to original location

Polish/Stretch:

-Restart portion of song if incorrect note is hit -Pulsing piano note -Held note audio loop -Released note sound fade -Tutorial "call and response" -Finger instead of piano stick

Corpse Bride - Sprint 6

 This week was largely audio-related work to add more ambience to the scene. In particular, the piano notes have all been sourced and put into the piano for it to function fully.


Emily's beginning portion of the song has also been sourced and added to play in the background as the player explores the bar. BP_FlowerVase has been updated to store it so that she stops playing when the flowers are placed and the player begins their portion of the song.


A snippet of Victor's audio has also been added to the BP_Pickup_Flowers to help cue the players to give the flowers to Emily after they pick them up.

VICTOR: I, ah, think you dropped these.


Did some minor adjustments as well to the fade in and out of the scene and file house-keeping to tidy the project a bit.

Corpse Bride VR Project - Sprint 5

 Basic beginning, middle, and end of experience functionality has been completed. Demo of rough first-pass of experience below:



The forest area has a fade to black transition as a placeholder for more complex transition planned. Fade-in also implemented for bar area.

Within the bar, player can interact with the piano with the piano stick and place flowers for Emily to begin the piano playing sequence. Piano notes have been fully sourced, but are not yet hooked up.

Basic test song implemented for time being in place of full composition. Completing the song sequence correctly results in player exiting to the end credits scene.

End credits allows player to either re-enter the bar via the ring (fully replay experience, including song) or exit the game via the butterfly (stand-in cube for in-progress model.)

Piano Blueprints

The keys now hold a reference to the parent piano blueprint so that they can call back to the functions.

The individual piano keys and full piano keyboard have been modified to include enumerated values of each key (A-G, 0-7, including sharps) so that notes can easily be set and identified for the song sequence from the parent piano blueprint. These have been arranged inside of a dictionary that allows the piano to call upon the child actors based on the enumerated value assigned.

A rough start to the song sequence has been implemented in place of the proper composition for the time being. This progresses the sequence as each note is played correctly and alters the key to glow if it is the next note. Currently there are no consequences for incorrect notes.



The black and white piano key blueprints have been modified to call upon the parent piano key's RightNote custom event when they are released to test if they were the next note to be played. If not, no action is taken.


The individual keys also now have a dynamic material applied so that they can be altered to indicate the next note. A more refined effect will be made later on, but for now it is a simple emissive ramp.


When the end of the note sequence has been reached, the SongEnd event is called, and the player is taken from the bar area to the end credits forest.


Level Triggers

The ring blueprint has been modified to include a fade-out event to transition the player better from the forest to bar.

There is also now a second level trigger created to exit the game. It also includes a fade-out event and quits the player out of the experience.

Remaining Tasks
-Main piano song fully scripted -Emily animation switching on song progression (mad, neutral, pleased) -Camera fade graphics (crows, smoky skull) -Set full piano note sounds -Held note audio loop -Victor's hands in place of VR hands -Bar glass physics Polish/Stretch:
-Tutorial "call and response"
-Emily playing piano as player enters; repeat until player places flowers -Restart portion of song if incorrect note is hit -Pulsing piano note -Tossing flowers/piano stick outside of interaction zone moves them back to original location -Released note sound fade

Corpse Bride - Sprint 4

 

Piano keys and keyboard layout

A large basis for this project is the interactable piano in the scene. For this I started with two main blueprints, the white key and the black key, so that I could easily duplicate them and apply the logic for the sound and rotation:

White key:



Black key:


The keyboard blueprint itself is more complex and stores the majority of the information and events for the song and end of the scene. It is comprised of white and black key blueprints and the note for each key is set here, sourcing from the sound library of notes.

A known issue with the keyboard is that touching it with the motion controls will result in the game crashing due to an infinite loop within the motion controller blueprint.

The three working events are:

-Play Note—plays one of the piano notes as specified by the attached blueprint actor

-Begin Song—triggered by flowers being placed in the “vase”; moves Emily into position, currently has a delay in place for the “Next Note” event which is not operational at the time; after sequence is finished, calls upon Game Over to fade out scene

-Game Over—fades out camera to end the experience

The fourth planned event is Next Note, and will be used to iterate through the note sequence as the player uses the piano. Logic still to be implemented fully.

Keyboard:

 

Flower “Vase” blueprint

The flower vase blueprint is used for the player’s interaction with Emily. Its primary use is to switch from the “free” mode into the piano playing sequence. Placing the bouquet of flowers will trigger a call to the piano’s event “Begin Song.” No other objects will trigger the call.




Ring Level Transition

As in the movie, the player transitions from the forest area to the bar area through interacting with Emily’s ring. The ring has a basic collision box that detects the motion controller overlap to trigger the level loading.



Emily Skeleton

Basic joint placement so that Emily could be roughly skinned/posed for the scene. Right and left sides are a little uneven due to character’s partially-rotted design






Interactable Glasses

Replicated the interactable blueprint and applied it to the glasses in the scene so that the player can move and throw them.


Forest Ambient Music

Created a basic blueprint to spawn music in the forest level when the player first begins the experience.


Piano Stick

Made a rough work-around for the motion controller issue by creating a piano stick. This also allows for a more precise way of pressing the keys.



Corpse Bride - Sprint 2

This sprint I created a basic blueprint for the piano key that will rotate it and play a sound when the player collides with it.


Did a quick stress-test on an empty level with 60 copies of the blueprint to ensure that it was light enough to be handled without harming performance.


Also sourced piano sound files to use on the keyboard.

Laid out some basic lighting for the bar scene that will be adjusted to match the scene when final layout is decided and more of the colors in scene are applied to objects.