MacOS target fails to compile asteroids
pixels4nickels opened this issue · comments
Hey Nadako! First, let me say thanks for your work here! I am very excited to implement this in my haxe game. I have HTML and Flash targets working right away, but the MacOS target was giving me some trouble. Here was my initial error:
FrameTickProvider.cpp:39: error: integer constant is too large for 'long' type
I noticed someone else having trouble with this type of error and Nicolas said to add ".0" on the end of the number. So for line 27:
public function new(displayObject:DisplayObject, maximumFrameTime:Float = 9999999999999999)
I changed it to :
public function new(displayObject:DisplayObject, maximumFrameTime:Float = 9999999999999999.0)
And everything compiled perfectly!
I thought I would pass this change along for anyone else who might be having troubles.
Best,
Ken Rogers
Hey thanks for the tip! I just pushed the update to the master branch.
Anytime! thanks again