Stencyl and wmode=transparent

Nomosoft

  • Posts: 122
I want to create a Stencyl project with a transparent background. I've done this with Flash in the past, using the wmode param with a value of "transparent" in the <object> tag. This doesn't seem to work with Stencyl. When I select "no color" for my scene background, Stencyl seems to produce the exact same thing I get when I select a white background: the game fades in to a solid white rectangle, and wmode doesn't allow me to see through the background to the page below.

So, if I want a transparent background and want the actors drawn directly onto the web page behind the game's HTML container, what do I need to do?
 

Nomosoft

  • Posts: 122
Anyone? This is driving me minorly crazy.

Joe

  • *
  • Posts: 2480
Never had anyone attempt this as far as I know. It could be a caveat of the engine we're using (Flixel).

Hectate

  • *
  • Posts: 4645
I suspect so. The game is rendered to a BitmapData which is set to fill the screen - I don't think Flixel sets any "undrawn" pixels to transparent...
:
:
Patience is a Virtue,
But Haste is my Life.
Proud member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.