Skip to content

Releases: brandmooffin/cocos2d-mono

Cocos2d-Mono - 2.4.7.9

25 Jul 04:25
17ecb63
Compare
Choose a tag to compare

Cocos2d-Mono - 2.4.7.8

22 Jul 03:40
092af77
Compare
Choose a tag to compare

Cocos2d-Mono - 2.4.7.7

12 Jul 18:39
46e5bc8
Compare
Choose a tag to compare

Cocos2d-Mono - 2.4.7.6

24 Jun 03:49
5223502
Compare
Choose a tag to compare

Cocos2d-Mono - 2.4.7.5

23 May 03:33
8f5a86f
Compare
Choose a tag to compare

Cocos2d-Mono - 2.4.7.4

13 May 03:49
95cc95d
Compare
Choose a tag to compare

Cocos2d-Mono - 2.4.7.3

07 Apr 15:01
cb5e2c8
Compare
Choose a tag to compare

Cocos2d-Mono - 2.4.7.2

31 Mar 18:48
ad38ebd
Compare
Choose a tag to compare

What's Changed

- Fixes for Creating Fonts
- Fixes for Round Line Cap
- SystemFontSpacing for character spacing

SystemFontSpacing

New property added to CCLabel that will allow you to adjust the spacing between characters. The default value is 0. Changing to negative value will bring characters closer and changing to a positive value will spread out characters farther apart.

CCLabel  systemLabel = new CCLabel("矢印の色がセルの背景色と同じの場合、それがたどる方向です。", "Arial", 28) ;
systemLabel.SystemFontSpacing = 10;

Full Changelog: 2.4.7.1...2.4.7.2

NuGet Packages:

Cocos2D-Mono.Android
Cocos2D-Mono.DesktopGL
Cocos2D-Mono.iOS
Cocos2D-Mono.Uwp
Cocos2D-Mono.Windows

Cocos2D-Mono.Core.Android
Cocos2D-Mono.Core.DesktopGL
Cocos2D-Mono.Core.iOS
Cocos2D-Mono.Core.Uwp
Cocos2D-Mono.Core.Windows

Visual Studio Project Template Extension

Cocos2d-Mono - 2.4.7.1

03 Mar 15:05
e59a0dc
Compare
Choose a tag to compare

Cocos2d-Mono - 2.4.7

22 Feb 22:59
92f6a80
Compare
Choose a tag to compare

What's Changed

- Fix issue with TextureAtlas Data not purging correctly
- Core libraries!! 
   - These libraries only contain the MonoGame framework only, the Content Builder Task is not included
- Fix for CCLabel Crashing
- iOS Font Texture Improvements
- Fix for DisplayStats on iOS
- Fix for CCTexture being disposed too early
- Implement Line Break Modes for CCLabelBMFont and CCLabel
- Added support for more delimiters in Labels
- Streamlined usages for RemoveFromParent, RemoveChild and RemoveAllChildren.
- Adjust position to reduce line artifacts on fonts
- Improvements with cleanup and dispose objects

Core Library

This will only have the MonoGame Framework dependency and not the MonoGame Content Builder Task.

The benefits for these Core libraries are speed improvements to compilation and resolves an existing vulnerability that exists within MonoGame.Content.Builder.Task
image

The downside to this is assets will need to be built manually prior to compilation, either via command line using the dotnet tool or the MGCB Editor.

CCTextLineBreakMode

Introducing new LIne Break Modes for CCLabelBMFont & CCLabel:

  public enum CCTextLineBreakMode
  {
      SmartBreak,
      WordBreak,
      CharacterBreak,
      NoBreak
  }

Word Break

Break string lines by words

Character Break

Break string lines by characters

Smart Break (Default)

Combination of Word and Character breaks. Makes best determination for line break.

No Break

Line has no breaks. Just one line continuous string.

Note

LineBreakWithoutSpace will be deprecated in a future release.

This release introduces some changes around usages of RemoveFromParent, RemoveChild and RemoveAllChildren.

First RemoveFromParentAndCleanup and RemoveAllChildrenWithCleanup have been removed in favor of simply passing in a cleanup parameter, which is now true by default. This mirrors the same behavior as before but without needing to explicitly call RemoveFromParentAndCleanup and RemoveAllChildrenWithCleanup.

For example, m_plabel.RemoveFromParentAndCleanup(true); would now look like m_plabel.RemoveFromParent();.

You can see that this helps to streamline the usage and cleanup will always be performed unless explicitly necessary by passing in false e.g. m_plabel.RemoveFromParent(false);.

This also reduces any confusion on whether RemoveFromParent or RemoveFromParentAndCleanup should be called. It is simply just RemoveFromParent in every case and just specify if cleanup is needed.

Full Changelog: 2.4.6...2.4.7

NuGet Packages:

Cocos2D-Mono.Android
Cocos2D-Mono.DesktopGL
Cocos2D-Mono.iOS
Cocos2D-Mono.Uwp
Cocos2D-Mono.Windows

Cocos2D-Mono.Core.Android
Cocos2D-Mono.Core.DesktopGL
Cocos2D-Mono.Core.iOS
Cocos2D-Mono.Core.Uwp
Cocos2D-Mono.Core.Windows

Visual Studio Project Template Extension