Browse Source

Role Playing Game Tweaks.

CartBlanche 2 weeks ago
parent
commit
3eb87e33ff
25 changed files with 49 additions and 150 deletions
  1. BIN
      RolePlayingGame/.vs/ProjectEvaluation/roleplayinggame.metadata.v9.bin
  2. BIN
      RolePlayingGame/.vs/ProjectEvaluation/roleplayinggame.projects.v9.bin
  3. BIN
      RolePlayingGame/.vs/ProjectEvaluation/roleplayinggame.strings.v9.bin
  4. BIN
      RolePlayingGame/.vs/RolePlayingGame/CopilotIndices/17.14.827.52834/CodeChunks.db
  5. BIN
      RolePlayingGame/.vs/RolePlayingGame/CopilotIndices/17.14.827.52834/SemanticSymbols.db
  6. BIN
      RolePlayingGame/.vs/RolePlayingGame/DesignTimeBuild/.dtbcache.v2
  7. BIN
      RolePlayingGame/.vs/RolePlayingGame/FileContentIndex/7aafb98b-d294-4d60-b833-fae9e6981ac1.vsidx
  8. BIN
      RolePlayingGame/.vs/RolePlayingGame/FileContentIndex/c14a381e-08e3-403c-8f5b-5146bcccb6a1.vsidx
  9. BIN
      RolePlayingGame/.vs/RolePlayingGame/v17/.futdcache.v2
  10. 0 66
      RolePlayingGame/.vs/RolePlayingGame/v17/DocumentLayout.backup.json
  11. 0 66
      RolePlayingGame/.vs/RolePlayingGame/v17/DocumentLayout.json
  12. BIN
      RolePlayingGame/.vs/RolePlayingGame/v17/fileList.bin
  13. 1 1
      RolePlayingGame/Core/Combat/Combatant.cs
  14. 1 1
      RolePlayingGame/Core/Fonts.cs
  15. 1 1
      RolePlayingGame/Core/GameScreens/DialogueScreen.cs
  16. 1 1
      RolePlayingGame/Core/GameScreens/GameOverScreen.cs
  17. 1 1
      RolePlayingGame/Core/GameScreens/ListScreen.cs
  18. 1 1
      RolePlayingGame/Core/GameScreens/PlayerSelectionScreen.cs
  19. 9 6
      RolePlayingGame/Core/MenuScreens/MainMenuScreen.cs
  20. 6 4
      RolePlayingGame/Core/RolePlayingGame.cs
  21. 16 2
      RolePlayingGame/Core/ScreenManager/MenuEntry.cs
  22. 3 0
      RolePlayingGame/Platforms/Android/RolePlayingGame.Android.csproj
  23. 3 0
      RolePlayingGame/Platforms/Desktop/RolePlayingGame.Desktop.csproj
  24. 3 0
      RolePlayingGame/Platforms/Windows/RolePlayingGame.Windows.csproj
  25. 3 0
      RolePlayingGame/Platforms/iOS/RolePlayingGame.iOS.csproj

BIN
RolePlayingGame/.vs/ProjectEvaluation/roleplayinggame.metadata.v9.bin


BIN
RolePlayingGame/.vs/ProjectEvaluation/roleplayinggame.projects.v9.bin


BIN
RolePlayingGame/.vs/ProjectEvaluation/roleplayinggame.strings.v9.bin


BIN
RolePlayingGame/.vs/RolePlayingGame/CopilotIndices/17.14.827.52834/CodeChunks.db


BIN
RolePlayingGame/.vs/RolePlayingGame/CopilotIndices/17.14.827.52834/SemanticSymbols.db


BIN
RolePlayingGame/.vs/RolePlayingGame/DesignTimeBuild/.dtbcache.v2


BIN
RolePlayingGame/.vs/RolePlayingGame/FileContentIndex/7aafb98b-d294-4d60-b833-fae9e6981ac1.vsidx


BIN
RolePlayingGame/.vs/RolePlayingGame/FileContentIndex/c14a381e-08e3-403c-8f5b-5146bcccb6a1.vsidx


BIN
RolePlayingGame/.vs/RolePlayingGame/v17/.futdcache.v2


+ 0 - 66
RolePlayingGame/.vs/RolePlayingGame/v17/DocumentLayout.backup.json

@@ -1,66 +0,0 @@
-{
-  "Version": 1,
-  "WorkspaceRootPath": "C:\\Users\\savag\\source\\repos\\CartBlanche\\MonoGame\\MonoGame-Samples\\RolePlayingGame\\",
-  "Documents": [
-    {
-      "AbsoluteMoniker": "D:0:0:{32028705-62B7-4256-B1F5-439BE79DBBCA}|Core\\RolePlayingGame.Core.csproj|c:\\users\\savag\\source\\repos\\cartblanche\\monogame\\monogame-samples\\roleplayinggame\\core\\roleplayinggame.core.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|",
-      "RelativeMoniker": "D:0:0:{32028705-62B7-4256-B1F5-439BE79DBBCA}|Core\\RolePlayingGame.Core.csproj|solutionrelative:core\\roleplayinggame.core.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|"
-    },
-    {
-      "AbsoluteMoniker": "D:0:0:{FD6B2050-975F-4D78-8C7B-36F76D083FC8}|Platforms\\Windows\\RolePlayingGame.Windows.csproj|c:\\users\\savag\\source\\repos\\cartblanche\\monogame\\monogame-samples\\roleplayinggame\\platforms\\windows\\roleplayinggame.windows.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|",
-      "RelativeMoniker": "D:0:0:{FD6B2050-975F-4D78-8C7B-36F76D083FC8}|Platforms\\Windows\\RolePlayingGame.Windows.csproj|solutionrelative:platforms\\windows\\roleplayinggame.windows.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|"
-    }
-  ],
-  "DocumentGroupContainers": [
-    {
-      "Orientation": 0,
-      "VerticalTabListWidth": 256,
-      "DocumentGroups": [
-        {
-          "DockedWidth": 200,
-          "SelectedChildIndex": 4,
-          "Children": [
-            {
-              "$type": "Bookmark",
-              "Name": "ST:0:0:{e506b91c-c606-466a-90a9-123d1d1e12b3}"
-            },
-            {
-              "$type": "Bookmark",
-              "Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
-            },
-            {
-              "$type": "Bookmark",
-              "Name": "ST:0:0:{aa2115a1-9712-457b-9047-dbb71ca2cdd2}"
-            },
-            {
-              "$type": "Document",
-              "DocumentIndex": 1,
-              "Title": "RolePlayingGame.Windows",
-              "DocumentMoniker": "C:\\Users\\savag\\source\\repos\\CartBlanche\\MonoGame\\MonoGame-Samples\\RolePlayingGame\\Platforms\\Windows\\RolePlayingGame.Windows.csproj",
-              "RelativeDocumentMoniker": "Platforms\\Windows\\RolePlayingGame.Windows.csproj",
-              "ToolTip": "C:\\Users\\savag\\source\\repos\\CartBlanche\\MonoGame\\MonoGame-Samples\\RolePlayingGame\\Platforms\\Windows\\RolePlayingGame.Windows.csproj",
-              "RelativeToolTip": "Platforms\\Windows\\RolePlayingGame.Windows.csproj",
-              "ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAAAmAAAAAAAAAA==",
-              "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|",
-              "WhenOpened": "2025-07-24T19:53:42.036Z",
-              "EditorCaption": ""
-            },
-            {
-              "$type": "Document",
-              "DocumentIndex": 0,
-              "Title": "RolePlayingGame.Core",
-              "DocumentMoniker": "C:\\Users\\savag\\source\\repos\\CartBlanche\\MonoGame\\MonoGame-Samples\\RolePlayingGame\\Core\\RolePlayingGame.Core.csproj",
-              "RelativeDocumentMoniker": "Core\\RolePlayingGame.Core.csproj",
-              "ToolTip": "C:\\Users\\savag\\source\\repos\\CartBlanche\\MonoGame\\MonoGame-Samples\\RolePlayingGame\\Core\\RolePlayingGame.Core.csproj",
-              "RelativeToolTip": "Core\\RolePlayingGame.Core.csproj",
-              "ViewState": "AgIAAAAAAAAAAAAAAAAAAAQAAAAzAAAAAAAAAA==",
-              "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|",
-              "WhenOpened": "2025-07-24T19:52:45.168Z",
-              "EditorCaption": ""
-            }
-          ]
-        }
-      ]
-    }
-  ]
-}

+ 0 - 66
RolePlayingGame/.vs/RolePlayingGame/v17/DocumentLayout.json

@@ -1,66 +0,0 @@
-{
-  "Version": 1,
-  "WorkspaceRootPath": "C:\\Users\\savag\\source\\repos\\CartBlanche\\MonoGame\\MonoGame-Samples\\RolePlayingGame\\",
-  "Documents": [
-    {
-      "AbsoluteMoniker": "D:0:0:{32028705-62B7-4256-B1F5-439BE79DBBCA}|Core\\RolePlayingGame.Core.csproj|c:\\users\\savag\\source\\repos\\cartblanche\\monogame\\monogame-samples\\roleplayinggame\\core\\roleplayinggame.core.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|",
-      "RelativeMoniker": "D:0:0:{32028705-62B7-4256-B1F5-439BE79DBBCA}|Core\\RolePlayingGame.Core.csproj|solutionrelative:core\\roleplayinggame.core.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|"
-    },
-    {
-      "AbsoluteMoniker": "D:0:0:{FD6B2050-975F-4D78-8C7B-36F76D083FC8}|Platforms\\Windows\\RolePlayingGame.Windows.csproj|c:\\users\\savag\\source\\repos\\cartblanche\\monogame\\monogame-samples\\roleplayinggame\\platforms\\windows\\roleplayinggame.windows.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|",
-      "RelativeMoniker": "D:0:0:{FD6B2050-975F-4D78-8C7B-36F76D083FC8}|Platforms\\Windows\\RolePlayingGame.Windows.csproj|solutionrelative:platforms\\windows\\roleplayinggame.windows.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|"
-    }
-  ],
-  "DocumentGroupContainers": [
-    {
-      "Orientation": 0,
-      "VerticalTabListWidth": 256,
-      "DocumentGroups": [
-        {
-          "DockedWidth": 200,
-          "SelectedChildIndex": 4,
-          "Children": [
-            {
-              "$type": "Bookmark",
-              "Name": "ST:0:0:{e506b91c-c606-466a-90a9-123d1d1e12b3}"
-            },
-            {
-              "$type": "Bookmark",
-              "Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
-            },
-            {
-              "$type": "Bookmark",
-              "Name": "ST:0:0:{aa2115a1-9712-457b-9047-dbb71ca2cdd2}"
-            },
-            {
-              "$type": "Document",
-              "DocumentIndex": 1,
-              "Title": "RolePlayingGame.Windows",
-              "DocumentMoniker": "C:\\Users\\savag\\source\\repos\\CartBlanche\\MonoGame\\MonoGame-Samples\\RolePlayingGame\\Platforms\\Windows\\RolePlayingGame.Windows.csproj",
-              "RelativeDocumentMoniker": "Platforms\\Windows\\RolePlayingGame.Windows.csproj",
-              "ToolTip": "C:\\Users\\savag\\source\\repos\\CartBlanche\\MonoGame\\MonoGame-Samples\\RolePlayingGame\\Platforms\\Windows\\RolePlayingGame.Windows.csproj",
-              "RelativeToolTip": "Platforms\\Windows\\RolePlayingGame.Windows.csproj",
-              "ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAAAmAAAAAAAAAA==",
-              "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|",
-              "WhenOpened": "2025-07-24T19:53:42.036Z",
-              "EditorCaption": ""
-            },
-            {
-              "$type": "Document",
-              "DocumentIndex": 0,
-              "Title": "RolePlayingGame.Core",
-              "DocumentMoniker": "C:\\Users\\savag\\source\\repos\\CartBlanche\\MonoGame\\MonoGame-Samples\\RolePlayingGame\\Core\\RolePlayingGame.Core.csproj",
-              "RelativeDocumentMoniker": "Core\\RolePlayingGame.Core.csproj",
-              "ToolTip": "C:\\Users\\savag\\source\\repos\\CartBlanche\\MonoGame\\MonoGame-Samples\\RolePlayingGame\\Core\\RolePlayingGame.Core.csproj",
-              "RelativeToolTip": "Core\\RolePlayingGame.Core.csproj",
-              "ViewState": "AgIAAAAAAAAAAAAAAAAAAAQAAAAzAAAAAAAAAA==",
-              "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|",
-              "WhenOpened": "2025-07-24T19:52:45.168Z",
-              "EditorCaption": ""
-            }
-          ]
-        }
-      ]
-    }
-  ]
-}

BIN
RolePlayingGame/.vs/RolePlayingGame/v17/fileList.bin


+ 1 - 1
RolePlayingGame/Core/Combat/Combatant.cs

@@ -286,7 +286,7 @@ namespace RolePlaying
         public virtual void Draw(GameTime gameTime)
         public virtual void Draw(GameTime gameTime)
         {
         {
             CombatSprite.Draw(Session.ScreenManager.SpriteBatch,
             CombatSprite.Draw(Session.ScreenManager.SpriteBatch,
-                Position, 1f - Position.Y / 720f);
+                Position, 1f - Position.Y / RolePlayingGame.BUFFER_WIDTH);
 
 
             Session.ScreenManager.SpriteBatch.Draw(Character.ShadowTexture, Position, 
             Session.ScreenManager.SpriteBatch.Draw(Character.ShadowTexture, Position, 
                 null, Color.White, 0f, new Vector2(Character.ShadowTexture.Width / 2, 
                 null, Color.White, 0f, new Vector2(Character.ShadowTexture.Width / 2, 

+ 1 - 1
RolePlayingGame/Core/Fonts.cs

@@ -387,7 +387,7 @@ namespace RolePlaying
 
 
             // draw the string
             // draw the string
             spriteBatch.DrawString(font, text, centeredPosition, color, 0f, 
             spriteBatch.DrawString(font, text, centeredPosition, color, 0f, 
-                Vector2.Zero, 1f, SpriteEffects.None, 1f - position.Y / 720f);
+                Vector2.Zero, 1f, SpriteEffects.None, 1f - position.Y / RolePlayingGame.BUFFER_HEIGHT);
         }
         }
 
 
 
 

+ 1 - 1
RolePlayingGame/Core/GameScreens/DialogueScreen.cs

@@ -302,7 +302,7 @@ namespace RolePlaying
             spriteBatch.Begin();
             spriteBatch.Begin();
 
 
             // draw the fading screen
             // draw the fading screen
-            spriteBatch.Draw(fadeTexture, new Rectangle(0, 0, 1280, 720), Color.White);
+            spriteBatch.Draw(fadeTexture, new Rectangle(0, 0, RolePlayingGame.BUFFER_WIDTH, RolePlayingGame.BUFFER_HEIGHT), Color.White);
 
 
             // draw popup background
             // draw popup background
             spriteBatch.Draw(backgroundTexture, backgroundPosition, Color.White);
             spriteBatch.Draw(backgroundTexture, backgroundPosition, Color.White);

+ 1 - 1
RolePlayingGame/Core/GameScreens/GameOverScreen.cs

@@ -123,7 +123,7 @@ namespace RolePlaying
             spriteBatch.Begin();
             spriteBatch.Begin();
 
 
             // Draw fading screen
             // Draw fading screen
-            spriteBatch.Draw(fadeTexture, new Rectangle(0, 0, 1280, 720), Color.White);
+            spriteBatch.Draw(fadeTexture, new Rectangle(0, 0, RolePlayingGame.BUFFER_WIDTH, RolePlayingGame.BUFFER_HEIGHT), Color.White);
 
 
             // Draw popup texture
             // Draw popup texture
             spriteBatch.Draw(backTexture, backgroundPosition, Color.White);
             spriteBatch.Draw(backTexture, backgroundPosition, Color.White);

+ 1 - 1
RolePlayingGame/Core/GameScreens/ListScreen.cs

@@ -25,7 +25,7 @@ namespace RolePlaying
 
 
         private Texture2D backgroundTexture;
         private Texture2D backgroundTexture;
         private readonly Rectangle backgroundDestination =
         private readonly Rectangle backgroundDestination =
-            new Rectangle(0, 0, 1280, 720);
+            new Rectangle(0, 0, RolePlayingGame.BUFFER_WIDTH, RolePlayingGame.BUFFER_HEIGHT);
         private Texture2D fadeTexture;
         private Texture2D fadeTexture;
 
 
         private Texture2D listTexture;
         private Texture2D listTexture;

+ 1 - 1
RolePlayingGame/Core/GameScreens/PlayerSelectionScreen.cs

@@ -306,7 +306,7 @@ namespace RolePlaying
 
 
             spriteBatch.Begin();
             spriteBatch.Begin();
 
 
-            spriteBatch.Draw(fadeTexture, new Rectangle(0, 0, 1280, 720), Color.White);
+            spriteBatch.Draw(fadeTexture, new Rectangle(0, 0, RolePlayingGame.BUFFER_WIDTH, RolePlayingGame.BUFFER_HEIGHT), Color.White);
 
 
             currentTextPosition = textPosition;
             currentTextPosition = textPosition;
 
 

+ 9 - 6
RolePlayingGame/Core/MenuScreens/MainMenuScreen.cs

@@ -62,7 +62,8 @@ namespace RolePlaying
             newGameMenuEntry = new MenuEntry("New Game");
             newGameMenuEntry = new MenuEntry("New Game");
             newGameMenuEntry.Description = "Start a New Game";
             newGameMenuEntry.Description = "Start a New Game";
             newGameMenuEntry.Font = Fonts.HeaderFont;
             newGameMenuEntry.Font = Fonts.HeaderFont;
-            newGameMenuEntry.Position = new Vector2(715, 0f);
+            newGameMenuEntry.Position = new Vector2(RolePlayingGame.BUFFER_HEIGHT - 5, 0f);
+            newGameMenuEntry.Angle = -3.0f;
             newGameMenuEntry.Selected += NewGameMenuEntrySelected;
             newGameMenuEntry.Selected += NewGameMenuEntrySelected;
             MenuEntries.Add(newGameMenuEntry);
             MenuEntries.Add(newGameMenuEntry);
 
 
@@ -73,7 +74,7 @@ namespace RolePlaying
                 saveGameMenuEntry = new MenuEntry("Save Game");
                 saveGameMenuEntry = new MenuEntry("Save Game");
                 saveGameMenuEntry.Description = "Save the Game";
                 saveGameMenuEntry.Description = "Save the Game";
                 saveGameMenuEntry.Font = Fonts.HeaderFont;
                 saveGameMenuEntry.Font = Fonts.HeaderFont;
-                saveGameMenuEntry.Position = new Vector2(730, 0f);
+                saveGameMenuEntry.Position = new Vector2(RolePlayingGame.BUFFER_HEIGHT + 10, 0f);
                 saveGameMenuEntry.Selected += SaveGameMenuEntrySelected;
                 saveGameMenuEntry.Selected += SaveGameMenuEntrySelected;
                 MenuEntries.Add(saveGameMenuEntry);
                 MenuEntries.Add(saveGameMenuEntry);
             }
             }
@@ -86,7 +87,7 @@ namespace RolePlaying
             loadGameMenuEntry = new MenuEntry("Load Game");
             loadGameMenuEntry = new MenuEntry("Load Game");
             loadGameMenuEntry.Description = "Load the Game";
             loadGameMenuEntry.Description = "Load the Game";
             loadGameMenuEntry.Font = Fonts.HeaderFont;
             loadGameMenuEntry.Font = Fonts.HeaderFont;
-            loadGameMenuEntry.Position = new Vector2(700, 0f);
+            loadGameMenuEntry.Position = new Vector2(RolePlayingGame.BUFFER_HEIGHT - 20, 0f);
             loadGameMenuEntry.Selected += LoadGameMenuEntrySelected;
             loadGameMenuEntry.Selected += LoadGameMenuEntrySelected;
             MenuEntries.Add(loadGameMenuEntry);
             MenuEntries.Add(loadGameMenuEntry);
 
 
@@ -94,7 +95,8 @@ namespace RolePlaying
             controlsMenuEntry = new MenuEntry("Controls");
             controlsMenuEntry = new MenuEntry("Controls");
             controlsMenuEntry.Description = "View Game Controls";
             controlsMenuEntry.Description = "View Game Controls";
             controlsMenuEntry.Font = Fonts.HeaderFont;
             controlsMenuEntry.Font = Fonts.HeaderFont;
-            controlsMenuEntry.Position = new Vector2(720, 0f);
+            controlsMenuEntry.Position = new Vector2(RolePlayingGame.BUFFER_HEIGHT, 0f);
+            controlsMenuEntry.Angle = 5.0f;
             controlsMenuEntry.Selected += ControlsMenuEntrySelected;
             controlsMenuEntry.Selected += ControlsMenuEntrySelected;
             MenuEntries.Add(controlsMenuEntry);
             MenuEntries.Add(controlsMenuEntry);
 
 
@@ -102,7 +104,8 @@ namespace RolePlaying
             helpMenuEntry = new MenuEntry("Help");
             helpMenuEntry = new MenuEntry("Help");
             helpMenuEntry.Description = "View Game Help";
             helpMenuEntry.Description = "View Game Help";
             helpMenuEntry.Font = Fonts.HeaderFont;
             helpMenuEntry.Font = Fonts.HeaderFont;
-            helpMenuEntry.Position = new Vector2(700, 0f);
+            helpMenuEntry.Position = new Vector2(RolePlayingGame.BUFFER_HEIGHT - 20, 0f);
+            helpMenuEntry.Angle = -5.0f;
             helpMenuEntry.Selected += HelpMenuEntrySelected;
             helpMenuEntry.Selected += HelpMenuEntrySelected;
             MenuEntries.Add(helpMenuEntry);
             MenuEntries.Add(helpMenuEntry);
 
 
@@ -110,7 +113,7 @@ namespace RolePlaying
             exitGameMenuEntry = new MenuEntry("Exit");
             exitGameMenuEntry = new MenuEntry("Exit");
             exitGameMenuEntry.Description = "Quit the Game";
             exitGameMenuEntry.Description = "Quit the Game";
             exitGameMenuEntry.Font = Fonts.HeaderFont;
             exitGameMenuEntry.Font = Fonts.HeaderFont;
-            exitGameMenuEntry.Position = new Vector2(720, 0f);
+            exitGameMenuEntry.Position = new Vector2(RolePlayingGame.BUFFER_HEIGHT, 0f);
             exitGameMenuEntry.Selected += OnCancel;
             exitGameMenuEntry.Selected += OnCancel;
             MenuEntries.Add(exitGameMenuEntry);
             MenuEntries.Add(exitGameMenuEntry);
 
 

+ 6 - 4
RolePlayingGame/Core/RolePlayingGame.cs

@@ -17,8 +17,10 @@ namespace RolePlaying
     /// <summary>
     /// <summary>
     /// The Game object for the Role-Playing Game starter kit.
     /// The Game object for the Role-Playing Game starter kit.
     /// </summary>
     /// </summary>
-    public class RolePlayingGame : Microsoft.Xna.Framework.Game
+    public class RolePlayingGame : Game
     {
     {
+        internal const int BUFFER_WIDTH = 1280;
+        internal const int BUFFER_HEIGHT = 720;
         GraphicsDeviceManager graphics;
         GraphicsDeviceManager graphics;
         ScreenManager screenManager;
         ScreenManager screenManager;
 
 
@@ -29,9 +31,9 @@ namespace RolePlaying
         {
         {
             // initialize the graphics system
             // initialize the graphics system
             graphics = new GraphicsDeviceManager(this);
             graphics = new GraphicsDeviceManager(this);
-            graphics.PreferredBackBufferWidth = 1280;
-            graphics.PreferredBackBufferHeight = 720;
-            
+            graphics.PreferredBackBufferWidth = BUFFER_WIDTH;
+            graphics.PreferredBackBufferHeight = BUFFER_HEIGHT;
+
             // configure the content manager
             // configure the content manager
             Content.RootDirectory = "Content";
             Content.RootDirectory = "Content";
 
 

+ 16 - 2
RolePlayingGame/Core/ScreenManager/MenuEntry.cs

@@ -41,6 +41,11 @@ namespace RolePlaying
         /// </summary>
         /// </summary>
         Vector2 position;
         Vector2 position;
 
 
+        /// <summary>
+        /// The angle of this menu item on the screen.
+        /// </summary>
+        float angle = 0f;
+
 
 
         /// <summary>
         /// <summary>
         /// A description of the function of the button.
         /// A description of the function of the button.
@@ -88,6 +93,15 @@ namespace RolePlaying
             set { position = value; }
             set { position = value; }
         }
         }
 
 
+        /// <summary>
+        /// Gets or sets the angle of this menu entry.
+        /// </summary>
+        public float Angle
+        {
+            get { return angle; }
+            set { angle = value; }
+        }
+
 
 
         /// <summary>
         /// <summary>
         /// A description of the function of the button.
         /// A description of the function of the button.
@@ -175,12 +189,12 @@ namespace RolePlaying
                     Vector2 textPosition = position + new Vector2(
                     Vector2 textPosition = position + new Vector2(
                         (float)Math.Floor((texture.Width - textSize.X) / 2),
                         (float)Math.Floor((texture.Width - textSize.X) / 2),
                         (float)Math.Floor((texture.Height - textSize.Y) / 2));
                         (float)Math.Floor((texture.Height - textSize.Y) / 2));
-                    spriteBatch.DrawString(spriteFont, text, textPosition, color);
+                    spriteBatch.DrawString(spriteFont, text, textPosition, color, MathHelper.ToRadians(angle), Vector2.Zero, 1.0f, SpriteEffects.None, 0f);
                 }
                 }
             }
             }
             else if ((spriteFont != null) && !String.IsNullOrEmpty(text))
             else if ((spriteFont != null) && !String.IsNullOrEmpty(text))
             {
             {
-                spriteBatch.DrawString(spriteFont, text, position, color);
+                spriteBatch.DrawString(spriteFont, text, position, color, MathHelper.ToRadians(angle), Vector2.Zero, 1.0f, SpriteEffects.None, 0f);
             }
             }
         }
         }
 
 

+ 3 - 0
RolePlayingGame/Platforms/Android/RolePlayingGame.Android.csproj

@@ -42,6 +42,9 @@
     <Content Include="..\..\Core\Content\**\*.xwb" Link="Content\%(RecursiveDir)%(Filename)%(Extension)">
     <Content Include="..\..\Core\Content\**\*.xwb" Link="Content\%(RecursiveDir)%(Filename)%(Extension)">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
     </Content>
+    <Content Include="..\..\Core\Content\**\*.xsb" Link="Content\%(RecursiveDir)%(Filename)%(Extension)">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
     <Content Include="..\..\Core\Content\**\*.xml" Link="Content\%(RecursiveDir)%(Filename)%(Extension)">
     <Content Include="..\..\Core\Content\**\*.xml" Link="Content\%(RecursiveDir)%(Filename)%(Extension)">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
     </Content>

+ 3 - 0
RolePlayingGame/Platforms/Desktop/RolePlayingGame.Desktop.csproj

@@ -27,6 +27,9 @@
     <Content Include="..\..\Core\Content\**\*.xwb" Link="Content\%(RecursiveDir)%(Filename)%(Extension)">
     <Content Include="..\..\Core\Content\**\*.xwb" Link="Content\%(RecursiveDir)%(Filename)%(Extension)">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
     </Content>
+    <Content Include="..\..\Core\Content\**\*.xsb" Link="Content\%(RecursiveDir)%(Filename)%(Extension)">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
     <Content Include="..\..\Core\Content\**\*.xml" Link="Content\%(RecursiveDir)%(Filename)%(Extension)">
     <Content Include="..\..\Core\Content\**\*.xml" Link="Content\%(RecursiveDir)%(Filename)%(Extension)">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
     </Content>

+ 3 - 0
RolePlayingGame/Platforms/Windows/RolePlayingGame.Windows.csproj

@@ -36,6 +36,9 @@
     <Content Include="..\..\Core\Content\**\*.xwb" Link="Content\%(RecursiveDir)%(Filename)%(Extension)">
     <Content Include="..\..\Core\Content\**\*.xwb" Link="Content\%(RecursiveDir)%(Filename)%(Extension)">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
     </Content>
+    <Content Include="..\..\Core\Content\**\*.xsb" Link="Content\%(RecursiveDir)%(Filename)%(Extension)">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
     <Content Include="..\..\Core\Content\**\*.xml" Link="Content\%(RecursiveDir)%(Filename)%(Extension)">
     <Content Include="..\..\Core\Content\**\*.xml" Link="Content\%(RecursiveDir)%(Filename)%(Extension)">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
     </Content>

+ 3 - 0
RolePlayingGame/Platforms/iOS/RolePlayingGame.iOS.csproj

@@ -36,6 +36,9 @@
     <Content Include="..\..\Core\Content\**\*.xwb" Link="Content\%(RecursiveDir)%(Filename)%(Extension)">
     <Content Include="..\..\Core\Content\**\*.xwb" Link="Content\%(RecursiveDir)%(Filename)%(Extension)">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
     </Content>
+    <Content Include="..\..\Core\Content\**\*.xsb" Link="Content\%(RecursiveDir)%(Filename)%(Extension)">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
     <Content Include="..\..\Core\Content\**\*.xml" Link="Content\%(RecursiveDir)%(Filename)%(Extension)">
     <Content Include="..\..\Core\Content\**\*.xml" Link="Content\%(RecursiveDir)%(Filename)%(Extension)">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
     </Content>