Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Buttress

Pages: [1]
help / Re: Layering Cameras
« on: Fri, Feb 3, 2012 »
Pixelomatic, great idea. As it turns out I found out that the transparency issue might be solely caused by the BlendAlpha parameter on the fill function in the flxcamera class. The defaul value is true, which apparently "blends the alpha value". If you set it to be false by default, it wipes it before the next redraw, I think. This turned out to allow semi-transparency and stop those overlapping trails of animation etc.

I guess you could extend FlxCamera and have an override function for fill.

And Raf, we want things to be on separate cameras so we can zoom the play area while keeping the Hud unzoomed, etc.

help / Re: Layering Cameras
« on: Fri, Feb 3, 2012 »
I too am wondering this, and have been trying the 2 camera setup thing with Hud on a "top layer" camera. bgColor can be set to transparent but things do not update well with it (or draw any semi-transparency in sprites attached to that camera).

Fairly puzzling and would be nice to get some insight.

help / Re: TweenLite
« on: Tue, Jan 31, 2012 »
Put the com.greensock folder in the root folder that carries org.flixel (not inside org.flixel)

This is very helpful, thanks :)

Pages: [1]