Skip to content

Commit 67726ec

Browse files
authored
Merge pull request #150 from studio-minus/dev
0.48.5
2 parents af672a1 + 4ce80d4 commit 67726ec

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+736
-504
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
Game based on "Madness Interactive"
44

5+
## Downloading the game
6+
To start playing right away:
7+
1. Go to [Releases](https://github.com/studio-minus/madness-interactive-reloaded/tags) and download the .zip archive of the latest version under the "Assets" dropdown.
8+
2. Extract the archive contents.
9+
3. Run MIR.exe.
10+
11+
If you run into any issues you should first make sure you:
12+
1. Remembered to extract the .exe before trying to run it.
13+
2. Make sure your .NET runtime is up to date: go to the Microsoft [.NET 8](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) download page. Under ".NET Desktop Runtime 8" on the right hand side and download the correct version for your OS's architecture. You can search online to figure out if your system is x64 or x86. (If your computer was made the last 10~ it's probably safe to assume x64.)
14+
515
## Building the game
616
<!-- Keep this header at this line since the gettingstarted.md file expects it to be there. If you move it, move it there too. -->
717
- Assert you have these requirements

src/MadnessInteractiveReloaded/Camera/Systems/CameraMovementSystem.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public override void Update()
5353
totalWeight += state.Weight;
5454

5555
state.Position = Utilities.NanFallback(state.Position);
56-
state.OrthographicSize = float.Max(1, Utilities.NanFallback(state.OrthographicSize, 1));
56+
state.OrthographicSize = float.Max(0.001f, Utilities.NanFallback(state.OrthographicSize, 1));
5757

5858
p += state.Position * state.Weight;
5959
o += state.OrthographicSize * state.Weight;
@@ -104,7 +104,7 @@ public override void PreRender()
104104
movement.Offset = default;
105105

106106
transform.Position = Utilities.NanFallback(movement.ComputedPosition + additionalOffset, default);
107-
camera.OrthographicSize = float.Max(1, Utilities.NanFallback(movement.ComputedOrthographicSize, 1));
107+
camera.OrthographicSize = float.Max(0.001f, Utilities.NanFallback(movement.ComputedOrthographicSize, 1));
108108

109109
Audio.ListenerPosition = default; //new Vector3(transform.Position.X, transform.Position.Y, 100);
110110
Audio.SpatialMultiplier = 0;

src/MadnessInteractiveReloaded/Character creation/CharacterCreationScreen.cs renamed to src/MadnessInteractiveReloaded/Character creation/CharacterCreationTab.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
/// <summary>
44
/// Which creation menu are we on?
55
/// </summary>
6-
public enum CharacterCreationScreen
6+
public enum CharacterCreationTab
77
{
88
Head,
9-
HeadAccessory,
109
Body,
11-
BodyAccessory
10+
Hands,
11+
Blood
1212
}

src/MadnessInteractiveReloaded/Character creation/Components/CharacterCreationComponent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class CharacterCreationComponent : Component, IDisposable
1616
public AssetRef<Texture> Background;
1717
public RenderTexture PlayerDrawTarget = new(PlayerTargetTextureSize, PlayerTargetTextureSize, flags: RenderTargetFlags.None);
1818

19-
public CharacterCreationScreen SelectedBodyPart = CharacterCreationScreen.Head;
19+
public CharacterCreationTab CurrentTab = default;
2020

2121
public int SelectedHeadLayer = 0;
2222
public int SelectedBodyLayer = 0;

0 commit comments

Comments
 (0)