Help With a 'Create Your Own Adventure' Blueprint Using Videos

Hey ya’ll

Trying to make a simple CYOA game using video files

Essentially a video with audio plays, tells the first part of the story - it reaches a choice - the UI pops up with the choices, a video loops in the BKG - once a choice is selected a different video plays telling that part of the story - it reaches a choice - a new ui pops up, a new video loops in the BKG - and it continues on from there 4 choices deep - reaches an ending and then it starts over ‘resets game’

Here’s the level blueprint I made: Imgur: The magic of the Internet

Here’s the widget ui blueprint for one of the button choices: Imgur: The magic of the Internet

A problem I’m running into is that the first UI will not stay collapsed when the new UI is called forth - so the new ui is stacked on the previous one, any ideas on how to fix that?

Any advice would be appreciated thanks :slight_smile:

Hey @Mattr8888! Welcome to the forums!

Awesome idea!

So the node you’ll use for widget REMOVAL is “Remove from Parent” but it sounds like that’s not what you’re trying to do at all. When you’re setting something to collapse, are you meaning to have the button as the target? You are going to have a hard time getting the whole self to collapse, if this is a widget Blueprint. You’re better off using “Remove From Parent”, also because you don’t want the whole game being loaded at the same time.

I see that you’re creating a new widget upon finishing one of the videos, and you’re trying to collapse “Self” there, is all of this code located ON a “ButtonUI1”?

Hey @Mattr8888!

Did you ever find a solution? If so, would you mind posting it here so any others might be able to find it? :slight_smile: