So I've been doing more experiments with sprites and scrolling and stuff.ããI've made some progress, but I've also run into some issues.ããFirst, echicken or MCMLXXIX or whoever, I have written a little function whichãcan be added to frame.js, called scrollCircular(x,y). All it does is eitherãpop or shift the frame data the create a constantly-looping scroll effect. Iãcan post the code before too long if you're interested.ããBut I keep running into trouble with BINs. Using techniques we talked about aãfew months ago, I make sprites and then mask their background to becomeãtransparent, so they can walk in front of things. This works. ããBut I still don't understand the color values stored by frame.data[x][y].attr.ãIn my case, I'm using green as the mask. What I have found is that if I loadãan ANSI image into the frame, the .attr for green characters is usually "2".ãBut if I load the same image in BIN format, suddenly the green characters areã"514." Why should these numbers be different? I don't get it.ããI also am not having much luck with my .BIN files. This is a multi-tieredãproblem, because I'm using a Mac. The newest versions of PabloDraw (which haveãMac and Linux versions) have issues with loading/saving BINs. So I run theãclassic version of PabloDraw in WINE, and use it to convert ANS files to BIN.ããI find that no matter how hard I try, the BBS simply will not display the BINãproperly. On the latest sprite I've been working on, the problem seems to comeãin the black characters. Not sure why. I posted some examples and some filesãon the Synchronet Facebook page if you're interested in looking:ãã
https://www.facebook.com/groups/448979361874853/636759266430194/ããI really want to get BINs to work because I want to use the sprite library.ãBut for now I've had to make do simulating that library and just using framesãwith ANS data loaded.ããHere's an example of what I'm trying to do:ãã
https://vimeo.com/116376889ãã////--------------------------------------------------ãBiC -=-
http://breakintochat.com -=- bbs wiki and blogãã---ã þ Synchronetã