Page 1 of 1

Pixel Graphics

Posted: Sun Sep 04, 2005 1:30 pm
by Zamaster
I have a question for all you artists out there, Ive been trying to
draw a skeleton thats 16 x 16. I just cant get it to look right cause' there
are too many bones and features to draw and I cant stuff it into 16 x 16
pixels. Does anybody know a way around this problem?

Posted: Sun Sep 04, 2005 6:06 pm
by {Nathan}
Yup! It involves 1 or 2 steps>

1>(Skip this if you are using FB) Port your program to FB, or use FB (or a hi-res library)

2> Use 1024*768 and use 64 by 64 sprites, it fits perfectly.

Posted: Sun Sep 04, 2005 8:53 pm
by The Awakened
Check out how other games, especially NES games have managed, and try to learn from it.

Posted: Sun Sep 04, 2005 10:53 pm
by Deleter
Nathan1993 wrote:Yup! It involves 1 or 2 steps>

1>(Skip this if you are using FB) Port your program to FB, or use FB (or a hi-res library)

2> Use 1024*768 and use 64 by 64 sprites, it fits perfectly.
If he wanted to use FB, why would he be at Petes' QBASIC site...

As far as making a skeleton, I don't think I ever tried to fit anything into a square that small, I used 20x15 for my ships in a game I made once. Basically, pixel out the most important stuff (the skull, feet, hands, arms, legs, etc) And if there is room for anything else, put it in. :D

Posted: Mon Sep 05, 2005 9:41 am
by Xerol
For something that small, the detail would have to be in the animation. The other way to get more detail is to use more colors (since you can use 24-bit in FB, I'd start with a 64x64x8bit sprite, then scale it down with a program that does smooth scaling(like IrfanView) which gets more "detail" by adding color depth).

Posted: Mon Sep 05, 2005 10:21 am
by Rattrapmax6
20x20 sprites should fit with a lil more give for a lil more detial....

Posted: Mon Sep 05, 2005 12:09 pm
by {Nathan}
Deleter: Ask pete. This is a QB and FB site... what is wrong with you people!!!

Posted: Mon Sep 05, 2005 7:20 pm
by Zamaster
QB!!! NOT FB! AND I MEAN 16 x 16! 256 colors and nothing else! I like
the old style graphics. Im not sure what else I can fit into screen 13 gfx. I could always use VESA modes but they're really slow for drawing things
pixel by pixel.

Posted: Mon Sep 05, 2005 9:56 pm
by Rattrapmax6
Like this: ?

Code: Select all

DATA 00,00,00,00,15,15,15,15,15,00,00,00,00,00,00,00
DATA 00,00,00,15,15,00,15,00,15,15,00,00,00,00,00,00
DATA 00,00,00,15,15,15,15,15,15,15,00,00,00,00,00,00
DATA 00,00,00,00,15,00,00,00,15,00,00,00,00,00,00,00
DATA 00,00,00,00,00,15,15,15,00,00,00,00,00,00,00,00
DATA 00,00,00,15,00,00,15,00,00,15,00,00,00,00,00,00
DATA 00,00,15,00,15,00,15,00,15,00,15,00,00,00,00,00
DATA 00,00,15,00,00,15,15,15,00,00,15,00,00,00,00,00
DATA 00,15,00,00,15,00,15,00,15,00,00,15,00,00,00,00
DATA 00,15,00,00,00,15,15,15,00,00,00,15,00,00,00,00
DATA 00,00,00,00,00,00,15,00,00,00,00,00,00,00,00,00
DATA 00,00,00,00,00,15,15,15,00,00,00,00,00,00,00,00
DATA 00,00,00,00,15,00,00,00,15,00,00,00,00,00,00,00
DATA 00,00,00,00,15,00,00,00,15,00,00,00,00,00,00,00
DATA 00,00,00,15,00,00,00,00,00,15,00,00,00,00,00,00
DATA 00,00,15,15,00,00,00,00,00,15,15,00,00,00,00,00

SCREEN 13

FOR y = 1 TO 16
    FOR x = 1 TO 16
        READ z
        PSET (x, y), z
    NEXT
NEXT
DIM Skel(16 * 16): GET(0,0)-(16, 16), Skel
CLS

PUT (160, 100), skel, PSET

SLEEP 
For the record, wrote in FB, and it will work in QB.... :wink:

Posted: Tue Sep 06, 2005 4:59 am
by Kyle
If you like the 'old-style' graphics, you can use 300x200x256 modes in FreeBASIC. You will also have a huge speed boost, amongst several other features :D

Posted: Tue Sep 06, 2005 2:27 pm
by {Nathan}
Yup, and among those features there are linux/dos/windows compatibilits in 1, large speed boost, more power... lotsa stuff!

Posted: Sun Nov 20, 2005 6:03 pm
by BDZ
Hey,
You may want to consider using 16*24 sprite as characters, this gives a lot more room for detail, (you can still use 16*16 tiles for scenery.) Tsugumo's pixel tutorials may help you.

Posted: Sun Nov 20, 2005 6:31 pm
by Pete
This is a QB and FB site...

BUT if someone asks a legitimate question and your only solution is "SWITCH TO FB!!" then don't say anything at all. Don't be a douchebag.

Posted: Mon Nov 21, 2005 11:46 am
by m2j
I agree. If someone asks about a 16x16 tile, don't tell them to make a 64x64 one.

matt

Posted: Mon Nov 21, 2005 1:25 pm
by Z!re
The topic was dead, since about.. oh.. two months..

BDZ revived it with some perfectly valid advice.. I guess Pete overlooked the dates :P

Posted: Tue Nov 22, 2005 7:34 am
by m2j
Ahh lemmings.

matt