Commit Graph

79 Commits

Author SHA1 Message Date
JappaWakka dfbaaf2b33 BattleScreen + BattleCatchScreen softlock fixes 2023-01-13 14:46:44 +01:00
JappaWakka f40413e4b2 Fixed bug related to water animations 2022-09-22 12:13:46 +02:00
JappaWakka 43bfc04eff GameModes can now have different BerryData 2022-09-19 17:48:36 +02:00
JappaWakka d3c7c07a18 Removed contentpath from GameMode selection 2022-09-07 21:26:57 +02:00
JappaWakka 3cd4b43c4b Contentpacks with fonts work better now! 2022-09-07 17:13:33 +02:00
JappaWakka 531137c157 Fix softlock when pausing during catching
And a minor typo in the code
2022-08-18 14:55:52 +02:00
JappaWakka d21f97c7b5 Various visual fixes
Fixed Pokémon icon size in various screens
Aligned the partially transparent black shape of the JoinServerScreen better
2022-08-09 20:13:03 +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 d1698db4ba Fix tokens not being reload after exiting gamemode 2022-07-22 14:46:18 +02:00
darkfire006 638de718ed fix new game end of intro and wrong default gamemode 2022-06-19 16:04:35 -05:00
JappaWakka 0bf30358da Rival rename texture bug fix 2022-06-17 16:31:05 +02:00
JappaWakka dab417e190 DiamondDive WaterFall fix and other fixes
Added @player.stopmovement before waterfall scripts to make sure the player doesn't move further than they should
Fixed spelling error in code: NotifcationTypes -> NotificationTypes
Added commands to ScriptLibrary that were missing
2022-06-14 18:12:29 +02:00
JappaWakka c6c7ef236d Fix for texture bugs
Rival rename texture bug, potential Trainer texture bugs and Player rename texture bugs fixed
2022-06-11 14:46:21 +02:00
JappaWakka 747de3e221
Merge branch 'master' into custommoves 2022-06-10 10:26:10 +02:00
JappaWakka 41615fb562 Fixed GameJolt save gender saving and loading bug 2022-06-09 11:13:50 +02:00
JappaWakka 537226be76 Map fixes and File Validation message fix 2022-06-04 15:12:29 +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 caee81bc13 Possible fix for gj buttons mouse not working bug 2022-06-04 09:44:46 +02:00
darkfire006 8d822e410e y=0 fix button misselect 2022-06-03 16:10:22 -05:00
JappaWakka e0d81272e2 Forgot to change this number 2022-06-03 20:41:08 +02:00
JappaWakka 0f0ad57a4f Fix for gamejolt profile buttons 2022-06-03 20:38:45 +02:00
JappaWakka 80432aea46 Fixed bug with localization tokens (description)
When returning to the main menu, the localization tokens were not getting reset to their default values.
2022-06-02 16:02:54 +02:00
JappaWakka c1759499e4 Fixed the bug in the description
If you use the @environment.setdaytime(int) command and go back to the main menu, the daytime does not change reset to the system time, causing the main menu to show the wrong background color (e.g. Morning while it is evening)
2022-05-24 22:20:58 +02:00
Jasper "JappaWakka" Speelman 2153f34aa0 Pause screen scales with window size 2022-05-14 15:03:12 +02:00
JappaWakka e187747ef8 Party display improvements
* Positions and rotation origins of Pokémon icons improved in Party Screen
* Pokémon in Main Menu now display their correct form (e.g. Unown showing the correct letter)
2022-04-16 18:24:26 +02:00
JappaWakka 5cda771e81 Fix for animations not updating while pausing 2022-04-16 18:20:53 +02:00
JappaWakka 35ff0a601d Fix for NewGame camera updating bug 2022-04-15 16:34:55 +02:00
Jasper "JappaWakka" Speelman 5a91f9f0a7 Options Screen and Pause Screen improved
* When a button is selected in the pause screen, the font now becomes white with a black shadow
* Cursor movement and scroll bar usage bugs fixed
2022-04-14 20:16:29 +02:00
Jasper "JappaWakka" Speelman b3b46e97ac Made button text color white if selected 2022-04-11 20:02:16 +02:00
JappaWakka 988d54d1a6 Possible fix for escape button inputfield crash 2022-03-31 21:14:42 +02:00
JappaWakka cc4203b150 Made the 3d intro screen auto-load custom moves
Just like the old 2d intro screen
2022-03-29 18:58:34 +02:00
JappaWakka 2c7fbf8364 DayTime, Level & PlayerSkin improvements
* Changed the DayTime enum name to DayTimes for consistency with other enums like Seasons
* Changing the EnvironmentType or WeatherType will now not reset back to the default when Reloading a map with the R key (Warping or loading a different map normally does reset those properties)
* @level.setdaytime(int) is now @environment.setdaytime(int), which sets the DayTime permanently across maps. Setting the daytime to any other value than 1 2 3 or 4 will reset the daytime to the default one
* Added command @player.setskin(name) which will permanently change the player's skin, unlike @player.wearskin(name) which only changes the skin temporarily.
2022-02-17 13:46:15 +01:00
JappaWakka eea9d543be Improved NewGameScreen and NewNewGameScreen
Ported skin selection and naming screens from 3d newgame intro to 2d newgame intro and made sure that there are no bad symbols in the foldernames.
2022-02-16 21:47:00 +01:00
JappaWakka bbfc4acdd8 Fixed Some Bugs
* Skin genders in the new game intro now grab the correct localization string
* Badges rotate around the center of their texture's width and height, which fixes the bug where the badges would rotate off-center when the texture resolution was different.
* The selected button background color in the GameMode selection screen is now light and the unselected buttons are dark instead of the other way around.
2022-02-14 19:28:21 +01:00
JappaWakkaP3D 526c226e22 Added shadow to the JoinServerScreen title text 2021-11-26 21:58:28 +01:00
JappaWakkaP3D ba313f78ae Added & Changed Tokens + Added functionality for genderless players
Options Menu and Main Menu can be translated now
2021-10-22 20:22:13 +02:00
JappaWakkaP3D 9bde9a71ed Main Menu & Options Menu Fixes and Improvements
* Gave enabled Content Packs better feedback by making the text green if it's enabled
* Removed the "enabled" suffix from enabled Content Packs
* Changed the "enabled:no/yes" text in the Content Pack menu to "Enable" when the selected Pack is  disabled and "Disable" when the selected Pack is enabled
* Fixed mouse clicks registering in a different location on the Content Packs menu
When clicking any button on the row above the options submenu while the options submenu is opened, I made it close the submenu and move to that button.
* Added visual keypress feedback when pressing a commandbutton. The key will revert back to it's regular look when the mouse/keyboard/controller button is released.
* Fixed the jump when moving the cursor in the options menu from a slider to a button and vice versa.
* added an "apply" button to the main menu's option menus
* Made the "back" buttons in the main menu's option menus  not apply the changes.
* Made the language change when you scroll through the languages. Tokens in other languages need to be updated!
2021-10-22 18:13:33 +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 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
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 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
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 c4ab6604a6
Merge pull request #73 from P3D-Legacy/mainmenu-rework
Main Menu Rework
2021-09-29 16:59:40 +02:00