Commit Graph

27 Commits

Author SHA1 Message Date
JappaWakka 9a7543fb33 Fix for StrengthRock softlock 2023-03-09 17:14:56 +01:00
JappaWakka 19d88a3bda Tweak horizontal camera speed for controllers 2023-02-27 20:12:18 +01:00
JappaWakka ac5fa28483 Added arg to force camera rotation (in 3rd person) 2022-11-02 11:49:46 +01:00
JappaWakka 9312aa18c3 Fix switch perspective with PreventMovement 2022-11-02 10:42:30 +01:00
JappaWakka 39d8e1b59f Also can't switch perspective with PreventMovement 2022-11-01 18:40:21 +01:00
JappaWakka 8f7c725b95 You can now scroll using the gamepad triggers 2022-11-01 17:37:38 +01:00
JappaWakka 169ce4c709 Fixed collision detection bug 2022-10-13 13:26:01 +02:00
JappaWakka 653fc249d1 Added PreventMovement property and commands
"@player.preventmovement" Makes the player unable to move, while still keeping control over the menu, interactions etc.
"@player.allowmovement" Gives the player back their ability to move.
2022-09-29 21:27:44 +02:00
JappaWakka f8b74bf86d Fix for wrong camera direction switch to 1stperson 2022-09-19 15:49:14 +02:00
Jasper "JappaWakka" Speelman dba1e721d6 No view bobbing anymore when sliding on ice 2022-09-16 17:56:30 +02:00
JappaWakka 7eb7805dcf Added constructs for checking player movement
Also fixed the "<player.velocity>" construct and reset the player's movement speed in the teacher script in violet city
2022-06-11 15:01:16 +02:00
JappaWakka 7ac1e5b5fb Fixed locking movement with debugwalk key 2022-06-06 13:51:51 +02:00
JappaWakka c7a9e7c4df Fix for scriptblock rotation bug 2022-04-23 18:50:10 +02:00
JappaWakka 87210c3ed6 Fix for run speed also being used for surfing 2022-04-19 11:49:17 +02:00
Jasper "JappaWakka" Speelman e62c49b7bb Potential bugfix for 2x debug move on water 2022-04-07 12:01:32 +02:00
Jasper "JappaWakka" Speelman 11a8b632d0 Fixed going up slideblocks speed 2022-04-03 21:04:25 +02:00
JappaWakka a654d80a85 Using the running shoes and using ctrl to walk through walls in sandbox and debug mode is not a toggle instead of a hold 2021-10-13 20:18:26 +02:00
JappaWakka bc3bb99e33 Sandbox Mode Camera QoL fixes
It is now possible to move the camera in third person with the arrow keys when the savegame is in Sandbox Mode to make mapping easier for people who don't wanna build the source code
2021-09-27 23:26:37 +02:00
Jasper "JappaWakka" Speelman 22bf0afdce Rotation speed multiplier of First Person camera slightly increased
From 35.0F to 40.0F
2021-09-25 19:57:08 +02: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 8c9296ed1a.

* 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
CaptainSegis 7891cfd77d Disabled toggle third person from the new game screen. 2019-01-13 12:06:43 -05:00
nilllzz 6e7032f2ae only reset mouse pos when needed 2019-01-11 20:22:01 +01:00
CaptainSegis 9cb32c3cc5 Added some debug messages (they are commented in OverworldCamera.vb). Small changes. 2019-01-11 13:58:43 -05:00
CaptainSegis 7b8e781dce - Added missing houses in Six and Seven Island.
- Implemented @NPC.dance and @Player.dance commands.
- Implemented the CameraDistanceDelta tag, which allows entity CD to be adjusted manually.
2018-08-28 19:34:58 -05:00
nilllzz a2cef30a50 change title screen background 2018-02-24 09:32:04 +01:00
nilllzz fcdcbad6c9 fix music, always summer/day in main menu 2018-02-24 01:20:42 +01:00
nilllzz a1786d5181 literally touch every file reorganizing the solution 2018-02-21 16:34:06 +01:00