Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Gum.MonoGame" Version="2025.8.3.3" />
<PackageReference Include="Gum.MonoGame" Version="2025.12.9.1" />
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4" />
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.4" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ protected override void Initialize()
private void InitializeGum()
{
// Initialize the Gum service
GumService.Default.Initialize(this, DefaultVisualsVersion.V2);
GumService.Default.Initialize(this, DefaultVisualsVersion.V3);

// Tell the Gum service which content manager to use. We will tell it to
// use the global content manager from our Core.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ private void CreatePausePanel()
{
_pausePanel = new Panel();
_pausePanel.Anchor(Anchor.Center);
_pausePanel.Visual.WidthUnits = DimensionUnitType.Absolute;
_pausePanel.Visual.HeightUnits = DimensionUnitType.Absolute;
_pausePanel.Visual.Height = 70;
_pausePanel.Visual.Width = 264;
_pausePanel.WidthUnits = DimensionUnitType.Absolute;
_pausePanel.HeightUnits = DimensionUnitType.Absolute;
_pausePanel.Height = 70;
_pausePanel.Width = 264;
_pausePanel.IsVisible = false;
_pausePanel.AddToRoot();

Expand All @@ -165,17 +165,17 @@ private void CreatePausePanel()
_resumeButton = new Button();
_resumeButton.Text = "RESUME";
_resumeButton.Anchor(Anchor.BottomLeft);
_resumeButton.Visual.X = 9f;
_resumeButton.Visual.Y = -9f;
_resumeButton.Visual.Width = 80;
_resumeButton.X = 9f;
_resumeButton.Y = -9f;
_resumeButton.Width = 80;
_resumeButton.Click += HandleResumeButtonClicked;
_pausePanel.AddChild(_resumeButton);

var quitButton = new Button();
quitButton.Text = "QUIT";
quitButton.Anchor(Anchor.BottomRight);
quitButton.Visual.X = -9f;
quitButton.Visual.Y = -9f;
quitButton.X = -9f;
quitButton.Y = -9f;
quitButton.Width = 80;
quitButton.Click += HandleQuitButtonClicked;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,18 +119,18 @@ private void CreateTitlePanel()

var startButton = new Button();
startButton.Anchor(Gum.Wireframe.Anchor.BottomLeft);
startButton.Visual.X = 50;
startButton.Visual.Y = -12;
startButton.Visual.Width = 70;
startButton.X = 50;
startButton.Y = -12;
startButton.Width = 70;
startButton.Text = "Start";
startButton.Click += HandleStartClicked;
_titleScreenButtonsPanel.AddChild(startButton);

_optionsButton = new Button();
_optionsButton.Anchor(Gum.Wireframe.Anchor.BottomRight);
_optionsButton.Visual.X = -50;
_optionsButton.Visual.Y = -12;
_optionsButton.Visual.Width = 70;
_optionsButton.X = -50;
_optionsButton.Y = -12;
_optionsButton.Width = 70;
_optionsButton.Text = "Options";
_optionsButton.Click += HandleOptionsClicked;
_titleScreenButtonsPanel.AddChild(_optionsButton);
Expand Down Expand Up @@ -177,7 +177,7 @@ private void CreateOptionsPanel()

var musicSlider = new Slider();
musicSlider.Anchor(Gum.Wireframe.Anchor.Top);
musicSlider.Visual.Y = 30f;
musicSlider.Y = 30f;
musicSlider.Minimum = 0;
musicSlider.Maximum = 1;
musicSlider.Value = Core.Audio.SongVolume;
Expand All @@ -189,7 +189,7 @@ private void CreateOptionsPanel()

var sfxSlider = new Slider();
sfxSlider.Anchor(Gum.Wireframe.Anchor.Top);
sfxSlider.Visual.Y = 93;
sfxSlider.Y = 93;
sfxSlider.Minimum = 0;
sfxSlider.Maximum = 1;
sfxSlider.Value = Core.Audio.SoundEffectVolume;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Gum.MonoGame" Version="2025.8.3.3" />
<PackageReference Include="Gum.MonoGame" Version="2025.12.9.1" />
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4" />
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.4" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ protected override void Initialize()
private void InitializeGum()
{
// Initialize the Gum service
GumService.Default.Initialize(this, DefaultVisualsVersion.V2);
GumService.Default.Initialize(this, DefaultVisualsVersion.V3);

// Tell the Gum service which content manager to use. We will tell it to
// use the global content manager from our Core.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ private void CreatePausePanel()
{
_pausePanel = new Panel();
_pausePanel.Anchor(Anchor.Center);
_pausePanel.Visual.WidthUnits = DimensionUnitType.Absolute;
_pausePanel.Visual.HeightUnits = DimensionUnitType.Absolute;
_pausePanel.Visual.Height = 70;
_pausePanel.Visual.Width = 264;
_pausePanel.WidthUnits = DimensionUnitType.Absolute;
_pausePanel.HeightUnits = DimensionUnitType.Absolute;
_pausePanel.Height = 70;
_pausePanel.Width = 264;
_pausePanel.IsVisible = false;
_pausePanel.AddToRoot();

Expand Down Expand Up @@ -181,16 +181,16 @@ private void CreatePausePanel()
_resumeButton = new AnimatedButton(_atlas);
_resumeButton.Text = "RESUME";
_resumeButton.Anchor(Anchor.BottomLeft);
_resumeButton.Visual.X = 9f;
_resumeButton.Visual.Y = -9f;
_resumeButton.X = 9f;
_resumeButton.Y = -9f;
_resumeButton.Click += HandleResumeButtonClicked;
_pausePanel.AddChild(_resumeButton);

AnimatedButton quitButton = new AnimatedButton(_atlas);
quitButton.Text = "QUIT";
quitButton.Anchor(Anchor.BottomRight);
quitButton.Visual.X = -9f;
quitButton.Visual.Y = -9f;
quitButton.X = -9f;
quitButton.Y = -9f;
quitButton.Click += HandleQuitButtonClicked;

_pausePanel.AddChild(quitButton);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,16 +131,16 @@ private void CreateTitlePanel()

AnimatedButton startButton = new AnimatedButton(_atlas);
startButton.Anchor(Gum.Wireframe.Anchor.BottomLeft);
startButton.Visual.X = 50;
startButton.Visual.Y = -12;
startButton.X = 50;
startButton.Y = -12;
startButton.Text = "Start";
startButton.Click += HandleStartClicked;
_titleScreenButtonsPanel.AddChild(startButton);

_optionsButton = new AnimatedButton(_atlas);
_optionsButton.Anchor(Gum.Wireframe.Anchor.BottomRight);
_optionsButton.Visual.X = -50;
_optionsButton.Visual.Y = -12;
_optionsButton.X = -50;
_optionsButton.Y = -12;
_optionsButton.Text = "Options";
_optionsButton.Click += HandleOptionsClicked;
_titleScreenButtonsPanel.AddChild(_optionsButton);
Expand Down Expand Up @@ -192,7 +192,7 @@ private void CreateOptionsPanel()
musicSlider.Name = "MusicSlider";
musicSlider.Text = "MUSIC";
musicSlider.Anchor(Gum.Wireframe.Anchor.Top);
musicSlider.Visual.Y = 30f;
musicSlider.Y = 30f;
musicSlider.Minimum = 0;
musicSlider.Maximum = 1;
musicSlider.Value = Core.Audio.SongVolume;
Expand All @@ -206,7 +206,7 @@ private void CreateOptionsPanel()
sfxSlider.Name = "SfxSlider";
sfxSlider.Text = "SFX";
sfxSlider.Anchor(Gum.Wireframe.Anchor.Top);
sfxSlider.Visual.Y = 93;
sfxSlider.Y = 93;
sfxSlider.Minimum = 0;
sfxSlider.Maximum = 1;
sfxSlider.Value = Core.Audio.SoundEffectVolume;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Gum.DataTypes;
using Gum.DataTypes.Variables;
using Gum.Forms.Controls;
using Gum.Forms.DefaultVisuals;
using Gum.Forms.DefaultVisuals.V3;
using Gum.Graphics.Animation;
using Gum.Managers;
using Microsoft.Xna.Framework.Input;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Gum.MonoGame" Version="2025.8.3.3" />
<PackageReference Include="Gum.MonoGame" Version="2025.12.9.1" />
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4" />
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.4" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ protected override void Initialize()
private void InitializeGum()
{
// Initialize the Gum service
GumService.Default.Initialize(this, DefaultVisualsVersion.V2);
GumService.Default.Initialize(this, DefaultVisualsVersion.V3);

// Tell the Gum service which content manager to use. We will tell it to
// use the global content manager from our Core.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ private void CreatePausePanel()
{
_pausePanel = new Panel();
_pausePanel.Anchor(Anchor.Center);
_pausePanel.Visual.WidthUnits = DimensionUnitType.Absolute;
_pausePanel.Visual.HeightUnits = DimensionUnitType.Absolute;
_pausePanel.Visual.Height = 70;
_pausePanel.Visual.Width = 264;
_pausePanel.WidthUnits = DimensionUnitType.Absolute;
_pausePanel.HeightUnits = DimensionUnitType.Absolute;
_pausePanel.Height = 70;
_pausePanel.Width = 264;
_pausePanel.IsVisible = false;
_pausePanel.AddToRoot();

Expand Down Expand Up @@ -181,16 +181,16 @@ private void CreatePausePanel()
_resumeButton = new AnimatedButton(_atlas);
_resumeButton.Text = "RESUME";
_resumeButton.Anchor(Anchor.BottomLeft);
_resumeButton.Visual.X = 9f;
_resumeButton.Visual.Y = -9f;
_resumeButton.X = 9f;
_resumeButton.Y = -9f;
_resumeButton.Click += HandleResumeButtonClicked;
_pausePanel.AddChild(_resumeButton);

AnimatedButton quitButton = new AnimatedButton(_atlas);
quitButton.Text = "QUIT";
quitButton.Anchor(Anchor.BottomRight);
quitButton.Visual.X = -9f;
quitButton.Visual.Y = -9f;
quitButton.X = -9f;
quitButton.Y = -9f;
quitButton.Click += HandleQuitButtonClicked;

_pausePanel.AddChild(quitButton);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,16 +131,16 @@ private void CreateTitlePanel()

AnimatedButton startButton = new AnimatedButton(_atlas);
startButton.Anchor(Gum.Wireframe.Anchor.BottomLeft);
startButton.Visual.X = 50;
startButton.Visual.Y = -12;
startButton.X = 50;
startButton.Y = -12;
startButton.Text = "Start";
startButton.Click += HandleStartClicked;
_titleScreenButtonsPanel.AddChild(startButton);

_optionsButton = new AnimatedButton(_atlas);
_optionsButton.Anchor(Gum.Wireframe.Anchor.BottomRight);
_optionsButton.Visual.X = -50;
_optionsButton.Visual.Y = -12;
_optionsButton.X = -50;
_optionsButton.Y = -12;
_optionsButton.Text = "Options";
_optionsButton.Click += HandleOptionsClicked;
_titleScreenButtonsPanel.AddChild(_optionsButton);
Expand Down Expand Up @@ -192,7 +192,7 @@ private void CreateOptionsPanel()
musicSlider.Name = "MusicSlider";
musicSlider.Text = "MUSIC";
musicSlider.Anchor(Gum.Wireframe.Anchor.Top);
musicSlider.Visual.Y = 30f;
musicSlider.Y = 30f;
musicSlider.Minimum = 0;
musicSlider.Maximum = 1;
musicSlider.Value = Core.Audio.SongVolume;
Expand All @@ -206,7 +206,7 @@ private void CreateOptionsPanel()
sfxSlider.Name = "SfxSlider";
sfxSlider.Text = "SFX";
sfxSlider.Anchor(Gum.Wireframe.Anchor.Top);
sfxSlider.Visual.Y = 93;
sfxSlider.Y = 93;
sfxSlider.Minimum = 0;
sfxSlider.Maximum = 1;
sfxSlider.Value = Core.Audio.SoundEffectVolume;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Gum.DataTypes;
using Gum.DataTypes.Variables;
using Gum.Forms.Controls;
using Gum.Forms.DefaultVisuals;
using Gum.Forms.DefaultVisuals.V3;
using Gum.Graphics.Animation;
using Gum.Managers;
using Microsoft.Xna.Framework.Input;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Gum.MonoGame" Version="2025.8.3.3" />
<PackageReference Include="Gum.MonoGame" Version="2025.12.9.1" />
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4" />
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.4" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ protected override void Initialize()
private void InitializeGum()
{
// Initialize the Gum service
GumService.Default.Initialize(this, DefaultVisualsVersion.V2);
GumService.Default.Initialize(this, DefaultVisualsVersion.V3);

// Tell the Gum service which content manager to use. We will tell it to
// use the global content manager from our Core.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,16 +131,16 @@ private void CreateTitlePanel()

AnimatedButton startButton = new AnimatedButton(_atlas);
startButton.Anchor(Gum.Wireframe.Anchor.BottomLeft);
startButton.Visual.X = 50;
startButton.Visual.Y = -12;
startButton.X = 50;
startButton.Y = -12;
startButton.Text = "Start";
startButton.Click += HandleStartClicked;
_titleScreenButtonsPanel.AddChild(startButton);

_optionsButton = new AnimatedButton(_atlas);
_optionsButton.Anchor(Gum.Wireframe.Anchor.BottomRight);
_optionsButton.Visual.X = -50;
_optionsButton.Visual.Y = -12;
_optionsButton.X = -50;
_optionsButton.Y = -12;
_optionsButton.Text = "Options";
_optionsButton.Click += HandleOptionsClicked;
_titleScreenButtonsPanel.AddChild(_optionsButton);
Expand Down Expand Up @@ -192,7 +192,7 @@ private void CreateOptionsPanel()
musicSlider.Name = "MusicSlider";
musicSlider.Text = "MUSIC";
musicSlider.Anchor(Gum.Wireframe.Anchor.Top);
musicSlider.Visual.Y = 30f;
musicSlider.Y = 30f;
musicSlider.Minimum = 0;
musicSlider.Maximum = 1;
musicSlider.Value = Core.Audio.SongVolume;
Expand All @@ -206,7 +206,7 @@ private void CreateOptionsPanel()
sfxSlider.Name = "SfxSlider";
sfxSlider.Text = "SFX";
sfxSlider.Anchor(Gum.Wireframe.Anchor.Top);
sfxSlider.Visual.Y = 93;
sfxSlider.Y = 93;
sfxSlider.Minimum = 0;
sfxSlider.Maximum = 1;
sfxSlider.Value = Core.Audio.SoundEffectVolume;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Gum.DataTypes;
using Gum.DataTypes.Variables;
using Gum.Forms.Controls;
using Gum.Forms.DefaultVisuals;
using Gum.Forms.DefaultVisuals.V3;
using Gum.Graphics.Animation;
using Gum.Managers;
using Microsoft.Xna.Framework.Input;
Expand Down
Loading
Loading