|
Post by amebatron on Oct 25, 2022 8:02:06 GMT
Hi!, I'm really interested in showing a QR code in my AGD 4.7 game I've seen this library: github.com/leiradel/qrc1The problem is that I don't know anything of assembler, and I don't know if it can be embebbed in my AGD game or not. Is it possible ? Any advice on how to achieve it ? (or maybe with another libray or code ) THANKS
|
|
|
Post by ramon on Oct 25, 2022 9:52:30 GMT
how interesting! Does it have something to do with increasing the game experience outside of AGD? Any mechanic that needs a dynamically generated QR? Connect the game with a web? It would be interesting.
|
|
|
Post by amebatron on Oct 25, 2022 13:59:12 GMT
Yes, in my case is to connect with a web, so, it would be a URL QR
|
|
|
Post by ramon on Oct 26, 2022 10:43:23 GMT
The last question: You need the program to always generate the same qr code; or you need to generate several QR codes dynamically. If you only need a single QR code, you can make a screen with the code and call it from the game, the memory cost is the least.
|
|
|
Post by amebatron on Oct 26, 2022 10:57:09 GMT
Must be dynamic, the URL have a parameter whitch is different in every game (integer number), like www.domain.com?p=12345I have thought about creating the QR code with AGD Blocks (or Sprites ), but obviously is not a viable solution 😐
|
|
|
Post by ramon on Oct 26, 2022 14:25:04 GMT
You need to create a user routine from the corresponding leiradel qrcx project to call it from AGD and display it on the screen. You have to study the library and find the url parameter to modify it. It will take time; but it's not impossible if the qrcx project is well documented. It's a good time to learn some assembler.
|
|
|
Post by amebatron on Oct 31, 2022 8:32:23 GMT
Thanks for your reply, but as I said, I don't know anything of assembler. I'm going to learn, so, this feature will be in the next game 😎
|
|
|
Post by ramon on Oct 31, 2022 19:23:54 GMT
I am finishing a scroll routine. at the same time I have studied your project on the fly. good news. can be achieved with little effort. the strategy is that you use the agd messages to print in qr code. question: what qr form would you like to use?
|
|