ZFGC

Projects => Other Projects => Topic started by: Goodnight on January 29, 2007, 07:36:50 pm

Title: [Completed] UPChucker - huck your own UPCs!
Post by: Goodnight on January 29, 2007, 07:36:50 pm
Presenting: UPChucker 1.2 - huck your own UPCs!

1.0 - intial release
1.1 - fixed a bug, clarified text
1.2 - added a missing sound and arrow-key movement


(http://img.photobucket.com/albums/v87/CaptainGoodnight/UPChucker/UPChucker.png)

UPChucker is another ille(http://www.zfgc.com/Themes/kokiri/images/censor.png)imate-child of Game Maker 6 and Noproblo Games' application branch. It creates actual, valid North American UPC barcodes from your own custom messages. It's kind of like getting a vanity license plate, except instead of being the pimp of a traffic jam, you can now use di(http://www.zfgc.com/Themes/kokiri/images/censor.png)al technology to ironically show your disdain for the anti-individualism machine. That's right, stick it to the man, man.

UPChucker (that's "UPC-hucker", not "Upchucker" ;)) can also scan other UPC numbers to figure out all the possible messages it may contain. You can even select which numbers remain as numbers and which are decoded into text. If those beans weren't cool enough, you can even save your UPC to a bitmap image. (note: GM limitations force the image into this format. Convert it to a 1-bit PNG to cut the file size by over 99%)


Download:
http://noproblo.dayjo.org/misc/UPChucker.zip - 0.94 Mb
*added Mar.11: http://noproblo.dayjo.org/misc/UPChucker.gm6 - source


What you see here is not much more than a personal exercise in recursive scripting and menu/layout design, and an attempt at a (short-lived?) forum fad. All coding and UPC research by me, font is a modified 11pt Arial bold, sounds ripped by me from The Minish Cap. Enjoy UPChucker, for whatever it's worth.

And yes, I know what you're thinking:
(http://img.photobucket.com/albums/v87/CaptainGoodnight/UPChucker/UPC.png)

;D
Title: Re: UPChucker - huck your own UPCs!
Post by: Dayjo on January 29, 2007, 08:22:41 pm
lol, excellent. However it doesn't accept my 11 character string. It says it's too long.

The sounds are well funny, like the opening and closing ones XD. It'd be cool if you could move the window by dragging it too. >_>
Title: Re: UPChucker - huck your own UPCs!
Post by: Goodnight on January 29, 2007, 08:32:42 pm
lol, excellent. However it doesn't accept my 11 character string. It says it's too long.

The sounds are well funny, like the opening and closing ones XD. It'd be cool if you could move the window by dragging it too. >_>

Thanks Dayjo.. 8)  Yeah, moving windows with GM6 is kind of buggy. I made a code which works in theory but it ends up shaking around and falling out of the cursor's grip.

Perhaps the "11 or 12 digits" wasn't totally clear. That means 11 or 12 numbers. If you have letters, they get coverted to numbers, so anything over "I" will be two digits.

GOODNIGHT (7, 15, 15, 4, 14, 9, 7, 8, 20) doesn't fit, but GOODNITE (7, 15, 15, 4, 14, 9, 20, 5) does.

[edit]
There, I updated that text and fixed a stupid bug.
Title: Re: UPChucker - huck your own UPCs!
Post by: mit on January 29, 2007, 10:36:13 pm
Hehe, awesome. I don't think the barcodes quite match UK ones, although I'm not sure (I don't have any to test with me right now).

And the message box, "Yes, No, Wtf" is just the most awesome thing ever. Certainly doesn't suxorz!
Title: Re: UPChucker - huck your own UPCs!
Post by: Dayjo on January 31, 2007, 02:48:19 am
Ah right, Okey Doke :)
You should totally make it so you can scan in real bar codes :P, like if you have an optical mouse, use that. Although I'm not sure Game Maker is entirely capable of that :P
Title: Re: UPChucker - huck your own UPCs!
Post by: mit on January 31, 2007, 03:57:59 pm
I feel like I'm trying to give advice to an expert, but if the window is shaking around when you drag it, I had that when I used mouse_x and mouse_y instead of window_get_mouse_x and window_get_mouse_y. Might work.

Lol, maybe you could make a barcode reader using a webcam or something?
Title: Re: UPChucker - huck your own UPCs!
Post by: Goodnight on January 31, 2007, 09:20:27 pm
That's okay, mitch. It was still jumpy, but now you can move the app with the arrow keys. Yeah, some "real" scanning capabilities would make this a bit less useless, but what'll ya do. :P
Title: Re: UPChucker - huck your own UPCs!
Post by: Sir Cyrus on February 03, 2007, 09:07:33 pm
Bug you into making it work? :)
Title: Re: UPChucker - huck your own UPCs!
Post by: Goodnight on February 04, 2007, 07:10:53 pm
Pay for my engineering classes? 8)
Title: Re: UPChucker - huck your own UPCs!
Post by: Goodnight on March 11, 2007, 08:28:28 pm
Ahhh, why the hell not.

UPChucker source (http://noproblo.dayjo.org/misc/UPChucker.gm6)

Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved