Marmalade 7.10 is out now – On device Android debugging using Visual Studio!

That’s right, you can now debug Android games on apps using Visual Studio on Android, which is awesome of course.

You can download the Marmalade SDK for free from the Marmalade SDK website

Ok, now that I’ve finally contained my excitement (no more trailing through adb output!), here’s the full list of changes:

Changed since 7.9

Marmalade Hub

  • MSDK-1516 Fixed an issue on Windows that prevented newer versions of iTunes from being detected by the Dependency Checker.

Marmalade Quick

  • MSDK-1582 Networking library for Marmalade Quick updated with IPv6 support.
  • MSDK-1620 Render Texture example improved to show more efficient usage of sprites.
  • MSDK-1476 Fixed an issue when deploying from the command line that could cause app binaries to fail to be located.

Middleware

  • IwGx (MSDK-1524) Fixed an issue with CIwTexture::LoadFromFile() where alpha was incorrectly converted for 32-bit images.
  • IwCRT (MSDK-1610) Implemented getaddrinfo() and freeaddrinfo() functions.
  • IwTwitter (MSDK-942) Fixed an unknown error during socket connection that prevented a session from being established.

Platform Abstraction

  • s3eSocket (MSDK-1603) Fixed an issue on iOS where no connection would be reported when connected via an indirect network connection type (ad-hoc networks or IPv6 tunnels). You can restore the previous behaviour if required by setting IOSUnreachableIndirect to 1 in your app’s ICF.

iOS

  • MSDK-1471 Fixed an issue that could cause touch callbacks to be lost when playing video.
  • MSDK-1281 Fixed an issue that prevented correct resizing of video when device orientation was changed.

Android

  • Beta support for Android Native Debug mode, allowing you to use the Visual Studio Debugger or GDB to debug your Marmalade apps on Android devices.

Google Native Client

  • MSDK-1584 Fixed an issue that could cause a black screen on startup.

Examples

  • IwHTTPExample (MSDK-1574) Example now fails gracefully rather than crashing when unable to connect to an IPv6 address on 64-bit Android devices.

Goji game editor for Marmalade 1.7.2b now available

Latest version of the free Marmalade compatible game IDE the Goji Editor is now available for free download

Changes include:

  • Added New Project dialog with support for creating wireframe projects
  • Update to AppEasy Core to work with Marmalade SDK v7.4
  • Fixed export of extra app.icf settings
  • Fixed missing app_id for Facebook extension when deploying device builds

New to the Marmalade SDK?

So you downloaded the Marmalade SDK, but you haven’t quite got around to using it yet. Maybe you plan on developing full on native speed games? Maybe you want to develop apps that run across a large number of platforms? Or you just want to avoid XCode and Mac to develop iPhone and iPad games. Regardless of why you downloaded it, why aren’t you using it yet? Maybe it seems a little daunting at first and you just don’t know where to start? Well I have some news that may just help you.

Marmalade are running a series of Getting started with Marmalade webinars which will help you get up and running quickly. The webinars are hosted by Marmalade expert, developer and support engineer Nick Smith and will cover an overview of how Marmalade works; a number of practical demos and examples that show you how to start a project in Marmalade, or import an existing C++ project. Members of Marmalade’s support team will also be available throughout the webinar to answer questions. The webinars will last for 30-45 minutes.

Marmalade are hosting three Getting Started with Marmalade webinars on Friday 15th of August:

  • 13:30 India ST / 16:00 China ST (09:00 BST)
  • 17:00 Central European ST (16:00 BST)
  • 10:00 Pacific DT / 13:00 Eastern DT (18:00 BST)

To register use the links below:

9am BST

Audience Log-in URL: https://www.anymeeting.com/651-699-060
Registration Form URL: http://www.anymeeting.com/PIID=EA58D78189493D

4pm BST

Audience Log-in URL: https://www.anymeeting.com/386-680-255
Registration Form URL: http://www.anymeeting.com/PIID=EA58D78189493E

6pm BST

Audience Log-in URL: https://www.anymeeting.com/268-006-473
Registration Form URL: http://www.anymeeting.com/PIID=EA58D78189483B

Marmalade SDK now offering FREE License!

Yes you did read that right! The Marmalade SDK can be freely downloaded and used in all its flavours including:

  • C++ – Create native games and apps in blazing pedal to the metal C++
  • Juice – Easily port existing Objective-C based iOS games and apps to Android
  • Quick – Create games and apps rapidly using Lua
  • Web – Combine the power of C++ and HTML5

Sounds too good to be true? No, not at all. There are some restrictions such as:

  • Limited extensions, but most important ones included
  • Shows advert on boot
  • Shows a splash screen on boot

But hey, you get support for the following platforms out of the box:

  • iOS
  • Android
  • Windows Phone
  • Windows Store
  • BlackBerry 10
  • Tizen

Why am I so excited about the Marmalade SDK providing a free license? As most of you are aware I’ve been developing the open source AppEasy Core SDK which is a powerful game and app engine that makes creating games and apps super simple. This move by Marmalade will help to propagate its usage within the developer community. Not only that it opens the door for other developers to create extensions, middleware and tooling based on or around Marmalade.

Exciting times ahead is all I can say! Well done Marmalade.

What next? Well go and download your free copy of the Marmalade SDK right now.

Marmalade 6.4 Gets Tizen Support

The latest and greatest Marmalade SDK 6.4 is out now. A number of cool new features have been added including:

  • Support for Tizen OS
  • iOS 7 and XCode 5 Support
  • Marmalade Quick has now been rolled into the Marmalade SDK

Enjoy!

Book Review – Marmalade SDK Mobile Game Development Essentials

I recently obtained a copy of a new book called Marmalade SDK Mobile Game Development Essentials by Sean Scaplehorn, which is currently the first and only book available that covers the Marmalade SDK. The Marmalade SDK is a cross platform game and app development system for a number of mobile devices including Android and iOS, which I have been using now for a few years. With this book being the first and only book and considering that I had spent so much time writing tutorials to help bring would-be Marmalade developers get up to speed that I felt inspired to review this book. In addition, I was approached by Packt publishing some time ago to write this book, but unfortunately due to my busy schedule I had to forego the opportunity. So once I heard that the book was out you can bet I’m gonna read and scrutinise it πŸ™‚

Ok, the first thing I do with all new books is take a scan through the chapter list to see how much content is there, I can usually judge a books value from the contents pages. I’m happy to say that this book passed my initial contents inspection. There’s quite a lot of content squashed into a relatively short book.

The book begins with a short introduction to the Marmalade SDK, including step by step instructions on how to install and setup Marmalade on your computer. It then moves on to building a fairly simple Hello World application complete with a step by step explanation of each of the parts of the program. The book then progresses on to explain many of the Marmalade API’s, below I will cover each section of the book:

* Resource management – This section covers Marmalade resource management. You should pay particular attention to this section as resource management is one of the most important things to get right when developing cross platforms apps.
* 2D Graphics – This section compares IwGL, IwGx and Iw2D then goes into in-depth details of IwGx (my favourite Marmalade graphics API), including materials, streams, textures and polygons
* User Input – This section covers detecting key presses, touch screen (including multi-touch) and accelerometer (would have liked to have seen compass covered also). Gestures sample project is good as it shows how to detect swipe and pinch gestures, something many developers have trouble with
* 3D Graphics – This section has a short introduction to 3D graphics, followed by an explanation on how to render 3D shapes with IwGx (polygon by polygon),, description of view / model matrices. The chapter then moves on to show you how to get data from popular packages such as Blender / 3DS Max into a format that Marmalade can use using the Marmalade supplied exporters. Finally the chapter covers rendering exported 3D data using Marmalades IwGraphics API.
* 3D Animation – This section covers basic PAS animation using matrices, morph target and bone animations, although morph target animations are not covered as in depth as I would like to have seen. I did however have a fair bit to learn from this chapter.
* Fonts, User Interfaces and Localisations – This chapter starts out by covering IwGxFont and bitmapped fonts, including building bitmapped fonts from Marmalade Studio Font Builder. I will admit that I personally prefer and would recommend looking at true type fonts instead (see IwGxFontCreateTTFontFromBuffer for reference) as you do not have to deal with intermediate tools such as the font builder. The author briefly touches on IwUI and IwNUI for user interfaces but opts to roll his own solution which I completely agree with because IwUI is difficult to get to grips with and IwNUI is only supported by Android and iOS, although I would have liked to have seen IwUI / IwNUI covered in a separate section for completeness.
* Sound and Video – This chapter covers playback of compressed audio (for in-game music), playback of sound effects and video playback.
* Support a wide range of devices – This chapter has to be by far my favourite. It not only covers handling different device capabilities and screen resolutions (things that will plague you unless you get the right at the start), it also covers other topics such as dealing with application configuration files, multiple resource sets and compression. This is a must read section, even for advanced Marmalade developers
* Social media and other online services – This chapter covers logging in and out of Facebook as well as posting information to the users wall using the Facebook Graph API. It briefly explains other services that are available but doesn’t venture into any of them with much depth. Hopefully a 2nd edition will delve deeper into these services.
* Extensions Development Kit – If you are coming to Marmalade from iOS or Android and have libraries of code that you would like to use in your Marmalade project, or maybe you want to simply integrate a 3rd party iOS or Android specific API into your app then the EDK is essential for you. The EDK enables you to call those libraries from Marmalade without too much hassle. The Marmalade EDK is impressive and this section is definitely worth absorbing. The author covers the creation, building and usage of an EDK extension for Windows, iOS and Android, providing an excellent step by step introduction to the EDK.
* The skiing app – I must say that I am impressed with Seans example skiing game, he not only provides a 2D version, but also a full 3D version. The code contained in these apps is invaluable for beginners.

In summary, I think that Sean Scaplehorn has done a great job and I would recommend this book to any would-be Marmalade developer, even seasoned Marmalade developers may have a few things to learn from it. I thought I knew just about everything about the Marmalade SDK, but this book proved that there are still a few corners that I need to investigate. I can say that I wish that this book was available when I first started my Marmalade journey. Marmalade is not the easiest of SDK’s to learn to use, but it is the best in my opinion, so its worth the time and effort to learn it properly and go on to create wonderful things. This book will help you along this journey much quicker than stumbling around in the dark the way I did when I first started using Marmalade. The accompanying sample code is also well written and well commented providing a good starting point for your own projects.

Overall I give the book a 9 out of 10. I would liked to have seen more coverage of the likes of True Type Fonts, In-app Purchasing, IwHttp and IwNUI. If a 2nd edition is forthcoming and these sections are covered then I could quite easily give an extra point.

New Marmalade SDK Developer Book

Packt Publishing have brought out a new book that mabny of you should know about called Marmalade SDK Mobile Game Development Essentials. I’m hoping to get a review of the book up over the weekend.

Chain Word – For Playbook & BB10

New made with Marmalade and IwGame Engine game now available for PlayBook and BlackBerry 10 OS devices. In the developers own words:

“Well, after only 3 weeks work my latest game – Chain Word – has been approved for sale on the BlackBerry app store.

It was written using IwGame 0.4 for Marmalade, and I’ve been very impressed with the API. Today I have added support for Scoreloop leaderboards, and will be adding Challenges soon (not uploaded yet though). I may also produce a free version with adverts / IAP.

A simple word game – how long a chain can you make?

– Start with a 3 or 4 letter word
– Add, Remove, Change or Swap letters to make a new word
– Repeat!

Link to AppWorld Page

If anyone wants to know how I achieved anything, please let me know and I will post the relevant codes. I also have this crazy thought running round the back of my head about open-sourcing the thing, but I’ve modified the IwGame engine slightly so I’m not sure how that would work…”

Congratulations to SyGem Limited on an excellent product well done.

Changes are Coming Soon

Very soon IwGame will be transformed into a new form known as the AppEasy Core SDK. AppEasy Core SDK is the new version of the IwGame Engine that has been tidied up and made portable, making it easily portable to other platforms. Initially AppEasy Core will support the Marmalade SDK as a target platform with support for the following platforms being added over the coming months:

  • Cocos2d-x
  • iOS native
  • Android native
  • Windows XP/7/8 native
  • Windows Phone 8 native
  • BlackBerry OS 10 native
  • HTML 5

Our aim is to bring XOML to as many platforms as possible, making mobile app and game development as easy as possible for everyone.

We will also be creating AppEasy players for all of the supported platforms to enable C++ free development for everyone.

To keep tabs on the progress of our project take a look over at http://www.appeasymobile.com

IwGame Engine 0.4 has Landed – Massive Update, Lua, Camera and more


New here? What’s IwGame? IwGame is an open source free to use cross platform game and app engine for iPhone, iPad, Android, Bada, Playbook, Symbian, Windows Mobile, LG-TV, Windows and Mac, built on top of the Marmalade SDK. You can find out more and download the SDK from our IwGame Engine page.

Its been a long while since we did a major update of the IwGame Engine, but we have one heck of an update for you today. We have a huge number of new features, changes and bug fixes for you.

We’ve also got a slight license update. Basically the new license says that if you use IwGame then you MUST credit the IwGame either in the app / game or on the apps support web site. A VERY small price to pay for such a huge and useful engine that has taken many man months to create, test and maintain. If you cannot live with the license terms then we are willing to forego the terms for a small fee or hire one of our teams to create your project (get in touch to discuss)

Lets take a look at the complete change log:

IwGame 0.4 Changes:

  • AppEasy for Marmalade Project Manager and Apple Wizard tool added, easy wizard to help guide developers through the Apple iOS sign-up, certificate generation, provisioning etc..
  • Over 60 XOML / Lua examples added showing how to use the many parts of the IwGame engine core
  • New XOML documentation added, outlining the complete XOML and Lua API’s in depth
  • Lua API added which enables apps to be developed without C++ or a combination
  • New Script resource type added which enables scripts to be included via XOML. Globally declared scripts will exist in the global script space, whilst scene local scripts will be local to the scene
  • Support for Video Camera streaming added (IWGameCam)
  • New XOML resource type added that enables declaration of Video cam in XOML and streaming to a image (CIwGameVideoCam)
  • Sound effects have been moved into the XOML system. You can now define and play back music and sound effects from XOML
  • New RemoteReq XOML type added that enables you to make POST and GET requests declaratively
  • New XOML actions added / old ones removed
  • FromTemplate – Instantiate a XOML template from an action
  • PauseTimeline – Pauses a a timeline
  • CallGlobalScript – Calls a script in the global script space
  • ChangevideoCam – Modifies a VideoCam instance (start / stop)
  • Activate / Deactive scene removed
  • CallScript – Calls a script
  • Inline – Executes script inline
  • RemoteReq – Executes a remote request
  • Action / command parameters now support 5 parameters instead of 4
  • CIwGameActionsManager now supports removal of actions with removeActions
  • Actors / Sprites now support Orphan feature which enables them to be displayed outside their normal parent-chld hierarchy. This enables them to be layer sorted with other actors
  • Actors now support percentage positioning using the new PercPos actor property. When PercPos is set to true the actors Position property is classed as a percentage of the devices screen size
  • Actors / Sprites now have a new property called IgnoreCamera. Actors with this property set to true will ignore the scenes camera transform
  • Actors now have getProperty() method that can be used to retrieve actor properties
  • Actors now have an OnTick event that can call an actions list each time the actor is updated (each frame)
  • Actors have other new methods including CheckCollisionRect(), getDistanceBetween() and getAngleBetween()
  • Actors have many more properties that can now be set from XOML
  • Actors can now handle up to 5 simultaneous Begin / End touch and Tapped events in XONL
  • IwGameAds now sends correct user-agent for iOS and Android
  • CIwGameAnimTimelinesManager now allows removal of timelines
  • Image Brushes now support setting of UV coordinates directly using new UV property
  • XML parser pooling system changed from global to per XML parser instance, pools are auto calculated. This eliminates the need to set up XML pools.
  • Files can now transfer their data into a script when loaded
  • CIwGameImage has been extended to support CIwTexture instead of CIw2DImage, also now supports dynamic images that can be modified
  • CIwGameImage now has SaveBmp(), SaveTga(), SavePng() and SaveJpg() methods
  • New CIwGameModScript modifier added to enable actors / scenes to call scripts
  • Commands can now be conditionally executed using conditions
  • New Commands added to program system – add_var, get_var, if_var, call_script, call_global_script, inline, from_template, music, sound, wait, debug_text, remote_req
  • ChangeProgram action now supports restart command
  • Scenes now support new ScriptEngine tag which defines which script engine the scene should use
  • Scenes now support setProperty() and getProperty()
  • Scenes now have an OnTick event that can call an actions list each time the scene is updated (each frame)
  • Scene allos setting of physics time step with new PhysicsTimestep property
  • Most sprite, actor and scene parameters that were fixed point based and now floating point based
  • CIwGameSprite now has new methods SimpleTestOverlap() and TestOverlap()
  • CIwGameBitmapSprite now supports direct setting of its Uv coordinates
  • WebView (CIwGameUIWebView) completely reworked. Now uses device coordinates and can now show dynamic html / javascript
  • XOML variables can now be made persistent so that their values are saved and restored between sessions
  • XOML array variables can now be populated from comma delimited data, elements will be split at commas
  • Variables can now be removed from CIwGameXomlVariableManager
  • New CIwGameSettings class added that is used to save and restore engine settings. Currently controls debug trace output level and enable / disable device power saving
  • Many new error checks and error / warning messages added throughout
  • Slider, Imageview and TextView now support binding to integer variables
  • Labels and TextViews now have a new property TextUseParentOpacity. When set to true the labels text will scale its opacity by the label images opacity, default is not to scale
  • ActivateScene and DeactivateScene actions removed, activation / deactivation rolled into resume / suspend
  • Actors with no size or SrcRect defined will default to 100% proportional sizing
  • SetVar action now supports the generation of a random number in the same way that set_var command does
  • SetVar action and set_var command when called on an array will now fill the whole array, including the random version
  • SetVar action and set_var command now support generation of random characers with randchar
  • P1, P2, P3, P4, P5 can now be used instead of Param1, Param2, Param3, Param4, Param5 for command and actions parameters
  • All commands can now accept variable substitutions for parameters
  • Conditions can now be used on arrays for string searches, number comparisons etc..
  • Added new system variable array called touches. This array of integers represents the x, y, touched status of 5 simultaneous touches
  • Variables passed as action and command parameters now cached to speed up access
  • Raw script can now be executed inline using the new “Inline” action and “inline” command. P2 specifies scene in which to run the script (omit to run in global script space)
  • Actors that have Draggable set to true will also set Hittest to true unless you override it
  • All files are now Preload and Blocking by default
  • If you now try to add a resource that already exists in the scope it is loaded then a warning will be displayed and the resource will be overwritten
  • WebView now supports new Html attribute which can be used to pass html to the web view to be displayed
  • WebView now works in screen coordinates and not virtual canvas coordinates
  • Actors now have new UserData property that can be use to store a single integer, can be used to store index into script table / array for additional data
  • Html Ads are now integrated via the web view (see section 20 of XOML User Guide)
  • WebView now has OnError event handler which is called if the web view is not available
  • VideoCam now has OnError event handler which is called if camera fails to start
  • TTF local font loading reworked to use memory buffers
  • String class optimised to minimise memory allocations and data copying
  • String class now supports Occurrences() and Split() methods
  • Internal slot array optimised to reduce memory allocations
  • TTF local font loading reworked to use memory buffers
  • Particles defined within a Particle Actor have a new property called Attached. When set to true the particles will follow the emitter, if false then they do not.
  • Image brushes now have a new Tiled property that allows you to enable / disable tiling of the brush
  • BUG FIX: Sprites no longer appear at origin on first frame
  • BUG FIX: Fixed problems with CIwGameAnimInstance
  • BUG FIX: Scene layering fixed and optimised
  • BUG FIX: Crash when deleting or adding scenes at the same time as removing them
  • BUG FIX: Scene layers now taken into account when processing touches
  • BUG FIX: Patch9 based actor clipping bug fixed
  • BUG FIX: Text margin for labels now fixed
  • BUG FIX: Crash when assigning invalid timeline to scene
  • BUG FIX: Template parameter case issue fixed
  • BUG FIX: Nop command now returns immediately
  • BUG FIX: Crash when not assigning brush a type. Defaults to Image with a warning
  • BUG FIX: WebView was not positioned correctly when scene origin was set to something other than centre
  • BUG FIX: Web view now works on iOS and Android (does not work on Windows)
  • BUG FIX: AspectLock fixed
  • BUG FIX: None batched sprites now render correctly at edges
  • BUG FIX: Deleting particle actor that was child of another actor crashed when removing particle actor
  • BUG FIX: Particle actor placed inside parent actor didn’t scale by parents opacity when UseParentOpacity set
  • BUG FIX: Particle angvelmode, scalevelmode, depthvelmode names corrected
  • BUG FIX: Empty Param2 in FromTenplate action / commands crash
  • BUG FIX: Fixed changing orientation resizing
  • BUG FIX: Touch panning glitch fixed
  • BUG FIX: Crash fixes in CIwGameDataFile
  • BUG FIX: Compass fix
  • BUG FIX: Actors OnCreate event was not working
  • BUG FIX: Deleting scene crash
  • BUG FIX: Crash when invalid animations added to a timeline
  • Many other small additions and bug fixes that we forgot to note πŸ™‚

I did say there were a lot of changes πŸ™‚

Lets separate some of the changes and take a look at what they mean to IwGame Engine users:

Moving Towards a Portable Engine

We have decided to make IwGame portable as we no longer see the iwGame engine as a Marmalade learning tool. With this in mind we have started abstracting Marmalade specific code out of the main code and into its own platform section (see Marm sub folders). Over time all Marmalade types, classes, functions and constants will be moved out and replaced with a universal system that can be easily ported. We will then be porting IwGame to each individual native platform, These platforms include:

* Windows XP/Vista/7/8
* Mac OS
* Android
* Apple iOS
* Windows Phone 8
* BlackBerry OS 10
* PlayStation Vita
* Marmalade SDK

With this in mind you will have a couple of changes to make to get your existnig projects to work with IwGame. Here are the changes you will need to make:

1) Add #include “Marm\IwGamePlatformMarm.h” to your main.cpp file
2) Call IwGamePlatformMarm_Create(); at the start of main() before you do anything related to dynamic memory allocation or IwGame / Marmalade
3) Call IwGamePlatformMarm_Destroy();; right before you exit main() after you have done freeing memory and shutting down IwGame / Marmalade

Lua API

By far the most interesting addition to IwGame is the Lua API. The IwGame Lua API enables you to develop games and apps without any need to fall back to C++. Just about anything you can do in C++ you can do in Lua + XOML. We want to move IwGame towards a none compiler based system where you can create great games and apps without the need for professional level knowledge of C++ or compilers or IDE’s. In fact, we have a new service for Marmalade and none Marmalade developers called AppEasy that is built upon the IwGame core that does just that and is available at http://www.appeasymobile.com

Actors can call scripts and scripts can create and modify actors, scenes and all sorts of other stuff. You can even execute inline script in XOML!

AppEasy for Marmalade

AppEasy for Marmalade has been included in this distribution of the IwGame engine. AppEasy for Marmalade is a cool little project manager that lets you organise assets, scripts, icons, splash screens, set app info and generate a fully working MKB project for you that you can build and deploy. We have provided this awesome tool to enable you to easily check out all of the new examples, as well as give you a taste of C++ free development.

Over 60 Examples

IwGame 0.4 comes with nearly 70 examples that show off the various parts of the SDK. Here’s a complete list of examples:

Accelerometer – Shows how to use the accelerometer
β€’ ActorChildren – Shows how actor hierarchies work
β€’ ActorCollisionFlags – Shows how to use collision flags to mask collisions between actors
β€’ ActorConnector – Shows how to use the connector actor to visually connect actors
β€’ ActorDocking – Shows how actors can be docked to arrange them effectively on different sized screens
β€’ ActorLayers – Shows how actors can be layered to add depth sorting
β€’ ActorModifier – Shows how to use actor modifiers to add additional functionality to actors
β€’ ActorParticles – An example that shows how to use the particles system. This example builds up to 1000 animating particles at different depths over a short period of time.
β€’ ActorPhysics – Shows how to apply physics to actors
β€’ AdvancedCollision – Shows how to query and interact with an actors list of start / end collision contacts
β€’ BasicActions – Shows how to use basic actions to play and pause an animation
β€’ BasicAnimation – Shows how to create basic animation and attach it to an actor
β€’ BasicDataBindings – Shows how to basic data bindings. This example binds properties of an actor to different variables
β€’ BitmapAnimation – Shows how to create a bitmap animation from a sprite atlas and attach it to an actor
β€’ ComplexProgram – Shows how to create a slightly complex program using commands that are executed in sequence or in parallel
β€’ ConditionalActions – Shows how to execute actions based on certain conditions being met
β€’ ConditionalImages – Shows how to load different image sets based on conditions such as the screen size
β€’ DataGrid – Shows how to create a grid user interface component and bind XML data to it
β€’ Demos/Happy Birthday – Shows image loading and basic animation
β€’ Demos/SpaceGame – Shows a basic demo of an object flying through space that can shoot bullets. Lua is used to provide the game logic
β€’ DynamicWebView – This example shows how to write html directly to a web view using actions creating dynamic web content. It also shows how to use actions to navigate web pages / sites.
β€’ Files – Shows how to load files and bind the loaded data to a label
β€’ Games/GameOf10 – A game written completely in XOML, including logic
β€’ Games/HangMan – A hang man game written in XOML and Lua
β€’ Games/RockPaperScissors – A rock paper scissors written completely in XOML
β€’ HelloWorld – Basic hello world XOML example
β€’ Joints – Demo that shows how to use a variety of different Box2D joints to connect actors together
β€’ Music – Shows how to play and stop music using actions
β€’ OverlapTest – A simple example that shows how to use script to test for overlapping actors
β€’ PersistentVariables – An example that shows how variables can be made persistent across different app sessions
β€’ ProgramLoops – Shows how to create and use loops in programs
β€’ RemoveResources – Shows how to remove resources from the global resource manager
β€’ SceneAnimation – Shows how to animate a scene
β€’ SceneAugmentation – Shows how to add functionality to a scene after it has already been declared
β€’ SceneClipping – Shows how to change the clipping extents of a scene
β€’ SceneEvents – Shows how to use and handle scene events
β€’ SceneExtents – Shows how to change a scenes extents
β€’ SceneLayers – Shows how to layer scenes
β€’ ScenePanning – Shows how to use touch camere panning within a scene
β€’ ScenePhysics – Shows how to set up basic physics in a scene
β€’ SceneSwitch – Shows how to load and switch between different scenes
β€’ SimpleCollision – Shows how to use collision modifiers to add collision detection to actors
β€’ SimpleProgram – Shows how to create a simple XOML program
β€’ SimpleScript – Shows how to add a simple script
β€’ SoundEffects – Shows how to play sound effects
β€’ Styles – Shows how to use styles to style a group of actors
β€’ Templates – Shows how to use templates to create multiple actors at the same time
β€’ Templates2 – Shows how to create actors from templates from actions
β€’ TiledBrushes – Demo that shows how to use tiled brushes to create effects
β€’ UI_Canvas – Shows how to use the Canvas UI container control
β€’ UI_Complex – A more complex UI example that shows a large complex virtual user interface
β€’ UI_Grid – Shows how to use the Grid UI container control to host pre-set UI elements
β€’ UI_Grid2 – Shows how to create a UI Grid component automatically from data
β€’ UI_ImageView – Shows how to create an ImageView container UI control. The ImageView container supports pinch zoom / pan
β€’ UI_Listbox – Shows how to use the Listbox container UI control to host preset UI
β€’ UI_Listbox2 – Shows how to use the Listbox container UI control to host dynamic UI
β€’ UI_Slider – Shows how to use the slider UI component
β€’ UI_StackPanel – Shows how to use the StackPanel UI container control
β€’ UI_TabBar – Shows how to use the TabBar UI container control to host different views of information
β€’ UI_Textbox – Shows how to use the Textbox UI component to allow the user to enter information
β€’ UI_TextView – Shows how to use a Textview UI control
β€’ UI_WebView – Shows how to use a web view UI control to show web content
β€’ UI_WrapPanel – Shows how to use the WrapPanel container UI component
β€’ Variables – Shows how to use XOML variables
β€’ Video – Shows how to display video
β€’ VideoCam – Shows how to stream the video cam to an image and then map that image to actors
β€’ XMLVariables – Shows how to use XML variables in XOML to pull specific information from XML files

New XOML / Lua API Documentation

The XOML and Lua API have been fully documented in an over 200 page manual that accompanies the SDK. The latest version of this manual is also available at AppEasy XOML User / Programming Guide PDF. The C++ documentation has not yet been updated with all of the latest changes so will not be available for some time.

Apple iOS Wizard

You will find that a new tool has been added to the IwGame Engine called the Apple Wizard. This handy little tool is ideal for beginners or event veterans who sometimes forget the long winded and overly complex procedures involved in generating signing certificates requests, creating developer / distribution certificates, provisioning devices, creating App ID’s etc.. Well this little tool will walk you through the whole process so it can be done in minutes.

Support for Video Camera Streaming

You can now declare a new VideoCam tag in XOML which enables you to stream the users front / rear camera to an image then display that image as an actor. Check out the VideoCam example for a cool demo.

Audio Integration

We’ve moved sound effects into the XOML system properly so you can now include compressed wav files into your apps without the need to put them through the Marmalade resource manager. You can even host them on a web server and download them as and when required, just like any other resource.

Remote Requests

We’ve made it possible to construct POST and GET requests in XOML and send and receive responses from XOML / Lua. This is a very interesting new feature that enables communication with web based services declaratively.

Orphan Actors and Sprites

A number of users have made comment regarding not being able to depth sort child sprites, well we’ve found a workable solution for you that doesn’t break our API. You can now set actors as “Orphans” by adding Orphan=”true” to their declaration. An actor that is orphaned will be taken out of the normal sprite parent / child hierarchy allowing it to be depth sorted with parent regular actors

Percentage Based Positioning

It became apparent to us that as we had a percentage based sizing system in IwGame that we also needed a percentage based positioning system too, allowing truly device screen independent layouts. Actors can now be marked as percentage based by adding PercPos=”true”. When set, the actors position will be taken as a percentage instead of an absolute coordinate.

Multi-touch Actors

Actors can now handle up to 5 simultaneous Begin / End touch and Tapped events in XOML. This enables you to create some very interesting styles of app and game play as you can monitor and react to 5 touches at the same time.

Proper User-Agent

IwGameAds now gets a proper browser user-agent from the system for Android and iOS using the new UserAgent EDK extension. This should help increase ad fill rates substantially.

XML Pools have Gone, Woopeee!

I was never keen on the global XML pool system so we destroyed it, well not completely, we wanted to keep XML memory pooling but make it an automated process. The XML parser will now pre-scan an XML file and calculate how many tags / attributes are present then allocate just the right amount of pool memory.

Cool Brushes

Image brushes can now use clamping or tiling. Also, you can now set the UV’s of an image brush directly using the new UV attribute which accepts 8 numbers (topleft-uv, topright-uv, bottomright-uv, bottomleft-uv)

Web View Reworked

The Web View control has been reworked and can now display dynamic html content that can be set via XOML, Lua and C++.

Actions and Command

Actions and commands now accept XOML variables as parameters. Many new actions and commands have also been added, expanding the functionality of XOML substantially.

XOML Variables

XOML variables have had many changes including:
* Variables can now be made persistent so theri values are saved and restored between game sessions
* XOML array variables can now be populated from comma delimited data, elements will be split at commas
* Conditions can now be used on arrays for string searches, number comparisons etc..
* Added new system variable array called touches. This array of integers represents the x, y, touched status of 5 simultaneous touches

As you can see there’s been a huge number of changes, good luck with the update and happy coding.

Oh, please direct all XOML / Lua questions to our AppEasy forum at http://www.appeasymobile.com/forum