[REBOL] Re: Re-demo
From: antonr:iinet:au at: 5-Oct-2003 23:39
That phenomenon was reported some time ago.
I am not sure if it can be fixed, but it is
worth it to see what you need to remove to
get it to go away.
I heard it is more efficient to show main
face and let that update all the faces,
rather than update each face separately.
That is, I would use one engage function for
time events:
main/feel: make main/feel [
engage: func [face action event][
if action = 'time [update-objects]
]
]
main/rate: 48
show main ; update rate
In update-objects, I would maintain some counters
to update the various objects you have in the scene,
and show main at the end.
Anton.
> Hi Anton,
>
> I have the same saw phenomenon on my PC, but i don't know the origin.
> The titre2 variable is perhaps too long ? But after cutback the
> trouble is always present.
> The origin is perhaps the draw fonction ? I replace it with these
> lines but i don't resolve the problem .
>
> scro: image s3 effect [key black] rate 40 feel [
> engage: func [face action event][
> if action = 'time [
> scro/offset: 290 + to-pair reduce [
> to integer! p
> ]
> show scro
> p: p - 3 // 15000
> q: q - 2 // 360
>
> ]
> ]
> ]
>
> Have you a idea ?
>
> Thank.
>
> Jacky
>
> Very nice.
> Here's the direct link:
> http://www.agora-dev.org/forums/getfile.php?key=1065244177&att_id94&site=re
bol&bn=rebol_prjevolutions
I saw a slight, but regular, delay while it is
playing. I'm on WinXp 933MHz Pentium 3.