When you create the Frame() in which you are loading the BIN file, eitherã > use no attributes or set it to BG_BLACK. The problem is that if you give aã > frame default attributes, anywhere there is no data (no character orã > attribute for a particular sector) it will fill it in with the defaults,ã > I'm assuming from your screenshots that the attributes for the frame youreã > using are set to DARKGRAY, which would cause that anomaly.ããYes, this makes the difference. If I initialize the frame with BG_BLACK, theãBIN appears correctly. Thanks!ããHowever, I can't set this value when I make a sprite. ããI tried replacing "0" with BG_BLACK in the frame init routines on lines 874ãand 1384 of sprite.js:ããthis.frame = new Frame(x, y, this.ini.width, this.ini.height, BG_BLACK,ãparentFrame);ããThis worked. The sprite rendered properly and I was able to mask it, noãproblems.ãã--Joshããã////--------------------------------------------------ãBiC -=- http://breakintochat.com -=- bbs wiki and blogãã---ã þ Synchronetã
Sysop: | Karloch |
---|---|
Location: | Madrid, Spain |
Users: | 52 |
Nodes: | 8 (0 / 8) |
Uptime: | 53:58:32 |
Calls: | 715 |
Files: | 17,895 |
D/L today: |
2 files (10,523K bytes) |
Messages: | 65,411 |