Commit Graph

111 Commits

Author SHA1 Message Date
JappaWakka 2c3f46cd2e Updated everything to the new Battle Animations system and the newest commands
Updated Attacks:
Ember, Absorb, Growl, Pound

Updated status effects & shared animations:
Poisoned, Switching Pokémon (own and opponent's)
2021-10-22 12:21:13 +02:00
JappaWakka 168a855ed0 I was not halfway done
I've updated Poison Sting, through which I realized I hadn't taken some usage cases into consideration, so the system should be more robust and useful now
I've also updated the animation for Switching In your own Pokémon
and I've added an animation for when the Pokémon breaks out of the ball when you're trying to catch it
2021-10-22 12:21:12 +02:00
JappaWakka 7ff7f96a47 Battle Animation System Rework about halfway done
Updated to work with the new animation system:
- Catch animation
- Burn animation
- Attack: Tackle
2021-10-22 12:21:12 +02:00
JappaWakka b95d4d1c69 Hit Animation + Restructure of attack sound effects + Absorb animation
Attack sound effects are now in the folder of the type of their attack

Pokémon flicker briefly when hit
2021-10-22 12:21:12 +02:00
JappaWakka 2941da57dd Structures inside structures works now, new Healing Machine & restart music when applying contentpacks fix 2021-10-19 20:40:37 +02:00
JappaWakka 6d30a0ebdf Added @screen.showmessagebox(text|r.g.b|r,g,b|r,g,b) command and fixed blurry scaling 2021-10-18 21:36:26 +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 a85849a52c Added @screen.showimage(texture,[sound],[x],[y],[w],[h]) command
To show an image like with @screen.showpokemon but one that's not necessarily the texture of a Pokémon, like the fossils at Pewter City, which I've also added textures for. Arguments in the title of this commit between brackets are optional.
2021-10-17 17:44:01 +02:00
JappaWakka 43f3e8ef6a Second attempt at GameJolt description box color fix 2021-10-15 22:26:35 +02:00
JappaWakka 72fed3aa22 Main Menu & Option Menu fixes and improvements
PressStartScreen:
* Fix for GameJolt Profile not loading automatically
* Hopefully fixed GameJolt Profile's description box having the wrong color sometimes
* Hopefully fixed GameJolt Profile gender buttons having the wrong position.
* Made the description box in the GameMode selection menu expand vertically but not horizontally

NewOptionScreen:
* Removed the broken automatic position and scale adjustments at lower resolutions
2021-10-15 22:10:37 +02:00
Daniel S. Billing 659480f6d8 Renamed "Xbox 360 Controller" to "Xbox Controller" 2021-10-14 21:32:47 +02:00
JappaWakka 71455b92a4 Fix for PokéBall in BattleCatchScreen not reaching its destination and giving the catch sound the right name 2021-10-13 21:23:07 +02:00
JappaWakka 3fde479b5a Added PokéBall break sound that's different from the open sound and added "Success_Catch" jingle that plays when catching a Pokémon 2021-10-13 20:27:47 +02:00
JappaWakka 6ee71755af Fix for incorrect Main Menu scaling at lower resolutions
Also made the contents of the pausescreen at least stay inside the window at lower resolutions
2021-10-11 21:49:24 +02:00
JappaWakka 0c76e718dd Options Menu & Join Server Screen fixes
Fixed ContentPacks menu layout

Fixed the cause of the Options Menu crashing

Replaced the MiniFont in the JoinServerScreen with the InGameFont

Adjusted positioning of text in AddServerScreen
2021-10-06 00:11:56 +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
JappaWakka 18c7f59fa0 Big Overworld Sprites Change + old NewGameI intro fix
Made it possible for Pokémon, NPCs and players to use textures that have 2 frames (1 - 2 - 1 - 2), 3 frames (1 - 2 - 1 - 3) or even 4 frames (1 - 2 - 3 - 4) with the numbers between the brackets being the order of the frames

- All default pokémon overworld sprites are now 2 frames wide

- Removed an error in the old NewGame intro

- Pokémon don't animate unless moving or when in battle
2021-10-01 17:06:41 +02:00
JappaWakka dd34d9731c CanMuteMusic = CanMuteAudio & other tweaks
- CanMuteMusic property in source code renamed to CanMuteAudio

- Old New Game intro and Localization errors (made by me) fixed
2021-10-01 15:24:54 +02:00
JappaWakka 9def5642e8 Lots of QoL changes
- You can now run up and down a slideblock.
- NPC movement type Straight is now less random and more smooth.
- When renaming the rival, the skin visible at the top changes to whatever skin is set as the rivalskin. This way, the rival is not stuck with one skin. This can be useful when the rival's skin changes based on the player's gender for example.
- Text messages that contain <token.tokenname>, where tokenname is a string from the localizations files, have the part between the <> replaced with that string now.
- Text messages that contain <button.buttonname>, where buttonname is one of the controls defined in "Saves\Keyboard.dat", will now have the part between the <> replaced with the key assigned to that control.
- Players can now be genderless instead of only either male or female in scripts.
- Which skins are available in the intro is now defined in the GameMode's definition file instead of being hard-coded
- Old New Game intro now uses the player skin data from the GameMode definition file
- The Pokémon in the old New Game now doesn't fall too far down anymore
- Scripts adjusted to match the new gender functionality
2021-10-01 15:19:04 +02:00
JappaWakka 51a481da62 Added Audio Menu icon, Added support for GameMode descriptions & GameMode splash screens
Also improved the look of the GameMode menu
2021-10-01 12:44:08 +02:00
darkfire006 6f5d34f0b5 Allow for script determined roamer shinyness 2021-09-30 10:16:26 -05:00
darkfire006 f16fee3a7a Preliminary Destiny Knot implementation
very rough add
2021-09-29 18:08:24 -05:00
JappaWakka bb6181679d Added Controls Menu Icon 2021-09-30 00:18:58 +02:00
JappaWakka 1081595d24 Added ContentPacks & Language Menu Icons, Fixed arrow color, Centered text of mainmenu buttons 2021-09-29 23:47:57 +02:00
JappaWakka cbd7a4ec84 Fixed mouse selection for Language Menu 2021-09-29 17:38:56 +02:00
JappaWakka c4ab6604a6
Merge pull request #73 from P3D-Legacy/mainmenu-rework
Main Menu Rework
2021-09-29 16:59:40 +02:00
JappaWakka cf56508ed0 Content Pack Menu tweaks
whenever you scroll (or press up/down) on the buttons at the bottom, the select sound plays (with a delay so you can't spam it) so the player knows it does something

I also renamed Up and Down to Move Up and Move Down to avoid confusion
2021-09-29 16:29:49 +02:00
JappaWakka 0e8b60cfc4 Options Freezing fix
Fixed OptionsScreen freezing in-game & when clicking Pack Information in ContentPack Menu in the Main Menu
2021-09-29 15:57:29 +02:00
JappaWakka 7583e5d97c PressStartScreen fix
Fixed the issue where when you press a key to go to the main menu while the splash/logo screen was fading in, it would freeze halfway through the fade and you'd have a main menu with a darker background than it should be. Now when you press a key, it just skips the fade before switching the screen to the mainmenu
2021-09-29 14:43:07 +02:00
JappaWakka 106de657f0 Main Menu Crash Fix & Options Menu Cursor Fix
Fixed a crash when moving to the content pack button in the main menu options row while having no savegames.

Fixed the options pointer changing position when resizing the game window.
2021-09-29 14:32:05 +02:00
darkfire006 e5d543c945 mastershinyrate
create global control for shiny rate, update it for standard encounters and breeding and make it script callable
2021-09-29 02:25:17 -05:00
JappaWakka d3bad8913b Options Menu fixes & Mouse Speed renamed
The options are now saved when going back to the main menu

Mouse Speed is now called Camera Speed
2021-09-28 17:50:49 +02:00
JappaWakka 6ca257ce91 Faster Textbox Popup & Menu Font Position & Scale Fixes 2021-09-28 17:30:43 +02:00
JappaWakka 166a150ce4 First Main Menu rework almost done
The options row buttons in the Main Menu now open their respective tab in the Options Menu when selected

The Content Pack Menu is positioned correctly

The Content Pack & Language Menus now fade in and out
2021-09-28 17:20:51 +02:00
JappaWakka ee42876afa Main Menu Work In Progress 28-09-2021
When selecting the Options button at the Main Menu, the top row moves up, revealing the Options row beneath it

When selecting the Options button at the Main Menu, the options row fades in now

The Options row now has the right amount of selectable buttons (4, not 5)

When selecting the Options button at the Main Menu, the top row doesn't reset position now

The distance between Options buttons is now the same as the top row
2021-09-28 15:34:12 +02:00
Jasper "JappaWakka" Speelman 86076944b2 Pause Screen Fixes + Indentation fix
- Fixed crash that occured when pausing the game during the old intro
- Fix weird indentation in warpblock.vb
2021-09-25 00:28:06 +02:00
Jasper "JappaWakka" Speelman b0ca5ab1d9 Options Menu update 2
- Applying ContentPacks works perfectly now and plays the Save sound when done
- ScrollBars in the options menu work correctly again
2021-09-25 00:27:12 +02:00
JappaWakkaP3D 8263bbe390 Main Menu Work in Progress 21-09-2021 2021-09-21 17:45:56 +02:00
JappaWakkaP3D a6713d0c4d Options Menu Update 2021-09-21 17:45:29 +02:00
JappaWakkaP3D 9723820427 SFX & Battle Animations
Ported Battle Animation Code
Ported Battle Animations for Tackle, Pound, Growl, Ember and Poison Sting
Normalized all SFX by Perceived Loudness (-11.0 LUFS)
Renamed and moved a bunch of the SFX so they make more sense
Added a jingle when you register a Phone Number
Added a soundeffect for when an elevator reaches its destination
2021-08-22 16:10:06 +02:00
JappaWakkaP3D 7f3445b727 Added a text message when selecting an item in battle that can't be used
The message says:
This item can't be used in Battle.
2021-08-20 15:10:39 +02:00
JappaWakka 66079e69d0 [Crash fix]
Fixed crash that occurs when exiting to the main menu through the pause screen while the game window is minimized or not active in general.
2021-01-21 10:37:27 +03:00
Ruan Pablo b361c496a2 Unown menu logic fix
Also minor change to join server screen
2020-09-12 04:39:49 -03:00
Zottelchen 01bd460e3c
Updated Eggmoves inheriting to Gen 6 (#28) 2020-07-23 19:54:50 +03:00
darkfire006 eeeeb18e94 fixes from Mach IV 2020-07-22 22:23:38 -05:00
darkfire006 a1ab3786ac Mach III fixes 2020-07-18 20:04:10 -05:00
Vitaly Mikhailov f23ed8caa6
Direct IP connection fix 2020-07-10 19:50:33 +03: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
TheOmegaGhost cc2690dd9d Menu Sprite Reorganization 2020-06-19 23:47:03 -03:00
darkfire006 c695e34b6a Fix issue with Surf Skin 2020-05-27 21:46:46 -05:00