cleanup again i think

This commit is contained in:
Firerise9402 2023-08-08 16:07:40 -04:00
parent b595412911
commit a16c54ffba
5 changed files with 25 additions and 49 deletions

File diff suppressed because one or more lines are too long

View file

@ -1,8 +1,8 @@
using System;
public static class AppInfo {
public const string Version = "0.0.1018";
public static readonly DateTime Date = new DateTime(2023, 08, 08, 19, 31, 40, 542, DateTimeKind.Utc);
public const string Version = "0.0.1021";
public static readonly DateTime Date = new DateTime(2023, 08, 08, 19, 52, 59, 622, DateTimeKind.Utc);
}

View file

@ -732,13 +732,13 @@ namespace HeavenStudio
new Param("axis", WindowController.ViewAxis.All, "Axis", "AAAAAAA")
}
),
new GameAction("shake window", "Shake Window", 1f, true, new List<Param>()
//Non functional until further notice
/*new GameAction("shake window", "Shake Window", 1f, true, new List<Param>()
{
new Param("valA", new EntityTypes.Float(0, 10, 0), "Horizontal Intensity"),
new Param("valB", new EntityTypes.Float(0, 10, 1), "Vertical Intensity")
}
),
),*/
new GameAction("display textbox", "Display Textbox", 1f, true, new List<Param>()
{

View file

@ -123,7 +123,7 @@ namespace HeavenStudio
UpdateScale();
UpdatePan();
SetShakeIntensity();
//SetShakeIntensity();
}
// Update is called once per frame
@ -136,10 +136,10 @@ namespace HeavenStudio
//prob isnt
UpdateScale();
UpdatePan();
SetShakeIntensity();
//SetShakeIntensity();
SetPosition(hWnd, Convert.ToInt16(pan.x), Convert.ToInt16(pan.y), Convert.ToInt16(scale.x), Convert.ToInt16(scale.y));
SetPosition(hWnd, Convert.ToInt16(pan.x + shakeResult.x), Convert.ToInt16(pan.y + shakeResult.y), Convert.ToInt16(scale.x), Convert.ToInt16(scale.y));
}
private void UpdatePan()
@ -223,6 +223,7 @@ namespace HeavenStudio
}
}
/*
private void SetShakeIntensity()
{
foreach (var e in shakeEvents)
@ -232,13 +233,15 @@ namespace HeavenStudio
{
float fac = Mathf.Cos(Time.time * 80f) * 0.5f;
shakeResult = new Vector3(fac * e["valA"], fac * e["valB"]);
Debug.Log(shakeResult);
}
if (prog > 1f)
{
shakeResult = new Vector3(0, 0);
shakeResult = new Vector3(0, 0, 0);
Debug.Log(shakeResult);
}
}
}
}*/
public static void Reset()
{

View file

@ -134,7 +134,7 @@ PlayerSettings:
16:10: 1
16:9: 1
Others: 1
bundleVersion: 0.0.1018
bundleVersion: 0.0.1021
preloadedAssets:
- {fileID: 102900000, guid: 5348c08b82446e0478cee8bda6c02cfc, type: 3}
metroInputSource: 0
@ -158,11 +158,11 @@ PlayerSettings:
applicationIdentifier:
Standalone: com.RHeavenStudio.Heaven-Studio
buildNumber:
Standalone: 1018
Standalone: 1021
iPhone: 0
tvOS: 0
overrideDefaultApplicationIdentifier: 0
AndroidBundleVersionCode: 1018
AndroidBundleVersionCode: 1021
AndroidMinSdkVersion: 22
AndroidTargetSdkVersion: 0
AndroidPreferredInstallLocation: 1