Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Commands Confusion (MV User)

A topic by VasantJ created Oct 05, 2023 Views: 248 Replies: 13
Viewing posts 1 to 3

I am working on a Horror Game with an Animated BG video as a parallax to give a creepy vibe.

So, I just bought this for RMMV but I am having trouble playing the video with the textbox and portrait in front of it. Can you give me the Script Command for playing a 1296*720 video (Trial.webm) with no transparency and looping on?

(I bought it with my other account Blen***_Rena*******)

https://synrec.itch.io/rpg-maker-mvmz-video-player

This is the plugin I am talking about.

Developer

What script call are you using to modify video?

Here's the Modify Script Command:

SceneManager.modifyVideo(1, 0, 0, 720, 1296, 1, true, true)


Here's the Script Command to play the video:

SceneManager.startVideo('Trial', false, 1, 0, 0, 1296, 720)


What am I doing wrong?

For r, I used true.

For below, I used true.

For  below_object, I left it blank.

Also, I noticed something else. The Cache is not clearing despite the Script Command:

SceneManager.clearReserveVideos()

Everytime the video is played,  more RAM is used. Eventually, it will crash if it keeps consuming RAM.

Developer

You need to modify the video to change what it plays below

I don't understand. Can you give me the Script command for it using the reference given above? I just want to play the video below the TextBox, Text, Portraits, and choices.

Developer

Did you call the modify command before or after the video is playing?

Before.

Developer

It needs to be called after

Ok, I called it after and it fixed it. I think I was misunderstood by the demo since it called Modify first and then played the video.

BUT ALSO, THE CACHE IS NOT CLEARING OUT. Each instance being played stacks on one another eventually filling the RAM.

Ok, I called it after and it fixed it. I think I was misunderstood by the demo since it called Modify first and then played the video.

BUT ALSO, THE CACHE IS NOT CLEARING OUT. Each instance being played stacks on one another eventually filling the RAM.

Developer

also, do not set below_object to true. The value for this is not boolean. You can leave this out entirely.