|
-
Jan 7th, 2002, 04:32 PM
#1
Thread Starter
Addicted Member
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.
-
Jan 7th, 2002, 10:16 PM
#2
Fanatic Member
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
-
Jan 8th, 2002, 06:23 PM
#3
Good Ol' Platypus
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)
-
Jan 9th, 2002, 01:18 AM
#4
Fanatic Member
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?
-
Jan 9th, 2002, 03:27 AM
#5
Fanatic Member
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)
-
Jan 9th, 2002, 08:17 AM
#6
Good Ol' Platypus
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)
-
Jan 9th, 2002, 09:48 AM
#7
PowerPoster
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.
-
Jan 9th, 2002, 05:12 PM
#8
Fanatic Member
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.
-
Jan 9th, 2002, 06:39 PM
#9
PowerPoster
MoMad
Thanks for responding.
-
Jan 9th, 2002, 07:14 PM
#10
Fanatic Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|