Custom Sprites [v1.5]
Re: Custom Sprites
Hey LuX, I just tested out your scanner (v1.2) by actually pasting the code into a project and compiling. I think you got some bugs bro.
Chili
Re: Custom Sprites
Hmm.... I've been using it for a while now and works perfectly for me?
What errors or bugs are you having?
What errors or bugs are you having?
ʕ •ᴥ•ʔ
Re: Custom Sprites
I scanned the Poo image, and when I tried pasting the code in the Pooface game, the shit hit the fan my friend. Totally mangled sprite. I will give you the input and the output, and maybe you can reproduce.
Settings:
wid/hgt/r/g/b = 24/24/255/255/255
Image:
Output:
Settings:
wid/hgt/r/g/b = 24/24/255/255/255
Image:
Output:
Code: Select all
gfx.PutPixel(15 + x, 2 + y, 153, 153, 153);
gfx.PutPixel(16 + x, 2 + y, 134, 134, 134);
gfx.PutPixel(17 + x, 2 + y, 172, 172, 172);
gfx.PutPixel(15 + x, 3 + y, 40, 40, 40);
gfx.PutPixel(16 + x, 3 + y, 0, 0, 0);
gfx.PutPixel(17 + x, 3 + y, 81, 81, 81);
gfx.PutPixel(15 + x, 4 + y, 40, 40, 40);
gfx.PutPixel(16 + x, 4 + y, 0, 0, 0);
gfx.PutPixel(17 + x, 4 + y, 81, 81, 81);
gfx.PutPixel(12 + x, 5 + y, 166, 166, 166);
gfx.PutPixel(13 + x, 5 + y, 13, 13, 13);
gfx.PutPixel(14 + x, 5 + y, 13, 13, 13);
gfx.PutPixel(15 + x, 5 + y, 206, 206, 206);
gfx.PutPixel(16 + x, 5 + y, 242, 242, 242);
gfx.PutPixel(17 + x, 5 + y, 246, 246, 246);
gfx.PutPixel(12 + x, 6 + y, 161, 161, 161);
gfx.PutPixel(13 + x, 6 + y, 0, 0, 0);
gfx.PutPixel(14 + x, 6 + y, 0, 0, 0);
gfx.PutPixel(15 + x, 6 + y, 215, 215, 215);
gfx.PutPixel(12 + x, 7 + y, 161, 161, 161);
gfx.PutPixel(13 + x, 7 + y, 0, 0, 0);
gfx.PutPixel(14 + x, 7 + y, 0, 0, 0);
gfx.PutPixel(15 + x, 7 + y, 215, 215, 215);
gfx.PutPixel(12 + x, 8 + y, 161, 161, 161);
gfx.PutPixel(13 + x, 8 + y, 0, 0, 0);
gfx.PutPixel(14 + x, 8 + y, 0, 0, 0);
gfx.PutPixel(15 + x, 8 + y, 215, 215, 215);
gfx.PutPixel(12 + x, 9 + y, 161, 161, 161);
gfx.PutPixel(13 + x, 9 + y, 0, 0, 0);
gfx.PutPixel(14 + x, 9 + y, 0, 0, 0);
gfx.PutPixel(15 + x, 9 + y, 215, 215, 215);
gfx.PutPixel(12 + x, 10 + y, 245, 245, 245);
gfx.PutPixel(13 + x, 10 + y, 228, 228, 228);
gfx.PutPixel(14 + x, 10 + y, 228, 228, 228);
gfx.PutPixel(15 + x, 10 + y, 59, 59, 59);
gfx.PutPixel(16 + x, 10 + y, 27, 27, 27);
gfx.PutPixel(17 + x, 10 + y, 99, 99, 99);
gfx.PutPixel(15 + x, 11 + y, 40, 40, 40);
gfx.PutPixel(16 + x, 11 + y, 0, 0, 0);
gfx.PutPixel(17 + x, 11 + y, 81, 81, 81);
gfx.PutPixel(15 + x, 12 + y, 40, 40, 40);
gfx.PutPixel(16 + x, 12 + y, 0, 0, 0);
gfx.PutPixel(17 + x, 12 + y, 81, 81, 81);
gfx.PutPixel(15 + x, 13 + y, 40, 40, 40);
gfx.PutPixel(16 + x, 13 + y, 0, 0, 0);
gfx.PutPixel(17 + x, 13 + y, 81, 81, 81);
gfx.PutPixel(15 + x, 14 + y, 40, 40, 40);
gfx.PutPixel(16 + x, 14 + y, 0, 0, 0);
gfx.PutPixel(17 + x, 14 + y, 81, 81, 81);
gfx.PutPixel(12 + x, 15 + y, 176, 176, 176);
gfx.PutPixel(13 + x, 15 + y, 40, 40, 40);
gfx.PutPixel(14 + x, 15 + y, 40, 40, 40);
gfx.PutPixel(15 + x, 15 + y, 187, 187, 187);
gfx.PutPixel(16 + x, 15 + y, 215, 215, 215);
gfx.PutPixel(17 + x, 15 + y, 228, 228, 228);
gfx.PutPixel(12 + x, 16 + y, 161, 161, 161);
gfx.PutPixel(13 + x, 16 + y, 0, 0, 0);
gfx.PutPixel(14 + x, 16 + y, 0, 0, 0);
gfx.PutPixel(15 + x, 16 + y, 215, 215, 215);
gfx.PutPixel(12 + x, 17 + y, 191, 191, 191);
gfx.PutPixel(13 + x, 17 + y, 81, 81, 81);
gfx.PutPixel(14 + x, 17 + y, 81, 81, 81);
gfx.PutPixel(15 + x, 17 + y, 159, 159, 159);
gfx.PutPixel(16 + x, 17 + y, 174, 174, 174);
gfx.PutPixel(17 + x, 17 + y, 200, 200, 200);
gfx.PutPixel(22 + x, 17 + y, 234, 234, 234);
gfx.PutPixel(23 + x, 17 + y, 174, 174, 174);
gfx.PutPixel(15 + x, 18 + y, 40, 40, 40);
gfx.PutPixel(16 + x, 18 + y, 0, 0, 0);
gfx.PutPixel(17 + x, 18 + y, 81, 81, 81);
gfx.PutPixel(22 + x, 18 + y, 188, 188, 188);
gfx.PutPixel(23 + x, 18 + y, 0, 0, 0);
gfx.PutPixel(15 + x, 19 + y, 40, 40, 40);
gfx.PutPixel(16 + x, 19 + y, 0, 0, 0);
gfx.PutPixel(17 + x, 19 + y, 81, 81, 81);
gfx.PutPixel(22 + x, 19 + y, 188, 188, 188);
gfx.PutPixel(23 + x, 19 + y, 0, 0, 0);
gfx.PutPixel(15 + x, 20 + y, 210, 210, 210);
gfx.PutPixel(16 + x, 20 + y, 201, 201, 201);
gfx.PutPixel(17 + x, 20 + y, 218, 218, 218);
gfx.PutPixel(20 + x, 20 + y, 96, 96, 96);
gfx.PutPixel(21 + x, 20 + y, 54, 54, 54);
gfx.PutPixel(22 + x, 20 + y, 40, 40, 40);
gfx.PutPixel(23 + x, 20 + y, 0, 0, 0);
gfx.PutPixel(20 + x, 21 + y, 54, 54, 54);
gfx.PutPixel(21 + x, 21 + y, 0, 0, 0);
gfx.PutPixel(22 + x, 21 + y, 0, 0, 0);
gfx.PutPixel(23 + x, 21 + y, 0, 0, 0);
gfx.PutPixel(17 + x, 22 + y, 234, 234, 234);
gfx.PutPixel(18 + x, 22 + y, 188, 188, 188);
gfx.PutPixel(19 + x, 22 + y, 188, 188, 188);
gfx.PutPixel(20 + x, 22 + y, 68, 55, 40);
gfx.PutPixel(21 + x, 22 + y, 36, 20, 0);
gfx.PutPixel(22 + x, 22 + y, 36, 20, 0);
gfx.PutPixel(23 + x, 22 + y, 36, 20, 0);
gfx.PutPixel(17 + x, 23 + y, 174, 174, 174);
gfx.PutPixel(18 + x, 23 + y, 0, 0, 0);
gfx.PutPixel(19 + x, 23 + y, 0, 0, 0);
gfx.PutPixel(20 + x, 23 + y, 109, 61, 0);
gfx.PutPixel(21 + x, 23 + y, 138, 77, 0);
gfx.PutPixel(22 + x, 23 + y, 138, 77, 0);
gfx.PutPixel(23 + x, 23 + y, 138, 77, 0);
Chili
Re: Custom Sprites
Wait a sec... this image is 48x48!
I must have reduced it before it used it in my application... let me try this again.
I must have reduced it before it used it in my application... let me try this again.
Chili
Re: Custom Sprites
Yeah I just checked it with the proper-sized image, and it works like a charm.
Sorry I ever doubted you bro!
Sorry I ever doubted you bro!
Chili
Re: Custom Sprites [v1.4]
Uh, oh. This post almost went to the next page!
Here's an update, v1.4, to have an excuse to bump yet again
Here's an update, v1.4, to have an excuse to bump yet again
ʕ •ᴥ•ʔ
Re: Custom Sprites [v1.4]
No worries bro, thanks for the update. Auto-detection of the image dimensions is a nice touch.
Chili