Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Butterfly Flight

Butterfly Flight

Scheduled Pinned Locked Moved C#
csharp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DFlat4Now
    wrote on last edited by
    #1

    Does anyone have the simple C# code for showing a butterfly flying across the screen. The one I remember from years ago used only two jpg pictures. Thanks, dflat4now

    T J 2 Replies Last reply
    0
    • D DFlat4Now

      Does anyone have the simple C# code for showing a butterfly flying across the screen. The one I remember from years ago used only two jpg pictures. Thanks, dflat4now

      T Offline
      T Offline
      Thomas Stockwell
      wrote on last edited by
      #2

      I doubt anyone would have pre-made code of something you saw ages ago. However I can give a few suggestions: .NET 1.+ You can use the ImageAnimator class to animate a gif image which would contain the images of the butterfly. You would then have to repaint and move the butterfly along a predetermined path that meets your criteria .NET 3.0 Use Expression Blend to create a timeline using the butterfly images that you have already created.

      Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my homepage Oracle Studios Discounted or Free Software for Students: DreamSpark - downloads.channel8.msdn.com MSDN Academic Alliance - www.msdnaa.com

      1 Reply Last reply
      0
      • D DFlat4Now

        Does anyone have the simple C# code for showing a butterfly flying across the screen. The one I remember from years ago used only two jpg pictures. Thanks, dflat4now

        J Offline
        J Offline
        jedliu2046
        wrote on last edited by
        #3

        My suggestion is using the SilverLight.

        IVR

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups