• by Thomas Cashman
  • 2020-10-15 12:00:00 +0000

mini2Dx 2.0.0 Status Update

2.0.0-alpha.34

We’ve just pushed 2.0.0-alpha.34. A lot of changes have been going into the alpha versions to support more types of games and more complex usage.

The biggest change is the introduction of Mdx.timestepMode which allows developers to change their game’s timestep to use normal deltas (time since last frame) or a physics-based timestep implementing the updatePhysics method in their game. Previously, mini2Dx forced developers to use a physics-based approach but this is not ideal for all games. Now developers have the flexibility to choose their timestep based on their game.

Artifact ID Changes

Github Packages have started to enforce lowercase for all artifacts. As such, from 2.0.0-alpha.34, the artifact IDs in the your Gradle dependencies will need to be lowercase.

Your dependencies should look like:

        compile "org.mini2Dx:mini2dx-core:$mini2DxVersion"
        compile "org.mini2Dx:mini2dx-tiled:$mini2DxVersion"

Beta Timeline

We have an internal deadline of December for a project to provide the consoles runtime on. There’s a good few optimisations and bug fixes to be done but once everything is stable-ish, we’ll be releasing the mini2Dx 2.0 beta along with the new website!

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

Read more

  • by Thomas Cashman
  • 2020-03-29 18:00:00 +0000

LWJGL3 Support

We’ve just released mini2Dx 2.0.0-alpha.22 which adds support for LibGDX’s LWJGL 3 runtime. This will provide improved support for many things including internationalized input handling, ARM architecture, multi-monitor setups and more!

Moving forward there will be two LibGDX desktop runtimes:

compile "org.mini2Dx:mini2Dx-libgdx-desktop-lwjgl2:2.0.0-alpha.22"

OR

compile "org.mini2Dx:mini2Dx-libgdx-desktop-lwjgl3:2.0.0-alpha.22"

DesktopMini2DxConfig has now been replaced with Lwjgl2Mini2DxConfig and Lwjgl3Mini2DxConfig.

If you haven’t upgraded to the 2.0.0 alpha yet, you can find more info here page to update your version. If you find any issues, please report them on the Issue Tracker.

Roadmap

We’re still working on supporting games consoles but have been delayed due to everyone being busy with work. However, progress is being made and we hope to have a beta version soom(TM)!

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

Read more

  • 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 19:00:00 +0000

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

mini2Dx is game programming simplified

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