59 Commits

Author SHA1 Message Date
JappaWakka
62fbec7c43 Don't log music missing when checking night music 2025-03-17 17:34:20 +01:00
JappaWakka
a7bb36f10c Fix some music memory leaks 2025-02-28 11:01:53 +01:00
JappaWakka
540186d2ea Jump Ledge sound plays later depending on speed 2025-02-01 18:05:38 +01:00
JappaWakka
6908c4a72d Fix battle intro music looping + command fix 2024-07-25 10:43:16 +02:00
JappaWakka
b48debe4e2 Prevent next song playing before fade done 2024-05-15 17:08:45 +02:00
JappaWakka
873411d40e Prevent Music from deleting playlistsong if fading 2024-05-15 17:03:42 +02:00
JappaWakka
14dd28290c Fix Music skipping intro and only playing intro 2024-05-13 19:00:20 +02:00
JappaWakka
344b65fe7e Fix @Music.Stop not working 2024-02-29 12:38:33 +01:00
JappaWakka
bb78bb3543 Fix battle music crashes 2024-02-25 18:52:28 +01:00
JappaWakka
8fb00475af Hopefully fix some potential music crashes 2024-02-14 12:12:07 +01:00
JappaWakka
864fa7f508 Implement fade into the next song in command 2023-11-28 09:53:20 +01:00
JappaWakka
22edf29445 Fix bug with music that shouldn't loop still does 2023-11-26 15:14:03 +01:00
JappaWakka
d878559df2 Correct variable name case 2023-08-31 16:39:40 +02:00
JappaWakka
71bd0eaaef Hopefully fix a music volume bug 2023-07-21 19:30:18 +02:00
JappaWakka
a90ef6e6d8 A lot of progress on the softcode forms 2023-07-06 20:14:44 +02:00
JappaWakka
0e8170a449 @Music.ForcePlay(song) & @Music.Unforce
@Music.ForcePlay(song)
Changes the currently playing music to a new one and prevents the music from being changed by warps or surfing/riding and such.

@Music.Unforce
Allows warps and surfing/riding etc. to change the music again.
2023-06-17 11:37:08 +02:00
JappaWakka
3414d31b62 Failsafe for no usable audio devices 2023-02-09 13:44:35 +01:00
JappaWakka
450b060271 Made missing intro song only log on debug 2023-01-13 14:12:46 +01:00
JappaWakka
57e145b668 Added argument to play a song that doesn't loop 2022-10-18 16:02:28 +02:00
JappaWakka
95a88b5bc8 Fixed Johto_Rival_Intro song name so it works 2022-09-13 21:02:28 +02:00
JappaWakka
fd93f96cbc Rewrote a huge part of musicplayer, works now! 2022-09-13 21:01:55 +02:00
JappaWakka
0392d7f0fe Fixed ContentPack battle music bug 2022-09-13 10:51:06 +02:00
JappaWakka
92352bcf27 Fixed bug with wrong SFX paths
Causing ContentPacks to load slower
2022-08-11 21:19:59 +02:00
JappaWakka
82c18f473a Fixed bug with contentpack sfx names (ToLower) 2022-08-10 19:48:38 +02:00
JappaWakka
8a8e8fe8c3 Fixed MainMenu not resetting or applying Textures
After quitting a gamemode or after applying contentpacks
2022-08-01 17:19:23 +02:00
Jasper "JappaWakka" Speelman
724a4a642d Fixed music silence when no intro Content Packs 2022-07-22 13:54:23 +02:00
JappaWakka
ea0a6aca7b Fixed contentpack music not playing without intro 2022-07-06 18:24:03 +02:00
JappaWakka
76484c89b1 Fixed the fast forward/slower music bug 2022-06-26 20:21:10 +02:00
JappaWakka
0ab2493be1 Minor fixes
Added missing RunMode option in the gamejolt save
Fixed error in rewardssystem script
Fixed typo in soundmanager error
Fixed typo in messagebox file validation error
2022-06-04 11:04:00 +02:00
JappaWakka
797cd45085 Battle related music bugs fix 2022-04-19 18:13:18 +02:00
JappaWakka
d96fdbd80a
Fixed bug with battle intro music 2022-03-26 11:43:38 +01:00
JappaWakka
1d4087aa2a Fixed music crashes
* Fixed crash when trying to play an intro of a battle song that wasn't an ogg
* Fixed crash when trying to resume the music after using the command @music.stop
2022-02-03 22:20:43 +01:00
JappaWakkaP3D
9b8022897c BattleIntro CustomBattleMusic fix 2021-10-26 23:43:23 +02:00
JappaWakkaP3D
0e49fbfd00 Contentpack music fix
When a song that didn't have an intro in the gamemode has one in a contentpack, the game didn't check for that. Now it does
2021-10-23 22:52:53 +02:00
JappaWakka
4132bbe1c0 Fixed the music gap between BattleIntroScreen and BattleScreen
Also replaced the johto_wild music with a well-looped one
2021-10-17 22:13:18 +02:00
JappaWakka
e6e44cec29 Added .mp3 & .wma support for the music engine 2021-10-13 18:08:18 +02:00
JappaWakka
799792e49c Various Fixes & Improvements
Fixed PlayerSkins displaying incorrectly in the new intro.

Fixed position of Pause Menu text.

Songs don't fade in by default now except with the @musicplayer.playfade(songname) command

You can now also close the Options row in the Main Menu with the "Up" or "Move Forward" keys

Improved the timing of the Battle intro screens

Renamed Badge_Aquired to Receive_Badge for consistency
2021-10-03 21:18:25 +02:00
Daniel S. Billing
8cb50ea28a Added a fix for #59 2021-01-24 17:23:16 +01:00
JappaWakka
c09656fe38 Restarting Music Fix
Fixed the music from restarting after unpausing or exiting the menu
2021-01-24 16:58:10 +03:00
JappaWakka
621a6bc364 [MusicManager Fixes]
Fix for the game taking longer to resume after pausing on a map without music
Fix for audible gaps between intros and regular songs
2021-01-21 10:36:55 +03:00
aragas
b10415ccf0 tabulation 2020-11-06 15:10:24 +03:00
JappaWakkaP3D
3799887e15 Fixed a bug where the fix for the volume would cause music loops to stop working 2020-11-06 15:10:24 +03:00
JappaWakkaP3D
620f4d8325 Actually fix the music sharing its volume with the soundeffects 2020-11-06 15:10:24 +03:00
darkfire006
b58d3411b3 hatch music fix 2020-08-03 00:02:18 -05:00
darkfire006
b77ea6890a some Gen 8 data files + a small music fix 2020-07-13 22:10:50 -05:00
JappaWakka
fae7349356
Fix audio engine & contentpacks (#35)
* Replaced existing Gen 2 SFX with better sounding ones (no ugly reverb)
Replaced MediaPlayer with NAudio(and NAudio.Vorbis) for playing music in order to fix random stopping issues.
The game now directly loads .ogg files instead of the .wma/.xnb combination from before.
ContentPacks are now able to replace Music and SFX again (I haven't added a menu yet for choosing ContentPacks).
To make older GameModes work with current versions, you can add the GameMode property EnterType and set it to "1", this will make the game use the older 2D NewGameScreen.

* Delete GameController.vb

* Add gamecontroller.vb back

* Fix sfx missing

* Battleintro doodle now doesn't loop anymore (for no trainer)
Changed the shutter sound (aka Large Door sound) to something more large door-y
Made the enter sound slightly louder
The enter sound now plays when going through any warp to or from an indoor map (including falling through holes)
The flying sound effect is played earlier in the animation after selecting a location
Changed played sound effect when using the Escape Rope to "teleport" instead of "destroy"
The bump noise now also plays when bumping into something in first person
Fixed small gap between the end of the intro song and the start of the main song
Replaced some songs with better songs

* Fixed some more intro issues

* Forgot to change a thing

* Fixed an error where the main music would play, ignoring the muted musicmanager.

* fix indenting in musicmanager

* The music player will now only start playback on a new song if the music player is not muted, fixed the end time calculation of the intro of a song after muting, Music can't be unmuted now as long as a sound effect plays that stops the music.

* Fixed league restplace position, fixed sound effects sharing the volume slider of the music, sound effects are now also muted when pressing M, changed music on/off popup to audio on/off, removed bump delay in first person, added more control on whether played songs should be looping or not.

* Fixed some more scripts that turn on thirdperson mode but don't check if it was on before or set it back to what it was before afterwards, also fixed a small error in creditsscreen.vb.

* Fixed indenting error in musicmanager.vb, fixed an error of mine where the loopsong parameter would be seen as the playintro parameter.

* Added more music commands, added quite some menu select noises, will add more later

* More select sound effects!

* Fix music not resuming after soundeffect

* Trainer using item now plays the single_heal soundeffect

* Pokémon cries now sound louder

* Possibly fixing crash when playing Pokémon cry at volume higher than 0.71

* Added better quality Pokémon cries, made random overworld cries slightly less loud, added cries for 719 and 720.

* Sound effects now sound louder

* Revert "Added better quality Pokémon cries, made random overworld cries slightly less loud, added cries for 719 and 720."

This reverts commit 8c9296ed1a82144d17f303a52c3f2e9e65a5bfea.

* Fixed the cause of why the title screen music plays even when the game is muted

* Tabs to spaces

* Revert

Co-authored-by: darkfire006 <blazer257@live.com>
Co-authored-by: JappaWakkaP3D <66885565+JappaWakkaP3D@users.noreply.github.com>
Co-authored-by: JappaWakkaP3D <jasper.speelman@outlook.com>
Co-authored-by: Vitaly Mikhailov <personal@aragas.org>
2020-07-09 20:59:42 +03:00
darkfire006
94ca5e3a73 pokemon cries slash didnt match for no apparent reason 2019-09-28 22:12:57 -05:00
nilllzz
71528d85a1 maybe fix the battle music 2019-01-13 00:55:17 +01:00
CaptainSegis
6925c74aa3 Lazy "fix" towards intros being cut by about 0.1 seconds 2018-10-02 00:49:58 -05:00
CaptainSegis
3053a55b9e Fixed some map's music loop. Fixed @Music.Play(no_music). 2018-10-01 20:38:26 -05:00