Forum rules - please read before posting.

Disable Movieclip from start?

Hi!

I want to have an VideoClip to play fullscreen when i touch the NPC´s Trigger.
(To create a Horror game stylr "Kill animation")

But i dont know how i should hide/disable the clip first, so that i later can use the engine-Play movie clip to start the animation with the trigger´s actionlist?

RawImage
https://imgur.com/PnAHGAp

RawImage INSPECTOR
https://imgur.com/vVaNaaK

VideoPlayer INSPECTOR
https://imgur.com/SmqZQKv

Video output (render texture)
https://imgur.com/PbXzz0w

Comments

  • If the video is part of a Menu, do you want to hide the entire Menu until this time - or just the RawImage?

    If the entire Menu, set its Appear type to Manual, uncheck Enabled on start?, and use the Menu: Change state Action to turn it on.

    If just the RawImage, link it to a Graphic element in the Menu Manager, uncheck Is visible, and use the Menu: Change state Action to show the element.

  • Ok, thank you.
    The second option i think.

    If i could have a meny called "Video Menu" for example with different graphics each containing a video (per different type of monster kill) which i could then activate separatly depending on what monster that "kills/gets" the player...

    Did i completely missunderstand your instructions or am i going in the right direction :smile: ?

    Video, how it looks right now,
    https://imgur.com/6LAIwJn

    Raw image inspector
    https://imgur.com/ha9WgjJ

    Video player inspector (unsure of the settings i should have in this setup)
    https://imgur.com/wla06IU

    Video Menu, with a videographic
    https://imgur.com/N3gMci5

    (I didn´t expect playing a video would be the most confusing part about making this game :neutral: )

  • Looks OK from what I can see - but since you're not playing the video on awake, you need to separate command it to play at the correct time. You can do this with an Engine: Play movie clip Action after Menu: Change state Actions to both turn on the Menu and show the Element.

    I didn´t expect playing a video would be the most confusing part about making this game

    If the video is to be played full-screen, with no other elements overlayed while doing so, you don't need a Menu or Render Texture. Setting the Video Player's Render Mode to Camera Near Plane is enough. Place it in the scene and use the Engine: Play movie clip Action to play it.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.