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? :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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)
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? :)
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 ?
Logged In: YES
user_id=956974
Originator: NO
Sounds good.
Will hold implementation to a later date unless you want to get onto it ;)
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