Is that all the code? You also need an update function (besides create()), otherwise the program just ends. You will also need to add the circle to the state. Using your example:
class PlayState extends FlxState
override public function create():Void
circle=new FlxShapeCircle(100,100, 100, null,0xFF8899);
add(circle); // add circle to the state so it's displayed
override public function update(elapsed:Float):Void
@dean That fixed it! Downgrading to 4.0.8 just gave me linker errors, but installing rc3 worked. Thanks for the link too, it's good to see it's being worked on, especially since haxe 3.4.7 and hxcpp 4.0.19 are currently what you get from a clean install by default. Hopefully we get a full 4.0 release soon :)
That's good to know, thanks. But I checked those, and I'm still having the same problem. I never add()ed that sprite before, so that's not it. For the persist property I added the following line after line 31 in Achievements.hx:
currentAchievement._icon.graphic.persist = true;
But that didn't seem to fix it. I'm still getting the same error.
Looks like your connection to HaxeFlixel was lost, please wait while we try to reconnect.