XML Type Conversion + Accurate Visual Representation of Map Data

# All XML attribute values, names, and text values are String data
types, and may need to convert these to other data types.

For example, the public native Number() function that converts text
values to numbers is required in the following expression
var x : Number = Number(enemy.@x) + (w * 0.5);

But here it's optional
var x : Number = Number(enemy.@x);

# In our XML data (.tmx generated using Tiled), origin of the bodies are
located at the top left corner of the body. But the origin of our Nape
bodies such as Player, Enemy are located at the center THUS using..

var x : Number = Number(enemy.@x) + (w * 0.5);
var y : Number = Number(enemy.@y) + (h * 0.5);