If someone has a way of fix this approach, I would be very grateful! This is some pseudocode of what I would really like to be able to do: code runs on every tick of the game: This would really be the ideal way to make it work. The intro of the second track would fit the end of the first track, so it would be as seamless as possible. I could make one track loop, and when the conditions are met (for instance, the boss's health falls below 40%), I make the track automatically queue into a second track when it would normally loop. Ogg files can already be given custom loop points, so each section could easily have their own custom introduction bits too. That way, the looping part is easy, I just let RPG Maker handle it. FIRST ATTEMPT: First, I thought I might simply cut a song down into separate tracks, and just try to make the songs "queue". I'm looking for something sneaky that catches the player by surprise a little bit! This requires a bit more work, but I think it should be possible. This could be done simply by changing the current track, but this would give you an obvious transition - the previous song would fade out or stop sharply, and the next song would start. Problem is I don't fully understand RPG Maker's toolset for handling music yet, and doing this without completely replacing the default Audio module might not be possible.? I want to try anyway tho! This could for instance allow you to have this grandiose boss battle with a song made out of several different loops, and the loops smoothly transition (maybe with little bridge sections in between them) into each other as the boss becomes more angry and the fight more dangerous. Obviously ogg tags won't be enough to do this, I'll need to handle this within the games' logic. The goal is to have a soundtrack where one section of a song loops in on itself until a certain in-battle condition is met, at which point it ignores the first loop point and plays until the next one, smoothly. Some means of playing around with music playback and loop points manually, as opposed to the simple ogg file loop tags, which normally allow you to have an "intro" section to a song which is not replayed when the song loops. So far I've managed to do everything mostly on my own! I have been trying to make something fun for my game's battle music. I've broken that rule a couple times, but I try not to go too far with it! Like I can use scripting but I try not to replace whole modules and rewrite entire parts of it, or take whole script libraries from the internet to add a functionality. I'd like the final game to still obviously be a RPG Maker game, just a really good one. I've been trying not to do too much scripting and do as much as I can within the limits of the default tools of the engine. Well, I am now tackling one of those, but I'm running out of ideas a bit. It feels pretty limiting at times to have to fit whatever ideas I have in this premade mold, but it has also made for its share of interesting design and logic challenges. ( You can check its dev log here.) Its been a lot of fun to work with something like this.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |