News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
(very) basic slideshow
Author Message
iGame3D
Moderator
***


Posts: 231
Group: Moderators
Joined: Apr 2007
Status: Offline
Reputation: 0
Post: #1
RE: (very) basic slideshow

Thats pretty neat, a bit slow in action but cool.
I haven't looked at the script for the timing, but basically how are you doing the timing?

I spent a bunch of time messing with your fish animation last night, I'll have to see if it still works and post it. But I changed the timing from a button to automatic.

I don't use Fl:wait() with a value greater than 0 and I don't use socket:wait() etc.
What I do is increment a value using a float for instance

time=time+.02 then
frame=image[math.floor(time)] -- only an integer is provided by math.floor

this way each frame is held until time actually reaches the next integer,
which varies according to the value I increment time.
There is a way to get that value according to some return of time between cpu cycles, which is generally some value like .004 or so , and doing so keeps the motion smooth and consistant across machines.

Ok going to test that other script and post it to the right thread.

06-25-2007 08:13 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
(very) basic slideshow - mikshaw - 06-24-2007, 08:55 AM
RE: (very) basic slideshow - mikshaw - 06-24-2007, 12:53 PM
RE: (very) basic slideshow - mikshaw - 06-25-2007, 05:02 AM
RE: (very) basic slideshow - iGame3D - 06-25-2007 08:13 AM
RE: (very) basic slideshow - mikshaw - 06-25-2007, 11:17 AM
RE: (very) basic slideshow - mikshaw - 07-03-2007, 04:57 AM
RE: (very) basic slideshow - iGame3D - 07-03-2007, 09:28 AM
RE: (very) basic slideshow - mikshaw - 07-03-2007, 12:56 PM
RE: (very) basic slideshow - mikshaw - 07-06-2007, 06:29 AM
RE: (very) basic slideshow - mikshaw - 07-16-2007, 12:06 PM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: