Jump to content
Sign in to follow this  
aXXo

Animation Timing

Recommended Posts

aku nak minta tolong berkaitan dengan pemasaan untuk suatu animasi. sebagai contoh :

picture 1 = 5 second delay

picture 2 = 2 second delay

picture 3 = 8 second delay

...

boleh bagi sample kod ke?

Share this post


Link to post
Share on other sites

ekk takde member ke nak bantu huhu

aku cuma nak tau cara macam mana nak animate certain collection pic tu dengan delay tertentu. aku nak tau macam mana nak limit setiap frame eg 60fps or 30fps etc

Share this post


Link to post
Share on other sites

aku nak minta tolong berkaitan dengan pemasaan untuk suatu animasi. sebagai contoh :

picture 1 = 5 second delay

picture 2 = 2 second delay

picture 3 = 8 second delay

...

boleh bagi sample kod ke?

ko include conio.h kat atas skali

pastu ko pkai sleep(3)..

nie tuk delay 3 seconds..

nie yg aku ngat dulu lar tem blaja..

lame da tinggal..

kalo xle pkai sowi lar..

Share this post


Link to post
Share on other sites

aku assume ko da dpt display image tu kat screen (laod bitmap, guna DC, blit ke screen)...so, utk lukis next image, lps da ada image handler sumer2 tu, sblm blit ke screen, ko bole guna function SetTimer()...

kalu ko guna 1 timer je, so ko cuma perlu deal ngan message WM_TIMER...

kalu ko guna 3 timer dgn 3 interval berlainan, guna tinmer procedure... ;)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...