[Plugin] QR Code creator

Post your completed addons to share with the community

Post » Wed Sep 05, 2012 4:12 pm

Here's a plugin which was waited for by somebody for a loong time : DataMatrix Creator (also known as QR Codes).



(Yeah, I know, QR Codes aren't very "sexy" to look at, but I didn't saw any other demo for it ).

You can generate a QR Code, choose its Quality Type (meaning the redondancy in the code => its robustness to noise (like bad pictures taken from smartphones), and its Level (meaning its 'size' in QRCode world).

By the way, the size of the drawn Code is decided by the size you set inside C2 IDE. That means you can generate a very "small" Code (with a Level or 2 or 3), but display it inside C2 with a size of 600x600 pixels ! It's going to look elongated.

The demo : https://dl.dropbox.com/u/1412774/QRCodeDemo2/index.html
The plugin : https://dl.dropbox.com/u/1412774/QRCodeDemo2/pode_QRCode.1.0.zip
The .capx : https://dl.dropbox.com/u/1412774/QRCodeDemo2/QRCodeDemo2.capx
Watch out for some combinations of string size and Level. If the string is too short, the lib will trigger an error because it can't be encoded at that Level.

The code is base on the JS lib from there : http://d-project.googlecode.com/svn/trunk/misc/qrcode/js/qrcode.js

With that plugin, you can generate some quick Code to send users directly to your game when snapping the code with their smartphone.

Exemple : code for this page =
Pode2012-09-05 16:15:55
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Wed Sep 05, 2012 7:08 pm

This is pretty cool.
As I've commented in the other thread (before seeing this) you must have really done your research. Good work!
Though, I can't think of many practical applications for this plugin other than the one you've mentioned which is letting a player go straight to the game from his mobile, I do love that it goes to show how wide the boundaries of Construct 2 and it's plugin SDK are.
B
36
S
10
G
6
Posts: 948
Reputation: 11,101

Post » Wed Sep 05, 2012 7:44 pm

@Rory : you can also use it to exchange data between two smartphones that aren't paired, not on the same network (wifi or cellular), or not from the same manufacturer (iOS vs Android), but still physically close (in sight).
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Wed Sep 05, 2012 7:58 pm

Ah, that does sound handy! It does have some good applications then ;)
B
36
S
10
G
6
Posts: 948
Reputation: 11,101

Post » Wed Feb 20, 2013 7:53 am

Wow...so cool~!
QR code (abbreviated from Quick Response Code) is the trademark for a type of matrix barcode (or two-dimensional bar code) first designed for the automotive industry in Japan. Bar codes are optical machine-readable labels attached to items that record information related to the item. It was initially patented; however, its patent holder has chosen not to exercise those rights.Recently, the QR Code system has become popular outside the automotive industry due to its fast readability and greater storage capacity compared to standard UPC barcodes. The code consists of black modules (square dots) arranged in a square grid on a white background. The information encoded may be made up of four standardized types ("modes") of data (numeric, alphanumeric, byte / binary, Kanji) or, through supported extensions, virtually any type of data.
http://www.businessrefinery.com/products/barcode_net/barcodes/net-qr-code.html
.NET QR Code Generator SDK is a powerful .NET barcode generating component used for creating QR Code barcode in .NET programs. It supports C#, Visual Basic .NET, managed C++ and Delphi .NET programming language and other development environment supported by .NET Framework.adelali2013-02-20 07:54:18
B
2
Posts: 3
Reputation: 256

Post » Wed Mar 06, 2013 7:02 am

I know a good QR Code barcode generator site. I used a http://www.onbarcode.com/csharp/qr-code-generator.html, etc.
B
1
Posts: 1
Reputation: 227

Post » Wed Apr 03, 2013 9:56 am

Yeah, that is a good barcode solution site. I used their two barcode tools to create QR Code. One is http://www.onbarcode.com/tutorial/csharp-barcode-create-asp-net.html%20. Good to try.
B
1
Posts: 1
Reputation: 227

Post » Sun Apr 07, 2013 8:22 am

@Pode What Is M level, Q level etc.?
Banned User
B
32
S
5
G
5
Posts: 116
Reputation: 6,365

Post » Sun Apr 07, 2013 7:56 pm

@Ashesh : those levels determine the amount of damage that the code can handle (badly printed, scratched, or something else). The higher the correction level, the higher the robustness to damage, but the less data you can embed in the code.
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Mon Jun 17, 2013 9:35 pm

@Pode: Pode your plugins are simply awesome. I have been dying for such a plugin to come along! One question though. How can I transfer the qr codes for print once they are created?
B
14
S
2
Posts: 26
Reputation: 1,202

Next

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest