Hi, everybody!
Look, now I'm at the final stage of a program.
project
I have applied a truth table.
We can have some sprites present or not. These are the possible combinations:
OOO
XOO
OXO
OOX
XXO
XOX
OXX
XXX
Where a 'X'means the sprite is visible, and the 'O' means it is not.
The opacity of the laser beam changes depending on a formula that includes angles values for each sprite's instance.
I have thought to act like in the 'case' operation in C or Java.
But in this case...It seems that it does not work.
Do you have any idea about the reason?
Thanks a lot in advance. I left to you this project if it is usefull for somebody someday.