0 Favourites

Best practices for Cutscenes?

  • Hey all, i'm planning to make some cutscenes, but i would like to request an advice here before to create cutscenes.

    My idea is when a global variable sets a value by 1 for collision to an invisible sprite, the event creates some objects are used for cutscene, the actions are like wait to 1 seconds before to start bullet bevahior on following some directions per seconds. I imagine there will be a lot of events and actions for a cutscene...

    Do you have any best practices for cutscene?

  • How I do them:

    Global "mode" - for stopping game controls and such during the cinema. All code for the gameplay is under a subevent of mode=action and cinemas as a subevent of mode=cinema.

    Global "scene" - name of the cinema.

    Global "step" - there for progress through the cinema.

    Example:

    mode=cinema

    scene=intro (this is supposed to be indented as a subevent of the above event, don't know why the forum's not letting it do that)

        step=0

          Hero.x is less than 100

            - set Hero.x to self.x+100*dt

          Hero.x is greater or equal to 100

            - set Hero.x to 100

            - set step to 1

        step=1

          trigger once

            - create text, set text to "Valliant heroic statement!"

          if mouse clicked

            - destroy text

            - sidekick: set variable 'mode' to "follow hero"

            - set step to 2

    Using this method you can also set individual objects to do their own behaviors that span multiple steps by giving them a similar variable setup as local variables, hence with setting the sidekick's mode variable. The behavior for that is written as subevents under the 'scene' variable near the top.

  • Very cool topic, thanks for bringing it up!

    To do a camera move in a birds eye view style game (zelda, space shooter) how would you make the camera move away and then back to the player?

    Brainstorming about it makes me wonder if you would use a sprite as a "target" for the camera with a scroll to behavior. When the cut scene starts the player's "scroll too" would be disabled, and the camera target's "scroll to" behavior would be enabled for the cutscene. After the cutscene ends shift the "scroll to" back onto the player character.

  • if your gonna have a "camera" that moves around at any point separate of your main character then itd be best to have a camera object and have that object with scroll to. Itd be the ONLY object with scroll to. Then you position it how ever you want whenever you want and the screen will follow it.

    Its overkill if you never intend to have it do anythin other than follow the main character tho. You could always make a fancy camera system with it tho so it can lead the character based on speed or whatever. Or if you need the actual VIEW to stop a position thats not the edge of the layout or somethin. Like making the camera collide with walls.

    But its essential if you intend to have the player see anythin outside the view of the main character

  • How I do them:

    Global "mode" - for stopping game controls and such during the cinema. All code for the gameplay is under a subevent of mode=action and cinemas as a subevent of mode=cinema.

    Global "scene" - name of the cinema.

    Global "step" - there for progress through the cinema.

    Example:

    mode=cinema

    scene=intro (this is supposed to be indented as a subevent of the above event, don't know why the forum's not letting it do that)

        step=0

          Hero.x is less than 100

            - set Hero.x to self.x+100*dt

          Hero.x is greater or equal to 100

            - set Hero.x to 100

            - set step to 1

        step=1

          trigger once

            - create text, set text to "Valliant heroic statement!"

          if mouse clicked

            - destroy text

            - sidekick: set variable 'mode' to "follow hero"

            - set step to 2

    Using this method you can also set individual objects to do their own behaviors that span multiple steps by giving them a similar variable setup as local variables, hence with setting the sidekick's mode variable. The behavior for that is written as subevents under the 'scene' variable near the top.

    Nice one, i would like to consider this method for my project.

    Thank you!

  • Arima

    I don't quite understand that.Can you provide a capx file please <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Arima

    pleaseeeeee

  • Doc Ai it's not nice to ask anyone to do a free work for you, if you want to develop your videogames, you aren't supposed to be a lazy person, you should experiment it by yourself.

  • Ok.I'll try

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • Is there a possibility, to add videos or flash-animations?

    Would love to make the cutszenes in an animation program, not in construct itself.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
0 Favourites
Best looking C2 games?
60 7,310
Wolod's avatar
Wolod
Unread hot topic
38 3,451
Lou Bagel's avatar
Lou Bagel
Unread hot topic
0 Favourites
Best Indie Game You Ever Played?
56 22,318
Kobusvdwalt's avatar
Kobusvdwalt