How do You Make Trailing Image Effect?
Author |
Message |
riveryu
![](http://compsci.ca/v3/uploads/user_avatars/196991102647ae2debe0bf0.jpg)
|
Posted: Thu Feb 07, 2008 10:52 pm Post subject: How do You Make Trailing Image Effect? |
|
|
how do u make trailing image effect?
ex. a ball moves through the air, forms images of the ball in the path that it moved through with each image fading continuously until transparency 100. The images forming and fading fast enough to create a "tail" trailing the ball.
Are there built in functions for this sort of image manipulation or do I have to photoshop images and use the created sprites?
Some1 help, i want to know how to implement this into a game, ex.pong |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Euphoracle
![](http://compsci.ca/v3/uploads/user_avatars/11170373664bf5f25f636f1.png)
|
Posted: Thu Feb 07, 2008 11:17 pm Post subject: RE:How do You Make Trailing Image Effect? |
|
|
That's called motion blur. You have to redraw the circle using lighter (higher) RGB values to get that effect and capture the location of the ball each few frames to draw it in place. |
|
|
|
|
![](images/spacer.gif) |
riveryu
![](http://compsci.ca/v3/uploads/user_avatars/196991102647ae2debe0bf0.jpg)
|
Posted: Sat Feb 09, 2008 4:14 pm Post subject: RE:How do You Make Trailing Image Effect? |
|
|
Thanks a lot, but can turing manipulate the imported images to create this "motion blur"?
or is this only available when u draw the images urself...(i hate sprites, they r so tedious to code) |
|
|
|
|
![](images/spacer.gif) |
petree08
|
Posted: Tue Feb 12, 2008 1:44 pm Post subject: RE:How do You Make Trailing Image Effect? |
|
|
also there are ways to do a "dissolve" in turing
for example
setscreen ("graphics:max,max,offscreenonly")
const INTENSITY := 100
var X : int
X := 1
colorback (7)
cls
loop
for I : 1.. INTENSITY
drawline (Rand.Int (0,maxx), Rand.Int (0,maxy), Rand.Int (0, maxx), Rand.Int (0,maxy),7)
end for
drawfilloval (X, 100, 10, 10, 10) % draws green %ball
X := X + 1
View.Update
end loop
this draws 100 random black lines instead of clearing the screen |
|
|
|
|
![](images/spacer.gif) |
riveryu
![](http://compsci.ca/v3/uploads/user_avatars/196991102647ae2debe0bf0.jpg)
|
Posted: Sat Feb 16, 2008 4:01 pm Post subject: RE:How do You Make Trailing Image Effect? |
|
|
thx a lot petree |
|
|
|
|
![](images/spacer.gif) |
|
|