top of page
Color Puzzle
Personal project made to develop and showcase my current knowledge of Unreal Engine Blueprints.
Play the protype via Itch.io
Overview

This two-level prototype features a cube that can be picked up, brought over different paint cans to change its color, and dynamically mix and match its colors. It taught me a lot about design, Blueprints, and the struggles of trying to represent realistic color mixing via RGB values.
Milestones
There's a lot of features that I accomplished that I'm pretty proud of, but the ways colors are applied is still something I'm happy I got working.
Colors!
Throwing the cube inside the trigger boxes on top of the paint cans applies the RGB value of that color onto the cube. There is an area in both levels that can reset the cube color, and one area in the second level that can double its values. Working with RGB values was harder than I anticipated due to the realization that RGB values combining lead to different color combinations than what would be expected of realistic colors. Colors were applied using Dynamic Material Instances.

BP_ColorChange (trigger box that changes the color of the cube
BP_ColorCheck (trigger box that checks and prints values of cube)
BP_ColorReset (takes Bob color and sets it to 0 RGB)
Cube Pickup
The cube the player can pick up, referred to as BP_Bob in this prototype, is picked up using a modified version of the WeaponComponent from the FPS template. Pressing left click or right trigger emits a raycast from the gun in the direction the player camera is facing that checks to see if they're looking at Bob. If they are, and they're within distance, it'll attach Bob to a PhysicsConstraint within the player blueprint.

Modified BP_WeaponComponent
The cube, lovingly named BP_Bob
Miscellaneous Blueprints
BP_MultValues (multiplies Bob's RGB values to make the color more vibrant)
BP_ExitDoor (the door to exit level 1 and reach level 2, or reset to level from level 2)
BP_MatchLever (the bridge that lowers itself down when you throw Bob at it with the right colors)
bottom of page