Hi! It’s been a long time since I’ve been here and I’m back with another noob question (I think).
I’ve just upgraded OpenFL to the latest version and found out that one of the classes won’t render properly anymore in here on all targets except for Flash
This class renders randomized sprites as a group of particles (so I can explode’em later), so I draw really tiny squares, like:
part:Shape = new Shape();
part.graphics.beginFill( 0x000000, 1 );
part.graphics.drawRect( 0, 0, 1, 1 );
part.graphics.endFill();
add( part );
Before upgrading OpenFL and Lime it worked pretty much nicely. Now I can only render squares of 3px or bigger with drawRect
. I know I can use scaling, but I’d like to avoid doing it, if possible.
Also, doing something like this works too (as it makes part
have 3x3 pixels):
part:Shape = new Shape();
part.graphics.beginFill( 0x000000, 1 );
part.graphics.drawRect( 0, 0, 1, 1 );
part.graphics.drawCircle( 2, 2, 1 );
part.graphics.endFill();
add( part );
So, before I try anything else in here, does OpenFL now only allow objects of 3px and more on CPP/Neko/HTML targets?
Thanks