Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hello. How do I create a simple cutscene? For example, changing cameras during the cutscene. Alternatively, you can simply turn on and off the desired camera and use the "Do something later" script, but this is not very convenient. Maybe there are better options? For example, completely through the script or use only one camera, but according to the script, just move the camera at the right moment. Of course, it is better to use only one camera, but change the camera position during the cutscene. |
||||
|
Hey tsunasan. Cutscenes in games are always pretty complex. It’s tough to give you a one-size-fits-all solution because it really depends on the genre, a cutscene for a first-person shooter is built completely differently than one for a third-person game or a strategy game. Just like I mentioned with the inventory example, this kind of stuff isn't done with a single action. It’s always a mix of different behaviors, events, and abstractions working together. I'm down to write solution and set up a demo for you, but I need to know exactly what you're trying to do first. Can you break down what should actually happen in your cutscene? For example: * The player walks into a trigger zone. * The player loses control of their character. * The camera smoothly pans over to a door opening (or just instantly cuts to a different angle). * The action happens, and then the camera snaps back to the player, giving them control again. |
||||
|
Our game will have many cutscenes, but for example, I'll describe two cutscenes we'll have: 1. The cutscene starts at the beginning of the first level. The character's animation starts. During this time, the camera shows a general view of the location. Then, after a few seconds, the camera changes position and shows the character (the character's animation plays). Then, after a few more seconds, the cutscene ends, and the player switches to first-person control. 2. The second cutscene starts with a trigger. The camera gradually shows a 3D object and, after a few seconds, fades out. Then the next level loads. How can I achieve a camera fade? Or simply create a white plane and then smoothly transition from transparent to white. Or, alternatively, do everything with a script. |
||||
|
I've actually got a pack of transitions I wrote a while back but never ended up using. In this example, there’s one where it fades to black, "switches the shot", and then fades back in: https://wingbyte.itch.io/fall-of... |
||||
|
Thanks for the demo. The smooth transition turned out really nice in the demo) |
||||
|
|
||||
|
Very nice smooth transitions) You are developing a game on CopperCube? Are there any options for creating cutscenes? |
||||
|
Nah, I’m not making any games. I actually learned the engine a while back thinking I'd make my own little project, but then I just dropped it. Anyway, I’ve got an idea for the cutscenes. I’ll try to put together a simple code today and maybe post it today or tomorrow. |
||||
|
Thanks in advance for the script or demo. You're good at coding in CopperCube) |
||||
|
CopperCube is just super simple when it comes to coding. I originally got into it because the API for working with 3D meshes is really convenient, but then I realized using SFML and OpenGL is probably better - not that it matters much right now, though. Anyway, I'll try to script something workable for making cutscenes. |
||||
|
Hey, sorry things didn't work out with the cutscene example. I ended up going on a bender last weekend and it somehow dragged on for almost a week. I won't make any hard promises this time, but I'll just say I'm still going to try and put together that cutscene example - I just need to sober up and bounce back first. |
||||
|
|