Game engine and tool based on Unity and Flash