Skip to content

Realtime display+ time challenge game



Add a BP actor, called RealTimeShowcase
Add TextRender component in viewport
Event graph:
image.png
Now the minute will only has 1 digit if the realtime is in 04 min, to settle it:
image.png
image.png


Set Game challenge with the timer:


Back to viewport of the BP:
Add a cube, set overlap all, and add event:
image.png
image.png
Make below graph (Promote vairables on hour and minute at Now node, rename them as minute target and hour target)
image.png
Continue
image.png
Add another text render in viewport, put it higher and change color
image.png
image.png
replace the text render
image.png
So once the character overlap on the cube, 1 min will add

Add 1 more cube, rename and add event on cube target for graph:
image.png
image.png

Move the trigger box and target box in different locations in Details
image.png

Game: character go to trigger box, upper text change to a time that need character needs to go to target box by the time shown at upper text

Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
CtrlP
) instead.