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.
Printable View
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.
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
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...
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?
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...
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 ;)
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.
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:
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.Code:
[][][] [][][][][][]
[][][] ===> [][][][][][]
[][][] [][][][][][]
[][][][][][]
[][][][][][]
[][][][][][]
MoMad
Thanks for responding.
The formula is:
you might want to check that.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