obiot/melonJS — Issue #41: LowerCase settings
Author: norb42
Created: 2012-01-27 17:26:52+00:00
State: open

I wished to play with the param from Tiled Object and have done a pretty simple opening/closing door with animation defined within the map.

http://norb.zxq.net/melonJS/melonsample1/

It could have been more simple using just a loadclass with eval function and place directly javascript inside the TMX map.

But (here come the issue) inside the load of the TMX map there is everywhere annoying Lowercase function, is that mandatory ? because of this lowercase the eval function can't work properly (ex : addAnimation, me.input.KEY.I, ....)

I have deleted the LowerCase on function getStringAttribute and all look fine but I would appreciate that you consider this question as a general one and think if all those LowerCase are really usefull.