Fixes and main menu preparations

For some reason ttf2bmp.exe was not added to the references, so I added that.
Added some variations of the Options and MainMenu button textures.
Added some english localization tokens and fixed the Indonesian language from displaying as "Indonesia"
Tweaked the colors of the main menu
Added an option main menu icon
Fixed a bug where the game would crash when loading a gamemode without a Moves folder.
Set offsetmap quality (update frequency) to max by default.
This commit is contained in:
Jasper "JappaWakka" Speelman 2021-08-30 19:46:39 +02:00
parent f4b87da3ee
commit 9b8df67916
10 changed files with 106 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 727 B

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -1,5 +1,95 @@
language_name,English
---
---
---
Global:
global_join,Join
global_play,Play
global_refresh,Refresh
global_new,New
global_add,Add
global_edit,Edit
global_remove,Remove
global_back,Back
global_please_wait,Please wait
global_loading,Loading
global_game,Game
global_login,Log in
global_male,Male
global_female,Female
global_yes,Yes
global_no,No
global_accept,Accept
global_cancel,Cancel
global_gamemode,GameMode
global_clear,Clear
global_save,Save
global_close,Close
global_on,On
global_off,Off
global_enabled,Enabled
global_disabled,Disabled
global_player_name,Player name
global_badges,Badges
global_play_time,Play Time
global_location,Location
global_money,Money
global_points,Points
global_name,Name
global_order,Order
global_filter,Filter
global_reset,Reset
global_pokemon_type_normal,Normal
global_pokemon_type_fire,Fire
global_pokemon_type_flying,Flying
global_pokemon_type_fighting,Fighting
global_pokemon_type_water,Water
global_pokemon_type_grass,Grass
global_pokemon_type_poison,Poison
global_pokemon_type_ground,Ground
global_pokemon_type_electric,Electric
global_pokemon_type_psychic,Psychic
global_pokemon_type_rock,Rock
global_pokemon_type_ice,Ice
global_pokemon_type_bug,Bug
global_pokemon_type_dragon,Dragon
global_pokemon_type_ghost,Ghost
global_pokemon_type_dark,Dark
global_pokemon_type_steel,Steel
global_pokemon_type_fairy,Fairy
global_pokemon_type_blank,Blank
global_true,True
global_false,False
global_select,Select
global_summary,Summary
global_item,Item
global_use,Use
global_give,Give
global_take,Take
global_toss,Toss
global_switch,Switch
global_pokemon_move_fly,Fly
global_pokemon_move_rocksmash,Rock Smash
global_pokemon_move_ride,Ride
global_pokemon_move_flash,Flash
global_pokemon_move_cut,Cut
global_pokemon_move_teleport,Teleport
global_pokemon_move_dig,Dig
global_used,Used
global_apply,Apply
global_eggs_cannot_hold,Eggs cannot hold items.
---
General:
HP,HP
PP,PP
Lv.,Lv.
Level,Level
Attack,Attack
Defense,Defense
Special_Attack,Special Attack
Special_Defense,Special Defense
Speed,Speed
---
MainMenuScreen:
main_menu_continue,Continue
main_menu_load_game,Load Game
@ -24,8 +114,8 @@ language_menu_back,Back
PacksScreen:
pack_menu_up,Up
pack_menu_down,Down
pack_menu_toggle_on,Enable
pack_menu_toggle_off,Disable
pack_menu_toggle_on,Enabled
pack_menu_toggle_off,Disabled
pack_menu_information,Information
pack_menu_enabled,Enabled
pack_menu_apply,Apply

Binary file not shown.

After

Width:  |  Height:  |  Size: 534 B

View File

@ -4,7 +4,7 @@
Public ShowDebug As Integer = 0
Public ShowGUI As Boolean = True
Public GraphicStyle As Integer = 1
Public LoadOffsetMaps As Integer = 10
Public LoadOffsetMaps As Integer = 1
Public ContentPackNames() As String = {}
Public ViewBobbing As Boolean = True
Public LightingEnabled As Boolean = True
@ -172,7 +172,7 @@
"ShowDebugConsole|0" & Environment.NewLine &
"ShowGUI|1" & Environment.NewLine &
"GraphicStyle|1" & Environment.NewLine &
"LoadOffsetMaps|10" & Environment.NewLine &
"LoadOffsetMaps|1" & Environment.NewLine &
"Language|en" & Environment.NewLine &
"ViewBobbing|1" & Environment.NewLine &
"GamePadEnabled|1" & Environment.NewLine &

View File

@ -14,7 +14,7 @@
End Get
End Property
Private Shared ReadOnly _gradientColor As Color = New Color(42, 167, 198)
Private Shared ReadOnly _gradientColor As Color = New Color(99, 204, 255)
Private Shared ReadOnly _gameJolt_gradientColor As Color = New Color(45, 45, 45)
Public Shared ReadOnly Property GradientColor() As Color
@ -72,7 +72,7 @@
End Get
End Property
Private Shared ReadOnly _lightColor As Color = New Color(125, 204, 216)
Private Shared ReadOnly _lightColor As Color = New Color(111, 249, 255)
Private Shared ReadOnly _gameJolt_lightColor As Color = New Color(70, 70, 70)
Public Shared ReadOnly Property LightColor() As Color
@ -101,7 +101,7 @@
End Get
End Property
Private Shared ReadOnly _accentColor As Color = New Color(30, 139, 227)
Private Shared ReadOnly _accentColor As Color = New Color(3, 155, 229)
Private Shared ReadOnly _gameJolt_accentColor As Color = New Color(204, 255, 0)
Public Shared ReadOnly Property AccentColor() As Color

View File

@ -27391,6 +27391,9 @@
<Content Include="Content\GUI\RenameRival.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Content\Textures\UI\OptionsMenu.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Content\Textures\UI\TrainerCard\Back.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>

View File

@ -19,10 +19,12 @@
LoadedMoves.Clear()
If GameModeManager.ActiveGameMode.IsDefaultGamemode = False Then
If System.IO.Directory.Exists(GameController.GamePath & "\" & GameModeManager.ActiveGameMode.ContentPath & "\" & PATH) = True Then
For Each file As String In System.IO.Directory.GetFiles(GameController.GamePath & "\" & GameModeManager.ActiveGameMode.ContentPath & "\" & PATH, "*.dat")
LoadMove(file)
Next
End If
End If
If LoadedMoves.Count > 0 Then
Logger.Debug("Loaded " & LoadedMoves.Count.ToString() & " GameMode move(s).")

View File

@ -95,6 +95,7 @@
<Content Include="Content\Models\boat2\Boat.png" />
<Content Include="Content\Models\building\textures\P3DBuilding.png" />
<Content Include="Content\Models\truck2\140l155.jpg" />
<Content Include="Content\ttf2bmp.exe" />
</ItemGroup>
<ItemGroup>
<Reference Include="MonoGame.Framework, Version=3.7.1.189, Culture=neutral, processorArchitecture=MSIL">