• by Thomas Cashman
  • 2019-10-31 12:00:00 +0000

mini2Dx 2.0.0 Alpha + More

New UI XML Format

We’ve just released mini2Dx 2.0.0-alpha.15 which contains a new XML format for UI thanks to Dan Dudley. Originally, we had planned on working on a new format in 2.1 but thanks to Dan’s massive contribution this will be part of 2.0.

The new format is much simpler and comes with an XML schema so that IDEs can auto-complete and validate your XML.

A sample of the new format can be found below. As always, follow the updating mini2Dx page to update your version.

<container xmlns="https://github.com/mini2Dx/mini2Dx">
	<flex-row>
		<div id="firstColumn" layout="xs-12 sm-10 sm-offset-1 md-3" style="">
			<label style="default" text="Label text"/>
		</div>
		<div layout="xs-12 sm-10 sm-offset-2 md-3">
			<select id="select1" style="default">
				<option value="1">Option 1</option>
				<option value="2">Option 2</option>
				<option value="3">Option 3</option>
				<option value="4">Option 4</option>
			</select>
		</div>
		<div layout="xs-12 sm-10 sm-offset-2 md-3">
			<text-button id="button1" text="" style="default"/>
			<image-button id="button2" style="default">
				<normal-texture>button.png</normal-texture>
			</image-button>
		</div>
		<div layout="xs-12 sm-10 sm-offset-2 md-3">
			<text-box id="textBox1" style="default"/>
		</div>
	</flex-row>
</container>

Roadmap

We’re still working on minor fixes to support games consoles. Once we have a stable build running in January/February, we’ll transition 2.0 to beta. As mentioned before, the alpha version is considered stable for desktop and mobile platforms and the API is near-final.

We’re also working on a new website as part of 2.0 and hope to launch the new site during the beta. The new website will feature a whole new design with more documentation, tutorials and sample projects.

In the meantime, make sure to join our community on Discord!

Read more

  • by Thomas Cashman
  • 2019-10-27 15:00:00 +0000

mini2Dx 2.0.0-alpha.11 released + Roadmap

2.0.0-alpha.11

We’ve just released mini2Dx 2.0.0-alpha.11 which contains the following changes:

  • Added setVisible/isVisible methods to CustomCursor
  • Added AOT (ahead of time) utilities for game console runtimes
  • A lot of fixes/performance optimisations to MonoGame runtime
  • Fixed duplicate calls to Shape#dispose resulting in shapes being queued into pools twice
  • Fixed UI input source changing when using controllers with dead zone issues
  • Fixed incorrect UI render node being returned under certain circumstances.

As always, follow the updating mini2Dx page to update your version.

Roadmap

2.0.0-alpha.11 will be the last alpha build of 2.0.0. This version is considered the near-final API that will be used for the final 2.0.0 release.

Normally alpha/beta would be considered unstable, however, we have been using the alpha builds for Alchemic Cutie without issue. In fact, 2.0.0-alpha.11 performs better than the latest 1.9.x release! So if you’ll be upgrading to mini2Dx 2.0 in the future, we recommend using alpha.11 to test your code.

Up next will be 2.0.0-beta.1 which will be the first build supporting games consoles. There’s still a few issues left for us to fix but we’re really close to having a build of Alchemic Cutie running on Nintendo Switch. As mentioned before, the console runtime will require a license for a cross-compiler (more info on pricing/availability soon).

After 2.0 is released, we’ll be focusing on fixes and optimisations before moving on to 2.1. If there are features you’d like to see in 2.1, make sure to add them to the Issue Tracker!

Read more

  • by Thomas Cashman
  • 2019-09-25 20:00:00 +0100

mini2Dx 2.0.0-alpha.9 released

We’ve just released mini2Dx 2.0.0-alpha.9 which contains the following changes:

  • Added getElementContainingArea to QuadTree interface
  • Added conversion from mini2Dx to MonoGame matrices
  • Fixed TextureAtlas not loading asynchronously
  • Fixed current shader not being set to default shader in LibgdxGraphics

As always, follow the updating mini2Dx page to update your version.

Read more

  • by Thomas Cashman
  • 2019-09-15 20:00:00 +0100

mini2Dx 2.0.0-alpha.8 released

We’ve just released mini2Dx 2.0.0-alpha.8 which contains the following changes:

  • Fixed missing LibgdxTexture#setTextureFilter implementation
  • Fixed Rectangle center x/y accuracy at larger float values

As always, follow the updating mini2Dx page to update your version.

Read more

  • by Thomas Cashman
  • 2019-09-09 20:00:00 +0100

mini2Dx 2.0.0-alpha.7 released

We’ve just released mini2Dx 2.0.0-alpha.7 which contains the following changes:

  • Fixed crash when deserializing a XML null value
  • Fixed incorrect UI input scaling when using UiContainer#setScale

As always, follow the updating mini2Dx page to update your version.

Read more

mini2Dx is game programming simplified

An easy to use API with powerful features and plugins to help you build your next game