TinySprite

por snout em 04-01-2006, 01:39
Tópico: Development
Idiomas:

Source: MSX Files

Rafael Jannone has just released TinySprite, an online (JavaScript) MSX sprite editor, capable of exporting to DATA, MSX-BASIC, C and Pascal.

Relevant link: TinySprite

Comentários (6)

Por jannone

Expert (103)

imagem de jannone

04-01-2006, 09:59

Actually, you can download the editor (in a small zip file) and use it offline.

I'm in the process of hunting some bugs down (please drop me an e-mail if you find one! thanks! Smile) and after that I'll be implementing support for MSX2 sprites.

And of course, the code is GPL'ed.

Por turbor

Champion (486)

imagem de turbor

04-01-2006, 11:49

It looks like a great script with plenty of editing possibilities and with some nice extra touches (those saveslots!) but....
I'm running firefox 1.0.7 atm and the grid were one should draw isn't square but looks like

XXXXXXXXXXXXXXX (15 instead of 16)
XXXXXXXXXXXXXXX
XX
XXXXXXXXXXXXXXX
X
XXXXXXXXXXXXXXX
X
...

Changing the background color doesn't alter the latest two lines neither.
On which browsers is this javascript tested ?

Por ro

Scribe (4485)

imagem de ro

04-01-2006, 11:54

I'm running FF1.5 .. no problemmo.

Por jannone

Expert (103)

imagem de jannone

04-01-2006, 12:18

David, I've sent you a more elaborate reply.

If any of you guys find the same problem, you could try this:
find the line 683 in the HTML source
"divgrid.style.width = divgrid.offsetHeight + 1;"

try incrementing the offsetHeight a bit more, like say:
"divgrid.style.width = divgrid.offsetHeight + 5;"

This will change the grid border, but it should be perfectly functional.

I've been testing the editor on firefox 1.5 and opera 8.5, both on ubuntu linux.

Thanks for testing it, please let me know wether the workaround above works for you.
I'm working on squashing this bug once and for all.

Por turbor

Champion (486)

imagem de turbor

05-01-2006, 10:33

Good news,
jannone has fixed the grid bug so it now works with FF 1.0.7 Big smile !

Por MäSäXi

Paragon (1884)

imagem de MäSäXi

07-01-2006, 10:07

and on Firefox 1.0.1 Smile