MonoGame.Extended v0.2 released

A few weeks ago I started a project called MonoGame.Extended to add classes and extensions to MonoGame.

With the help of others we’ve offically released the 0.2 alpha NuGet package and it packs some awesome features.

  • Tile based maps using the Tiled map editor (orthogonal only)
  • Bitmap Fonts using the BMFont tool
  • Sprites and SpriteBatch extensions
  • Input Listeners for event driven input handing (Keyboard, Mouse and Touch)
  • Texture Atlases using the JSON format in TexturePacker
  • 2D Camera with pan, zoom and rotation
  • Viewport Adapters for resolution independent rendering

I’ll be talking more about each of these features in the coming weeks on the blog.

It’s open source, check it out on github.

Hi,

How to install and use this in xamarin.

Hey @tonyyy

Are you talking about Xamarin Studio or Xamarin for Android / iOS?

We haven’t tested it with Xamarin yet but I believe it will work because it uses a Portable Class Library (PCL) and I’ve used PCL’s with Xamarin for Android projects before.

If you’re talking about using the NuGet package with Xamarin Studio I haven’t personally tried it. Xamarin does seem to have a blog post that indicates NuGet is supported though.

Let me know how you go and if you run into any problems please report the issue on our github issues page.

Thanks for trying the library :smile:

Thanks for replying…

I am really stuck with 2 things

1 . Autoscaling and touchinput
2. integrating ads.

I have xamarin.android
And I am converting a xna game to mono android game.
Could you please help me how can I do auto scaling for my game so that it will support all kind of devices.

1 . Autoscaling and touchinput

To you mean auto-scaling with the viewport adapters? We haven’t tested them on Android devices. In theory they should work but that’s assuming MonoGame reports the correct values for the Viewport.Width and Height properties on Android.

As for touch input you may need to scale it in reverse as described at the bottom of the linked blog post.

  1. integrating ads.

There’s currently no support for ad integration in MonoGame.Extended.

It’s pretty late here in Australia (just past midnight) so I’m off to bed. Please raise the issues on github and we’ll look into them.