A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Using character sprites

  1. #1
    Snowboarder tomstaveley's Avatar
    Join Date
    Mar 2004
    Location
    Brighton, UK
    Posts
    128

    Using character sprites

    Hi.

    I have noticed that some tile based games use character sprites where all movement/rotation graphics are taken from one big bitmap containing all.

    Can someone please give me the name of this method and possibly a reference on how to use/program in this way.

    Many thanks,
    Tom.

  2. #2
    Senior Member walnoot's Avatar
    Join Date
    Apr 2005
    Posts
    751
    Never did it myself, but probably this thread by tonypa could help you out:
    http://board.flashkit.com/board/showthread.php?t=698991

  3. #3
    Student
    Join Date
    Apr 2001
    Location
    -
    Posts
    4,756
    with Flash 8 and the bitmap api you can slice 1 image into your desired seperate sprites. Usually you need a slice table in order to know where to slice.
    This method is traditional for sprite based games on most plattforms but not for the older flash versions so far.
    I once worked in the past on a directX c++ game with a friend (me the artist) of me. But back then we had to develop everything ourselves. This included an animation system that would switch within a time delay to another slice of the image ect. So if you want to use this technique you have to build several functions yourself that usually MovieClips could do for you (frame navigation for instance).

    I assume you already are aware of this link,- but on the GSA site you can find such sprite tables
    http://www.gsarchives.net/

  4. #4
    SaphuA SaphuA's Avatar
    Join Date
    Oct 2002
    Location
    The Netherlands
    Posts
    2,182
    I remember someone else posting a sample on how to use sprites for animation aswell. Don't remember who though, so you'll have to search for it. Just saying that there is such a thread already ^^

    Was it Willoughby?

  5. #5
    Snowboarder tomstaveley's Avatar
    Join Date
    Mar 2004
    Location
    Brighton, UK
    Posts
    128
    Brilliant, thanks a lot people

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center