Skip to content

Cocos2D-Mono - 2.5.12

Latest

Choose a tag to compare

@brandmooffin brandmooffin released this 24 Jul 15:52
e813097

A drop-in bug-fix release for the 2.5 line — no new APIs, no breaking changes.

What's Fixed

  • Instant action copiesCCFlipX, CCFlipY, and CCPlace now preserve their state when copied via Copy() (copies previously lost their flip/position values).
  • CCCallFuncN.InitWithTarget now returns true on success, matching CCCallFuncO.
  • CCMenuItemSprite — setting NormalImage / SelectedImage / DisabledImage to null now clears the image instead of throwing a NullReferenceException.
  • CCTextFieldTTF — auto-edit touch input re-registers correctly after toggling ReadOnly / AutoEdit; a field returned to editable is touch-interactive again.
  • CCRawList<T>.RemoveRange — removing a middle range near the end of the list no longer corrupts it (the shift was skipped and surviving elements zeroed — visible as vertex corruption when removing draw-node segments). Also reworked pooled-buffer rent/return handling and fixed a tail-clear buffer leak.

Internal

  • Completed the library-wide private-field naming modernization (m_*_camelCase) — consumer-invisible, no public API changes.
  • Every fix above ships with regression tests; the unit suite now stands at 132 tests, with builds verified across DesktopGL, WindowsDX, Android, and iOS.

Packages

Samples and project templates remain on 2.5.11 and will move directly to 2.6.0.

What's Next

With MonoGame 3.8.5 out, work on the 2.6.0 line (MonoGame 3.8.5 + .NET 10) is underway.

Full Changelog: 2.5.11...2.5.12