Status
Not open for further replies.

CynicSyndrome

Veteran
Veteran
Joined
May 4, 2017
Messages
57
Reaction score
39
First Language
English
Primarily Uses
RMMV
◆Script:AudioManager.playBgm({ name: $gameVariables.value(1309), volume: $gameVariables.value(1310), pitch: $gameVariables.value(1311), pan: $gameVariables.value(1312)});

I am using this above code to designate BGM to play and settings to use. it works 100% perfectly, but now I need a way to specify a starting point. is it possible to modify this to incorporate a starting position? I have been experimenting with this for some time but have had zero success.
 

Ossra

Formerly Exhydra
Veteran
Joined
Aug 21, 2013
Messages
1,076
Reaction score
858
First Language
English
Primarily Uses
RMMV
@CynicSyndrome Sure! The second argument of the 'playBgm' function is the position the music should start at.

Code:
// Start 'Battle3' BGM at 10 seconds
AudioManager.playBgm({ name: 'Battle3', volume: 50, pitch: 100, pan: 0, pos: 10 }, 10);
 

CynicSyndrome

Veteran
Veteran
Joined
May 4, 2017
Messages
57
Reaction score
39
First Language
English
Primarily Uses
RMMV
Thank you!!!! I knew it was something like this but couldn't get it right! You just made my day!!
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
8,367
Reaction score
5,531
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

Last week I was resting and working mainly on the game!
The current progress of the character.
OxWQ7zO.gif

Pre-programmed character :
-Cleaning
-Magic Book(include blood mode)
-Kettle pot stirring
-Other specimens(flower/bug...etc)
I found a huge spider in my house but it has disappeared and now I'm living in fear and paranoia
It's funny, the only reason I haven't actually released a prototype or demo is not that I don't have one. Hahahahahaha I do, I've had a prototype for months. I'm really just concerned with someone taking it, and putting it up on Steam or something first, then saying it's theirs. I should probably look into setting all that up or something... Then again, I have no ETA on the full game so not sure it's worth it yet.
Pixel Grass Sprites, Questing & Fast Traveling w/ Items, Sci-fi & Distorted Music | RPG Maker News #35

Is it me or while modifying RTP style SV Actor sets to make them taller, the idle animation is the hardest to get right? I think it's because that's the one that you see most so seeing pixels that look wrong make you constantly seek to correct that.

Forum statistics

Threads
111,225
Messages
1,059,394
Members
144,486
Latest member
Slaika
Top