• Sprite.js, PabloDraw. and .BIN files

    From Kirkman@VERT/GUARDIAN to All on Sun Feb 16 14:31:36 2014
    I've been taking the first steps of making a door game with my daughter, andãyesterday I started exploring Sprite.js.ããI ran into an immediate roadblock, and I wanted to ask about.ããThe Sprite.js file says you have to save the sprite in .BIN format, and itãrecommends PabloDraw.ããI use PabloDraw on my Mac, but I had never tried .BIN format before.ããAnyway, I created a simple two-state 8x9 sprite of a girl, based on artwork Iãfound at an 8bit website, with one state showing her looking left and theãother looking right. I stacked them vertically as Sprite.js explained, thenãsaved the file as .BIN.ããBut when I tried loading the code on the BBS, the sprite was not right at all.ãOnly two or three lines of it seemed to be displaying, and they weren't inãorder.ããWhen I open the BIN in PabloDraw, my two vertically-stacked sprites were splitãhorizontally. Parts of each sprite were on the other side of the screen, withãlots of black space in between. I think it was displaying the .BIN as if itãwere 160 columns instead of 80.ããI tried upgrading PabloDraw (apparently the Mac App Store version isn't theãlatest), but no difference.ããAt that point I decided to give AcidDraw a whirl. I loaded my ANSI version andãsaved a .BIN. Same results on the BBS and in PabloDraw. I tried changing theãscreen width to 160. Same blotchy results again on the BBS, though PabloDrawãcorrectly displayed this .BIN.ããThen, reading the AcidDraw docs, I found it had a block mode. You canãhighlight an area, and save just that area. So I tried that. I highlight justãthe blocks making up my sprites and saved them as a .BIN.ãã*THIS* .BIN displayed properly on the BBS. But, again, it doesn't displayãright in PabloDraw. It's diced up into tiny pieces, since I guess PabloDrawãthinks it's 160 characters wide instead of 9.ããIs this just purely a PabloDraw issue? Is it maybe a Mac thing? What toolsãhave you guys used to produce sprites in Chicken Delivery, Star Trek, etc?ãã////--------------------------------------------------ãBiC -=- http://breakintochat.com -=- bbs wiki and blogãã---ã þ Synchronetã
  • From MCMLXXIX@VERT/MDJ to Kirkman on Mon Feb 17 10:33:45 2014
    Re: Sprite.js, PabloDraw. and .BIN filesã By: Kirkman to All on Sun Feb 16 2014 14:31:36ãã > *THIS* .BIN displayed properly on the BBS. But, again, it doesn't displayã > right in PabloDraw. It's diced up into tiny pieces, since I guess PabloDrawã > thinks it's 160 characters wide instead of 9.ããwhen i load a .BIN with pablodraw, im asked what width the graphic is supposedãto be, so that pablodraw can correctly render it. ãã---ã þ Synchronet þ The BRoKEN BuBBLE (bbs.thebrokenbubble.com)ã
  • From Kirkman@VERT/GUARDIAN to MCMLXXIX on Tue Feb 18 11:02:21 2014
    when i load a .BIN with pablodraw, im asked what width the graphic isã > supposed to be, so that pablodraw can correctly render it. ããStrange. It definitely doesn't do that on the Mac side.ããJust curious: are you using the older v2 family under DOS or Windows, or areãyou using the v3 family?ãã--Joshãã////--------------------------------------------------ãBiC -=- http://breakintochat.com -=- bbs wiki and blogãã---ã þ Synchronetã
  • From MCMLXXIX@VERT/MDJ to Kirkman on Wed Feb 19 12:02:42 2014
    Re: Re: Sprite.js, PabloDraw. and .BIN filesã By: Kirkman to MCMLXXIX on Tue Feb 18 2014 11:02:21ãã > Strange. It definitely doesn't do that on the Mac side.ã > ã > Just curious: are you using the older v2 family under DOS or Windows, or areã > you using the v3 family?ããAh, the windows v2.08 asks for graphic width when you open a bin file, theãnewer v3.2.1 does not, but it appears to have some sort of metadata option withãwidth and height properties.. you can try setting those to what you want?ãã---ã þ Synchronet þ The BRoKEN BuBBLE (bbs.thebrokenbubble.com)ã