rpgtkoolmv / corescript

http://www.rpgmakerweb.com/products/programs/rpg-maker-mv
MIT License
311 stars 75 forks source link

Load sounds faster and faster #143

Closed krmbn0576 closed 6 years ago

krmbn0576 commented 6 years ago

Loading sounds of RMMV is very slower than the past RPG Makers. So, I finally improve the speed of loading sounds :-)

  1. If the game works on the web browsers and the server accepts http range requests, load and decode multiply.
  2. Otherwise (the game is local, or the server rejects http range requests), load once and decode multiply.

In PC (desktop & laptop), you can hear the sounds almost on time! 😇 In mobile phones, you still feel a little delaying, but much better than before.