Custom Sprites [v1.5]

The Partridge Family were neither partridges nor a family. Discuss.
User avatar
LuX
Posts: 1492
Joined: April 22nd, 2012, 12:33 pm
Location: Finland

Re: Custom Sprites

Post by LuX » April 26th, 2012, 3:33 pm

Bump for v1.2, a lot better ;)
ʕ •ᴥ•ʔ

User avatar
chili
Site Admin
Posts: 3808
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: Custom Sprites

Post by chili » April 28th, 2012, 2:53 pm

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

User avatar
LuX
Posts: 1492
Joined: April 22nd, 2012, 12:33 pm
Location: Finland

Re: Custom Sprites

Post by LuX » April 28th, 2012, 3:21 pm

Hmm.... I've been using it for a while now and works perfectly for me?
What errors or bugs are you having?
ʕ •ᴥ•ʔ

User avatar
chili
Site Admin
Posts: 3808
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: Custom Sprites

Post by chili » April 28th, 2012, 3:35 pm

I scanned the Poo image, and when I tried pasting the code in the Pooface game, the shit hit the fan my friend. :lol: 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:
poop[1].gif
poop[1].gif (1.08 KiB) Viewed 2352 times
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

User avatar
chili
Site Admin
Posts: 3808
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: Custom Sprites

Post by chili » April 28th, 2012, 3:38 pm

Wait a sec... this image is 48x48! :lol:
I must have reduced it before it used it in my application... let me try this again. :lol:
Chili

User avatar
chili
Site Admin
Posts: 3808
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: Custom Sprites

Post by chili » April 28th, 2012, 3:41 pm

Yeah I just checked it with the proper-sized image, and it works like a charm. :lol:

Sorry I ever doubted you bro! ;)
Chili

User avatar
LuX
Posts: 1492
Joined: April 22nd, 2012, 12:33 pm
Location: Finland

Re: Custom Sprites

Post by LuX » April 28th, 2012, 3:47 pm

Yeah, you better be sorry >:(

Naaaaaaaaaaaaaa.... kidding dude <3
ʕ •ᴥ•ʔ

User avatar
LuX
Posts: 1492
Joined: April 22nd, 2012, 12:33 pm
Location: Finland

Re: Custom Sprites

Post by LuX » April 30th, 2012, 12:18 pm

Bump for 1.3 :lol:
Fixed an "important" save bug.
ʕ •ᴥ•ʔ

User avatar
LuX
Posts: 1492
Joined: April 22nd, 2012, 12:33 pm
Location: Finland

Re: Custom Sprites [v1.4]

Post by LuX » May 6th, 2012, 4:19 pm

Uh, oh. This post almost went to the next page!
Here's an update, v1.4, to have an excuse to bump yet again :)
ʕ •ᴥ•ʔ

User avatar
chili
Site Admin
Posts: 3808
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: Custom Sprites [v1.4]

Post by chili » May 6th, 2012, 4:28 pm

No worries bro, thanks for the update. Auto-detection of the image dimensions is a nice touch. ;)
Chili

Post Reply