Computer Science Canada

Fireworks in Turing, HELP PLEASE :D

Author:  SamF [ Fri Jan 01, 2010 10:09 pm ]
Post subject:  Fireworks in Turing, HELP PLEASE :D

What is it you are trying to achieve?
I just made a blackjack game and when someone wins, it says, CONGRATULATIONS!!! YOU ARE A MILLIONAIRE!!!
I was just wondering if there was a way to make fireworks go off in the background, like in solitaire when you win the game

Author:  imbored [ Fri Jan 01, 2010 10:25 pm ]
Post subject:  RE:Fireworks in Turing, HELP PLEASE :D

cant you just make it simple and put a picture of a firework and make some sounds? and then call it done? or.. do you want an animation cause i think you can do that with multiple frames of a picture... or if gif works you can put that.. but idk if gif works

Author:  Tony [ Fri Jan 01, 2010 10:29 pm ]
Post subject:  Re: Fireworks in Turing, HELP PLEASE :D

SamF @ Fri Jan 01, 2010 10:09 pm wrote:
I was just wondering if there was a way to make fireworks go off in the background, like in solitaire when you win the game

Yes, there is a way.

Author:  syntax_error [ Fri Jan 01, 2010 10:38 pm ]
Post subject:  Re: Fireworks in Turing, HELP PLEASE :D

Tony @ Fri Jan 01, 2010 10:29 pm wrote:
SamF @ Fri Jan 01, 2010 10:09 pm wrote:
I was just wondering if there was a way to make fireworks go off in the background, like in solitaire when you win the game

Yes, there is a way.


Quite literal aren't we?

I like it Wink

Author:  ecookman [ Sat Jan 02, 2010 1:37 pm ]
Post subject:  RE:Fireworks in Turing, HELP PLEASE :D

If you are a beginner coder, what I would do is draw a box, and using the locate function make the box move upwards, and then when the y = [whatever], draw smaller different color boxes from there.

If you want more fireworks on the screen, move the X coordinates.

Author:  registration [ Tue Jan 05, 2010 6:29 pm ]
Post subject:  Re: RE:Fireworks in Turing, HELP PLEASE :D

ecookman @ Sat Jan 02, 2010 1:37 pm wrote:
If you are a beginner coder, what I would do is draw a box, and using the locate function make the box move upwards, and then when the y = [whatever], draw smaller different color boxes from there.

If you want more fireworks on the screen, move the X coordinates.

...or just use a gif image. and why would you use boxes?

if you've done falling snow animation this should be quite easy.

Author:  SamF [ Tue Jan 05, 2010 6:59 pm ]
Post subject:  RE:Fireworks in Turing, HELP PLEASE :D

I havent done falling snow animation Sad

Author:  andrew. [ Tue Jan 05, 2010 7:02 pm ]
Post subject:  RE:Fireworks in Turing, HELP PLEASE :D

Basically, make a small circle go straight up. Then at a certain y value, make it "explode" by making it split into smaller ovals which will fall down and get smaller until the radius is 0.

Author:  ecookman [ Thu Jan 07, 2010 9:27 pm ]
Post subject:  Re: RE:Fireworks in Turing, HELP PLEASE :D

andrew. @ Tue Jan 05, 2010 7:02 pm wrote:
Basically, make a small circle go straight up. Then at a certain y value, make it "explode" by making it split into smaller ovals which will fall down and get smaller until the radius is 0.

Now there's a cool idea


: