Author Topic: [SOLVED] FlxEmitter emits only black particles !!?  (Read 1519 times)

Daranus

  • Member
  • **
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Hey folks, I just got into iOS programming with Flixel and now I ran into a strange behavior.

When I use a FlxEmitter, only a black shape of the loaded picture is emitted instead of the picture.

Why is that and how can i change it??!

Tyvm for any hints regardings my problem!

Daranus

P.S.: Beginning with Flixel on iOS is a HUGE pain in the ass because not even the methods and properties mentioned in the Flixel Reference guide are implemented most of the time...so the only thing you can really look at is the code itself....bleh.
« Last Edit: Fri, Jul 8, 2011 by Daranus »

initials

  • Contributor
  • ****
  • Posts: 378
  • Karma: +0/-0
  • Initials
    • View Profile
    • Initials Blog. Code and other things.
Re: FlxEmitter emits only black particles !!?
« Reply #1 on: Wed, Jul 6, 2011 »
This has to do with baked rotations.
Set baked rotations to NO;
 
From another thread.
Some misc. stuff:
When make particles for a FlxEmitter, don't use baked rotations, it turns your particles black. iOS is good with transforms anyway, there is no need for blitting.
Initials: Super Lemonade Factory, Super Lemonade Factory Part Two, Above The Clouds, Revvolvver, Four Chambers of the Human Heart

Daranus

  • Member
  • **
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: FlxEmitter emits only black particles !!?
« Reply #2 on: Thu, Jul 7, 2011 »
Oh!....didnt found that one when i searched for it. Thank you for that!

Now I only have to get the collision thingy right.....lets see lets see