Jump to content

Photo

Graphics Resize Preview?

intybasic gram backtab graphics mob sprite

5 replies to this topic

#1 First Spear OFFLINE  

First Spear

    Stargunner

  • 1,284 posts
  • Location:Somewhere in Uptown

Posted Wed Jul 1, 2015 10:51 AM

Hey all. While noodling with a MOB concept, I created a 16hx8w pixel image in Windows with two colors and a black background. I am now trying to find a program/method that will resize it into an 8x8 image without anti-aliasing or other "tricks". I just want to squish the image so I can preview it before I convert it into a proper sequence of GRAM blocks.

 

Because I used two colors while painting, I understand that the final thing in my game will use four characters, but for now I just want to draw and preview and stay in Windows (GUI or command line makes no difference to me). I think this is the most expedient way to think through how a MOB will look when it is actually in a game, but I am open to all alternative ideas...

 

Thanks.

 

lu.gif



#2 GroovyBee OFFLINE  

GroovyBee

    Games Developer

  • 9,818 posts
  • Busy bee!
  • Location:England

Posted Wed Jul 1, 2015 10:58 AM

Is there a reason you need it in 8x8? If you enable the YRES bit (bit 7) in the MOB's Y registers it'll be displayed as 8x8 BACTAB sized pixels and occupy 4 GRAM locations (for 2 colours).

#3 Tarzilla OFFLINE  

Tarzilla

    River Patroller

  • 2,069 posts
  • Huh?
  • Location:Alberta, Canada

Posted Wed Jul 1, 2015 11:12 AM

Hey all. While noodling with a MOB concept, I created a 16hx8w pixel image in Windows with two colors and a black background. I am now trying to find a program/method that will resize it into an 8x8 image without anti-aliasing or other "tricks". I just want to squish the image so I can preview it before I convert it into a proper sequence of GRAM blocks.
 
Because I used two colors while painting, I understand that the final thing in my game will use four characters, but for now I just want to draw and preview and stay in Windows (GUI or command line makes no difference to me). I think this is the most expedient way to think through how a MOB will look when it is actually in a game, but I am open to all alternative ideas...
 
Thanks.
 
attachicon.giflu.gif

GIMP has a resize function that has an option to not antialias when resizing

#4 intvnut OFFLINE  

intvnut

    River Patroller

  • 3,054 posts
  • Location:@R6 (top of stack)

Posted Wed Jul 1, 2015 12:28 PM

GIMP has a resize function that has an option to not antialias when resizing

 

Yep.  Under "Scale Image," set your "Interpolation" to "None."

 

 

Hey all. While noodling with a MOB concept, I created a 16hx8w pixel image in Windows with two colors and a black background. I am now trying to find a program/method that will resize it into an 8x8 image without anti-aliasing or other "tricks". I just want to squish the image so I can preview it before I convert it into a proper sequence of GRAM blocks.

 

If you're trying to preview what the "half-height" pixels will look like, you might instead consider stretching it horizontally from 16h x 8w to 16h x 16w.  If you smash it down to 8x8, it'll throw pixels away, and so you won't see the contribution of half of the lines to the result.  Stretching to 16x16 will give you the correct aspect ratio and keep all the pixels.

 

You'll still want to set your interpolation mode to 'none', if using GIMP.



#5 pimpmaul69 OFFLINE  

pimpmaul69

    River Patroller

  • 4,854 posts
  • INTV Brotherhood Technician
  • Location:Colorado

Posted Wed Jul 1, 2015 12:52 PM

 
Yep.  Under "Scale Image," set your "Interpolation" to "None."
 
 
 
If you're trying to preview what the "half-height" pixels will look like, you might instead consider stretching it horizontally from 16h x 8w to 16h x 16w.  If you smash it down to 8x8, it'll throw pixels away, and so you won't see the contribution of half of the lines to the result.  Stretching to 16x16 will give you the correct aspect ratio and keep all the pixels.
 
You'll still want to set your interpolation mode to 'none', if using GIMP.

i was slacking messing around and you beat me to the punch. I was gonna gonna say just make all horizontal pixels 2 pixels wide and you can see it without trying to stretch or resize to 16x16. If you use paint.net you have to just turn off antialiased selection quality setting it to pixelated selection quality. I like to start by making it 16x16 so i already know what it looks like then shrink it to 8x16

Edited by pimpmaul69, Wed Jul 1, 2015 12:56 PM.


#6 nanochess ONLINE  

nanochess

    Processorus Polyglotus

  • 5,473 posts
  • Coding something good
  • Location:Mexico City

Posted Thu Jul 2, 2015 8:30 AM

i was slacking messing around and you beat me to the punch. I was gonna gonna say just make all horizontal pixels 2 pixels wide and you can see it without trying to stretch or resize to 16x16. If you use paint.net you have to just turn off antialiased selection quality setting it to pixelated selection quality. I like to start by making it 16x16 so i already know what it looks like then shrink it to 8x16

 

I do same as pimpmaul69, drawing in 16x16 being careful about keeping pixels duplicated horizontally.







Also tagged with one or more of these keywords: intybasic, gram, backtab, graphics, mob, sprite

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users