Broadcast from with an AGK app..

Started by Yeshu777, August 31, 2023, 02:58:52

Previous topic - Next topic

Yeshu777

Hi All,

Is it possible to 'invoke' a broadcast from within a PC based AGk app to tablet / mobile Android device running AGK Player.

ie. During game, you can send a "control panel" to an Android device to control the main game.

Just curious!
Cymru Am Byth

Qube

The broadcast side of AGK expects the code and media sent to it. I would assume code wise it would just want the bytecode. There are HTTP file send commands but no doubt the broadcaster would be expecting some form of handshake and command that all the files are sent.

The AGK language doesn't have any built in commands to simply broadcast to another machine and I'm not aware there are any docs on how the broadcaster accepts the data required.

You might get some pointers from the Tier 2 C++ code of interpreter.cpp ( C:\Program Files (x86)\The Game Creators\AppGameKit Studio\Tier 2\apps\interpreter )
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.

blinkok


Yeshu777

Thanks for the replies both, appreciated.



Cymru Am Byth

blinkok

Also I have tested copying the bytecode.byc file to an (android) device and it works. The app needs to be restarted though