Description
Changelog
Reviews
QR Code Generator for Godot
Generate QR Codes directly in Godot with ease. Includes a ready-to-use UI node and a flexible backend class for full control.
Features
- đźď¸
QRCodeRectdrop-in node that auto-updates and renders the QR Code - âď¸
QRCodegenerate QR codes via code with full customization - đŹ Supports all encoding modes: Numeric, Alphanumeric, Byte, Kanji
- đ ECI (Extended Channel Interpretation) support: Shift JIS, UTF-8, ISO 8859-1, and more
- đ¨ Customizable colors, sizes, and quiet zone settings
- đ§Š Optimized performance for dynamic updates
Usage
Using QRCodeRect (UI Node)
- Add a
QRCodeRectnode to your scene. - Set the
dataproperty to your content.
$QRCodeRect.data = "https://godotengine.org"
It will update the texture automatically based on the data.
Using QRCode (Code-based)
For more control or manual usage:
var qr = QRCode.new()
qr.put_byte("Hello from Godot!".to_utf8_buffer())
var image = qr.generate_image(4)
You can control the version, error correction level, mask pattern, ECI mode, and more.
Documentation & Examples
Full API documentation is available here.
Changelog for version 2.0.0
No changelog provided for this version.