Pixel Graphics

Discuss whatever you want here--both QB and non-QB related. Anything from the DEF INT command to the meaning of life!

Moderators: Pete, Mods

Post Reply
User avatar
Zamaster
Veteran
Posts: 174
Joined: Wed Jun 15, 2005 1:51 pm
Contact:

Pixel Graphics

Post by Zamaster » Sun Sep 04, 2005 1:30 pm

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?
C:\DOS
C:\DOS\RUN
RUN\DOS\RUN

User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} » Sun Sep 04, 2005 6:06 pm

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.
Image

User avatar
The Awakened
Veteran
Posts: 144
Joined: Sun Aug 07, 2005 1:51 am

Post by The Awakened » Sun Sep 04, 2005 8:53 pm

Check out how other games, especially NES games have managed, and try to learn from it.
"Sorry for beating you up with a baseball bat Julian, but I DID think that you were a samsquanch."

User avatar
Deleter
Veteran
Posts: 119
Joined: Sat May 07, 2005 7:31 pm

Post by Deleter » Sun Sep 04, 2005 10:53 pm

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

User avatar
Xerol
Veteran
Posts: 81
Joined: Tue Jan 04, 2005 6:27 pm
Location: Timonium, MD
Contact:

Post by Xerol » Mon Sep 05, 2005 9:41 am

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).
If you need music composed in MP3, WAV, or MIDI format, please contact me via email.

Xerol's Music - Updated Regularly!

User avatar
Rattrapmax6
Veteran
Posts: 1055
Joined: Sun Jan 02, 2005 2:11 pm
Location: At my computer
Contact:

Post by Rattrapmax6 » Mon Sep 05, 2005 10:21 am

20x20 sprites should fit with a lil more give for a lil more detial....
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)

User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} » Mon Sep 05, 2005 12:09 pm

Deleter: Ask pete. This is a QB and FB site... what is wrong with you people!!!
Image

User avatar
Zamaster
Veteran
Posts: 174
Joined: Wed Jun 15, 2005 1:51 pm
Contact:

Post by Zamaster » Mon Sep 05, 2005 7:20 pm

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.
C:\DOS
C:\DOS\RUN
RUN\DOS\RUN

User avatar
Rattrapmax6
Veteran
Posts: 1055
Joined: Sun Jan 02, 2005 2:11 pm
Location: At my computer
Contact:

Post by Rattrapmax6 » Mon Sep 05, 2005 9:56 pm

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:
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)

User avatar
Kyle
Veteran
Posts: 107
Joined: Thu Apr 14, 2005 2:41 pm

Post by Kyle » Tue Sep 06, 2005 4:59 am

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

User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} » Tue Sep 06, 2005 2:27 pm

Yup, and among those features there are linux/dos/windows compatibilits in 1, large speed boost, more power... lotsa stuff!
Image

BDZ
Coder
Posts: 49
Joined: Sun Nov 20, 2005 5:41 pm
Location: Wisconsin
Contact:

Post by BDZ » Sun Nov 20, 2005 6:03 pm

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.

User avatar
Pete
Site Admin
Posts: 882
Joined: Sun Dec 07, 2003 9:10 pm
Location: Candor, NY
Contact:

Post by Pete » Sun Nov 20, 2005 6:31 pm

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.

m2j

Post by m2j » Mon Nov 21, 2005 11:46 am

I agree. If someone asks about a 16x16 tile, don't tell them to make a 64x64 one.

matt

Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re » Mon Nov 21, 2005 1:25 pm

The topic was dead, since about.. oh.. two months..

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

m2j

Post by m2j » Tue Nov 22, 2005 7:34 am

Ahh lemmings.

matt

Post Reply