Computer Science Canada Doing a project..need help asap |
Author: | alvini [ Wed Dec 14, 2005 7:53 pm ] |
Post subject: | Doing a project..need help asap |
hey guys i just nedd to know how to do the following: 1.make smoke 2.make stars on the screen thx |
Author: | Saad85 [ Wed Dec 14, 2005 7:58 pm ] |
Post subject: | Re: Doing a project..need help asap |
alvini wrote: hey guys i just nedd to know how to do the following:
1.make smoke 2.make stars on the screen thx there are quite a few ways to make smoke. probably the best way on turing is to just make an image and move it slowly up, or make a bunch of particles move in random directions(but still going up) for stars, Draw.Star, or drawfillstar |
Author: | md [ Wed Dec 14, 2005 7:58 pm ] |
Post subject: | |
1. paint the screen grey 2. randomly draw white pixels. |
Author: | alvini [ Wed Dec 14, 2005 8:33 pm ] |
Post subject: | Re: Doing a project..need help asap |
Saad85 wrote: alvini wrote: hey guys i just nedd to know how to do the following:
1.make smoke 2.make stars on the screen thx there are quite a few ways to make smoke. probably the best way on turing is to just make an image and move it slowly up, or make a bunch of particles move in random directions(but still going up) for stars, Draw.Star, or drawfillstar can you start me off with "how to make smoke?" thx |
Author: | Paul [ Wed Dec 14, 2005 8:44 pm ] |
Post subject: | |
Without code or ideas, we can't really help you beyond giving you ideas. And don't ask cornflake to write code for you it won't end well... for you. |
Author: | alvini [ Wed Dec 14, 2005 8:49 pm ] | ||||
Post subject: | help? | ||||
hey guys that is my code can you please help me where to put the stars. the code for the stars id:
|
Author: | alvini [ Wed Dec 14, 2005 9:14 pm ] |
Post subject: | help? |
help? |
Author: | Mr. T [ Wed Dec 14, 2005 9:18 pm ] |
Post subject: | Alex's Opinion |
Make the sun and moon arcs as opposed to linearly. |
Author: | alvini [ Wed Dec 14, 2005 10:10 pm ] |
Post subject: | heeeeeeeeelp? |
can anybody help me how to make smoke. plz |
Author: | Paul [ Wed Dec 14, 2005 10:16 pm ] |
Post subject: | |
Well it depends on what kind of smoke you want. There are many ways you can go about it and many different potential smoke. Do you want cartoony smoke? do you want it hard coded? Because if you don't you can just draw a picture and put it on screen, reproduce it and move it about. But by the looks of it you'll be using the draw commands. Why not use a series of Draw.FillOval commands to make a smoke-shape, then just move it away from the chimney? Say you have a variable: SmokeX, SmokeY And you drew circles around the point (SmokeX, SmokeY) and as the animation goes on, you keep filling the previously drawn one, and drawing new variations of around the changing point. So that it will look like you have a smoke changing shapes and moving away from your chimney. Sorry, I need to get back to my own homework now |
Author: | codemage [ Thu Dec 15, 2005 1:56 pm ] |
Post subject: | |
Try not posting the same question in a bajillion threads. Then... Set fire to your room / computer / self, then turn on the webcam and stream its images to your turing program. |
Author: | alvini [ Thu Dec 15, 2005 8:41 pm ] |
Post subject: | help |
how could i modify this code to do the opposite? for count : 1 .. 1 var y := 0 var Start, End : int Start := 0 End := maxx for x : Start .. End View.Set ("offscreenonly") y := (-1 * ((x - maxx div 2) ** 2)) div 800 + 370 house1 drawfilloval (x, y, 22, 22, yellow) drawfilloval (x, y, 22, 22, yellow) exit when x = maxx View.Update end for end for |
Author: | iker [ Thu Dec 15, 2005 9:06 pm ] | ||
Post subject: | |||
change your
to a decreasing for. If you don't know what that is, check out in the help file under for for help, and if you don't understand that, just ask [/b] |