Skip to content

Commit 54e056a

Browse files
committed
feat(version): 2.0.0
1 parent f0f86ea commit 54e056a

4 files changed

Lines changed: 17 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77
[#] Bug Fixes<br>
88
[.] Others
99

10+
### V 2.0.0 - 25/12/2024
11+
[+] Entity : Children, AddChild, RemoveChild, Parent<br>
12+
[+] TransformComponent : LocalPosition, LocalRotation, LocalScale, LocalZLayer<br>
13+
[+] Animation : Loop<br>
14+
[\~] Animation : Indices, Timer are now modifiable<br>
15+
[\~] SpriteSheetComponent : CurrentImage is now publicly readable
16+
1017
### V 1.10.0 - 24/12/2024
1118
[+] SEShader<br>
1219
[\~] ShaderManager : Use SEShader instead of Shader<br>

SharpEngine.Core/Manager/DebugManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public static class DebugManager
3333
{
3434
{ "Raylib-cs", "6.1.1" },
3535
{ "ImGui.NET", "1.91.0.1" },
36-
{ "SharpEngine.Core", "1.10.0" }
36+
{ "SharpEngine.Core", "2.0.0" }
3737
};
3838

3939
/// <summary>

SharpEngine.Core/SharpEngine.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<Copyright>Copyright (c) LavaPower 2021-2023</Copyright>
1010
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1111
<PackageProjectUrl>https://github.com/SharpEngine/SharpEngine.Core</PackageProjectUrl>
12-
<PackageVersion>1.10.0</PackageVersion>
12+
<PackageVersion>2.0.0</PackageVersion>
1313
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1414
<PackageReadmeFile>README.md</PackageReadmeFile>
1515
<EnablePackageValisation>true</EnablePackageValisation>

Testing/MyScene.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,20 @@ public class MyScene : Scene
1616

1717
public MyScene()
1818
{
19+
var parent = new Entity();
20+
parent.AddComponent(new TransformComponent(new Vec2(100, 200)));
21+
parent.AddComponent(new SpriteSheetComponent("portal", new Vec2(100), [
22+
new("animation", Enumerable.Range(0, 10).Select(x => Convert.ToUInt32(x)).ToList(), 0.2f, true)
23+
], "animation"));
24+
AddEntity(parent);
25+
1926
var movable = new Entity();
2027
movable.AddComponent(new TransformComponent(new Vec2(100)));
2128
movable.AddComponent(new SpriteSheetComponent("portal", new Vec2(100), [
2229
new("animation", Enumerable.Range(0, 10).Select(x => Convert.ToUInt32(x)).ToList(), 0.2f, false)
2330
], "animation"));
2431
movable.AddComponent(new ControlComponent());
25-
AddEntity(movable);
32+
parent.AddChild(movable);
2633

2734
var entity = new Entity();
2835
entity.AddComponent(new TransformComponent(new Vec2(300)));

0 commit comments

Comments
 (0)