Menu

#11 Projectiles graphical trail

v1x?
open
Shazz
5
2007-10-03
2007-10-01
Shazz
No

Add for specific shot types an smoking/particles trail

Discussion

  • David Leaver

    David Leaver - 2007-10-02

    Logged In: YES
    user_id=956974
    Originator: NO

    I think I'll combine the shots into 2 types:

    Instant (like the current one)

    Projectile (like the arrow/explosive ATM)
    This will have 3 parts each with their own settings, to allow good customisation.
    - Shot
    - Explosion
    - Trail
    Any parts left out won't be used (obviously), so you can have the current 'Arrow' type by only specifying the Shot, etc.
    I already have a good idea of how to specify the shot and explosion (Fairly simple), not sure on the trail though.
    Suggestions? :)

     
  • Shazz

    Shazz - 2007-10-02

    Logged In: YES
    user_id=1885034
    Originator: YES

    Really makes sense ! And easier to have just 2 types.

    About the trail, let's think :D A Particules engine (attributes : image sprite, speed(X,Y), lifetime, amount, direction(X,Y), slowdown, zoomout) may fit all our needs, so the different trails we can offer :
    - smoke (particules with fixed parameters)
    - fire (particules with fixed parameters)
    - plasma(particules with fixed parameters)
    - user defined (user can define each particles parameter)

    You can reuse any open source particles engines (like Nehe Leson 19 : http://nehe.gamedev.net/lesson.asp?index=04\) else I coded one for a TRSi PSP demo...

    Sounds ok ?

     
  • David Leaver

    David Leaver - 2007-10-02

    Logged In: YES
    user_id=956974
    Originator: NO

    Sounds good.
    Will hold implementation to a later date unless you want to get onto it ;)

     
  • Shazz

    Shazz - 2007-10-03

    Logged In: YES
    user_id=1885034
    Originator: YES

    As soon as my baby give me some free time I'll try to add a generic (=openGL) particles engine to the game.
    Shouldn't be that hard :D

     
  • Shazz

    Shazz - 2007-10-03
    • assigned_to: nobody --> shazzd0
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.