Results 1 to 10 of 10

Thread: Sprites

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2001
    Location
    Maine
    Posts
    214

    Sprites

    is there anyone out there looking to make some graphics for a freeware game, cause we really need someone to make some sprites for us. if your interested post here.

  2. #2
    Fanatic Member MoMad's Avatar
    Join Date
    Oct 2000
    Location
    Seattle, WA
    Posts
    625
    I Recommend that you get Blender at http://www.blender.nl/ and use it to make your animated 3d graphics! Its free and comes with lots of samples :P

    -MoMad
    :MoMad:
    Nice Sig!

    http://go.to/momad/ Status: Not Ready

  3. #3
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Ehh, if it's powers of two you can use my HawkEye (aka. SastraxiSmooth, enlarges to 4x, eg. 64x64 to 128x128) and, coming soon, Talon (decreases size 4x, eg. 64x64 to 32x32). I've just started work on the other. Btw, these routines enlarge and decrease the size of images MASK-PRESERVING; meaning that they don't blend anything or make it look blocky. It's like the 2xSai, SuperEagle, etc. things you see in emulators...
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  4. #4
    Fanatic Member MoMad's Avatar
    Join Date
    Oct 2000
    Location
    Seattle, WA
    Posts
    625
    Sweet!

    So its not the typical take 1 pixel and blit it into 4 pixels routine right? Are you using anti-alliasing routines or motion blur routines? Ive never heard of SuperEagle... do u have a link?
    :MoMad:
    Nice Sig!

    http://go.to/momad/ Status: Not Ready

  5. #5
    Fanatic Member PsychoMark's Avatar
    Join Date
    Feb 2001
    Location
    Netherlands
    Posts
    540
    ZSnes also uses SuperEagle, that's where I first saw it. SastraxiSmooth was cool, that's for sure, I can't wait until HawkEye is here



    MoMad: It doesn't use AA or Blur, that's why it's so great, you can still use transparancy without getting ugly edges where the transparant color has blurred with the sprite...
    Teaudirenopossum.Musasapientumfixaestinaure.
    (I can't hear you. There's a banana in my ear)

  6. #6
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Thanks Psycho

    Yeah, I've actually completely rewritten and messed with the values of the comparison thing to make it more realistic. And dithered areas, methinks, will work now
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  7. #7
    PowerPoster
    Join Date
    Jul 2001
    Location
    Tucson, AZ
    Posts
    2,166
    MoMad

    Thanks for the reply but I don't put the sprite in an image box
    as I need to save the underlying graphics around the sprite.
    Also don't frame the entire background but just capture the
    area around the sprite (faster).

    Someone suggested using bitblt when placing sprite, but
    I thought this would clip the sprite rather than shrinking/stretching of sprite to pixel size.

  8. #8
    Fanatic Member MoMad's Avatar
    Join Date
    Oct 2000
    Location
    Seattle, WA
    Posts
    625
    Oh in that case you use a logic like this:

    loop through the image, take each pixel and blit it into four consecutive spots on the other image. Like this:

    Code:
    
      [][][]               [][][][][][]
      [][][]   ===>        [][][][][][]
      [][][]               [][][][][][]
                           [][][][][][]
                           [][][][][][]
                           [][][][][][]
    Man, talk about having absolutely nothing to do!!! Well anyways, I hope you get the idea... i did this once but i cant seem to recall the mathematical formulae/algorythm at the moment.
    :MoMad:
    Nice Sig!

    http://go.to/momad/ Status: Not Ready

  9. #9
    PowerPoster
    Join Date
    Jul 2001
    Location
    Tucson, AZ
    Posts
    2,166
    MoMad

    Thanks for responding.

  10. #10
    Fanatic Member MoMad's Avatar
    Join Date
    Oct 2000
    Location
    Seattle, WA
    Posts
    625
    The formula is:

    Code:
     zoomsize = 2 ' lets double it
    
     for y = 0 to pic1.scaleheight
       for x = 0 to pic1.scalewidth
         for i = 1 to zoomsize
           setpixel( pic2.hdc, x + i * x, y + i * y, GetPixel( pic1.hdc, x, y) )
         next i
        next x
      next y
    you might want to check that.
    :MoMad:
    Nice Sig!

    http://go.to/momad/ Status: Not Ready

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