Dynamic Sequence

Hey Guys,

I’m trying to make a Game like I side-scroller but the player cant Realy do anything. I have multiple Levels or “Modules” and the Camera must follow the levels and between them. At Start, the game will spawn randomly modules which have a good connection. But now I need to create a Camera Path/Sequence along the Levels and between for a smooth flight across all levels. But how can I implement this? Can I do this with Blueprint or must I write it in C++ or completely with own math in C++ or BP?

What you’re describing sounds less like a Sequence and more like a camera spline path. There are a few video tutorials out there. I found one with “Pandemonium Klona” in the name that works well as long as you dont need the character to be able to handle slopes and stairs. but you can use part 2 where he sets up the camera path, regardless of whether the character uses spline paths or not.

OK that sounds nice… but when I go along the Level on some places the camera must stop… then there is a little sequence were other things set up and moves and after that, the camera goes further.

Can your player control how fast the character goes, and make them stop or go backwards too? If that’s the case I think the spline camera path is still probably best, and you can simply add a branch and a boolean variable to tell the camera if it should stop tracking the player’s pawn. If it should, then simply don’t execute the branch that moves the camera, and let something else move it, like a Sequence. So the first and last thing any of your “cutscene” sequences will do is to flip that variable on/off, and probably lerp it to the location or fade in/out so it doesn’t suddenly teleport once it starts tracking the player during normal player movement again.

I have no real PlayerController this is going to be StreamChatGame