AGulev / jstodef

Library for sending messages from JavaScript to Defold (Lua)
MIT License
37 stars 7 forks source link

Is there a complete working example? #8

Open lonnietc opened 2 years ago

lonnietc commented 2 years ago

Hello,

I am work some with the Defold engine and wanted to know if there was a complete simple working example using this library?

AGulev commented 2 years ago

Here is SDK that uses this extension as a dependency: https://github.com/Laminariy/vkminibridge

Also many extensions use not exactly this extension but based on it: https://github.com/indiesoftby/defold-yagames https://github.com/d954mas/defold-crazygames-sdk https://github.com/AGulev/defold-poki-sdk/archive/refs/heads/main.zip

lonnietc commented 2 years ago

Thanks for the links and I will try to figure out how to use them.

What I am trying to do, as you may have seen on the Discord forum us to take a game that I have and effectively turn it into a type of Widget that users can put on their website or pages just by adding a few simple lines of Javascript and maybe a UserID or similar.

The default Defold approach does not seem like an optimal solution for this widget approach idea and I have been searching for a solution.