- May 25, 2020
- 1,181
- 1,660
if you mean as3 to javascript the main issue with attempting it using hgg as a base (the other one can screw itself for rn because of its UI choices) is all the fixes required by apache royale. Even with access to the as3 VM code hereShould not be that hard to port the code from Java to HTML5
You must be registered to see the links
the conversion has many hickups. These range from issues that can be fixed via search and replace to parts of the code which require actual research and studying of how both the game itself works and how the avm work in tandem with one another.
An example of what i mean by complex can be seen below.
Code:
var xmlList:XMLList = describeType(ConsumableLib).factory.constant;
for each (var item:XML in xmlList){
if(consumables[item.@name] is Consumable){
testArray.push(consumables[item.@name]);
trace(String(consumables[item.@name]));
} else {
trace("Not Added: "+String(consumables[item.@name]));
}
}
describeType(ConsumableLib).factory.constant
its reference can be seen here
You must be registered to see the links
but the page makes no mention of the constant property.