Results 1 to 9 of 9

Thread: Particles are fun!

  1. #1
    Lesser Wizard
    Join Date
    Nov 2006
    Location
    California
    Posts
    101

    Default Particles are fun!

    I poked around a bit with the demos to check out the particles implementation. Asking for docs is a ridiculous thing right now, so i'm happy just figuring things out, but I wondered how can I make the particles 'spin' as they flow out from a central location?

    Also, is the particle PNG just a black and white image or can you do complex shapes/alpha stuff.

  2. #2
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,377

    Default

    wondered how can I make the particles 'spin' as they flow out from a central location?
    Hmm, after looking through its docs here, it looks like that functionality might be missing... ? I only see "initial" random rotation, not rotating as the particle is moving. I might add it, hrm.

    Also, is the particle PNG just a black and white image or can you do complex shapes/alpha stuff.
    I believe you can use any image you want as the particle. (full color 8 bit alpha is fine)

    If (and this may not matter for many effects) you want to be able to set your particle to be any color, you have to start with white.

    Otherwise, if you started with red and then tried to set the color to be green only (0, 255, 0) I think you'd get black, because there was no green in the first place - you only disabled the red and blue, leaving nothing to show.

    I have a big performance improvement I'm working on right now, but hope to get to documenting the particle stuff (and adding the rest.. it's missing a few features..) soon!
    Seth A. Robinson
    Robinson Technologies

  3. #3
    Lesser Wizard
    Join Date
    Nov 2006
    Location
    California
    Posts
    101

    Default

    That would be great (spin). I could imagine that for many things like for instance creating a smoke puff. You have various size puffs created and they might have slightly random spins to them to have a nice chimney smoke effect.

    Other thoughts:

    1) define an element that particles "bounce" against
    2) particle emitters / consumers
    3) gravity (I'm guessing that's already there perhaps?)

  4. #4

    Default

    Hello all, circular motion has been planned to be added in the next release of LinearParticle, you can use that to make "spinning galaxy"-like effect. I hope it helps that time .

  5. #5
    Lesser Wizard
    Join Date
    Nov 2006
    Location
    California
    Posts
    101

    Default

    The effect I'm hoping for is having a spin on each particle. Imagine if you had a particle emitter for a smokestack. The smoke comes out and flows linearly - however if each "puff" of smoke had a slight spin it would add to the realism.

  6. #6

    Default

    Quote Originally Posted by whisperstorm View Post
    The effect I'm hoping for is having a spin on each particle. Imagine if you had a particle emitter for a smokestack. The smoke comes out and flows linearly - however if each "puff" of smoke had a slight spin it would add to the realism.
    If you mean to make particles keep rotating after emission, it has already been implemented, you can check with example 4 of LinearParticle. Let me know if I get what you mean.

  7. #7
    Lesser Wizard
    Join Date
    Nov 2006
    Location
    California
    Posts
    101

    Default

    Yes, that's totally it. I see the stars spinning. How is that exposed in Novashell?

  8. #8
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,377

    Default

    Thanks galaxist, I'll check it out soon. I have a few more paticle things I need to add to get the full functionality.
    Seth A. Robinson
    Robinson Technologies

  9. #9

    Default

    No problem.

Similar Threads

  1. oooh particles..
    By whisperstorm in forum Novashell Game Creation System
    Replies: 2
    Last Post: 03-15-2007, 03:54 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •