Skip to content

Releases: korlibs/korge

v2.2.0

26 Jun 14:56
Compare
Choose a tag to compare
Try to fix BonePositionTest on Native

v2.1.1

14 May 22:58
e6bd41d
Compare
Choose a tag to compare
Update build.gradle.kts

v2.0.9

11 Mar 16:14
4e74746
Compare
Choose a tag to compare
Update gradle.properties

v2.0.8

05 Mar 01:46
Compare
Choose a tag to compare
Bump versions

v2.0.7

17 Feb 21:12
Compare
Choose a tag to compare
Sync from next

v2.0.6

04 Feb 13:09
Compare
Choose a tag to compare
Do not execute views tests in other targets than JVM

v2.0.5

25 Jan 00:32
Compare
Choose a tag to compare
Sync from next + Kotlin 1.4.30-RC

v2.0.3

26 Dec 06:26
17ab0d1
Compare
Choose a tag to compare
Update gradle.properties

v2.0.2

03 Dec 22:22
aa89193
Compare
Choose a tag to compare
Update gradle.properties

v2.0.1

23 Nov 12:43
Compare
Choose a tag to compare

v1.15.1...v2.0.1

Additions:

  • Added support for cube textures and skyboxes. Thanks @dhakehurst !
  • Adjustments to 3D API. Thanks @dhakehurst !
  • Added a new BaseView used for both: View and View3D. Thanks @dhakehurst !
  • Supports specifying gameId to Korge function and a custom settingsFolder to store game settings
  • Added Resources to the injector (providing local resources to the scenes)
  • F7 now displays a debug window on AWT allowing to view the tree and change properties
  • Added debug components (KorgeDebugNode interface)
  • Time on animate is now using TimeSpan instead of plain ints in microseconds
  • Animator functions have now variants for most common numeric types instead of using Number
  • Timed class uses now TimeSpan
  • BitmapFont.getBounds now replaced with Font.getBounds to support any kind of Font including vector ones
  • Added debug package with stuff for adding debug information to component and scenes
  • Removed Html.Alignment that is now replaced with korim TextAlignment
  • Html now uses a FontCatalog instance provided to resolve fonts, used only on TextOld for now
  • InputKeys now have shift, ctrl, alt and meta tags
  • Added KeysEvents.downFrame to execute a code on each frame when the specified key is down
  • Added MouseEvent.onScroll* functions
  • DebugLineRenderContext now support specifying color for each line
  • DebugLineRenderContext supports simplified arbitrary VectorPath rendering
  • Extracted MaskStates and stencils from the animate package to be usable in other parts
  • Fixed stencil support request on several targets
  • Added RenderContext.renderToBitmap
  • Added resourceBitmap, resourceFont, resourceBitmapFont and resourceTtfFont extension function delegates for defining lazily loaded resources automatically garbage-collected when defined locally to the scenes
  • Added ServiceBaseId used for bundles when interacting with external services providing different ids for each platform (like achievements on android / ios)
  • Major TiledMap parsing work. Thanks @RezMike !
  • Added QView similar to JQuery to perform operations to zero, one or several views at once
  • Added suppor for strokes to Circle, Ellipse and RoundRect
  • Added ShapeView for custom shapes using Graphics and supporting strokes
  • Improved FpsOverlay
  • Added MaskedView using stencils to display only one part of another view using another view as mask
  • Added TransitionFilter for blended transitions using a mask
  • Added KTree for serializing/deserializing view trees into XML. The intellij plugin supports editing this format.
  • Added FastSpriteContainer and FastSprite for lightning fast sprite rendering using the same base texture/bitmap (requires atlases)
  • Partially implemented new korui on top of korge views
  • Added SPONSORS.md file with Patreon sponsors
  • Make View.draggable support a different selector + provide callback
  • Now vector text (Text view with non-bitmap Font) scales along the window by default (adjustable via autoScaling boolean property)
  • Added View.windowBounds and View.getWindowBounds()

Optimizations:

  • BatchBuilder2D optimizations
  • ParticleEmitter optimizations
  • Added BatchBuilder2D.addQuadVerticesFastNormal
  • Optimized Graphics view

Fixes:

  • Fixed mouse drag to work when the window is scaled
  • Some fixes on NativeStorage. Now hopefully stored on the right folders

Refactors:

  • Major refactors to dragonbones, spine and swf

Breaking changes:

  • Removed deprecated code
  • Text and Camera replaced by newer implementations. Old implementations keep with TextOld and CameraOld names for a smooth transition
  • Moved admob, box2d to bundles. Added services and inapp billing: https://awesome.korge.org/ ( hosted at https://github.com/korlibs/korge-bundles )
  • Dragonbones and Spine now uses some geometry tools from korma instead of providing their own
  • Dragonbones Transform renamed to TransformDb
  • Moved Atlas, Atlas2, AtlasPacker and AtlasInfo to korim
  • Component now has a BaseView instead of View
  • UpdateComponentV2 is now just UpdateComponent
  • Unified ViewsScope into ViewsContainer
  • Removed resource function and renamed Resource annotation to ResourcePath
  • Changed all HRTimeSpan to just TimeSpan
  • Removed View.onKey*, now just use instead View.keys.onKey*
  • Removed old Achivements, Ads, InAppPayments classes that are now externally-defined bundles
  • IntArray2 moved to kds
  • Removed Fonts. Shouldn't be required now
  • Removed old EffectView*
  • View.colorAdd changes from Int to ColorAdd
  • Removed VfsFile.readBitmapFontWithMipmaps, just use readBitmapFont