Hello everyone, I'm new to the scene.
I'll be making a project with a Pi soon, and I would like to integrate a game into it that can send data to other parts of my circuit. I haven't found any information on that as of yet.
Let's say, in my game (made in Löve, of course), I get a score of 200 points. So, that number will get sent to the Pi and rotate some servos.
Is this possible at all? If not, can we make it possible?
Requesting Documentation for Löve with Raspberry Pi
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 1
- Joined: Wed Oct 02, 2019 4:49 am
Re: Requesting Documentation for Löve with Raspberry Pi
You can create a .so binary library that will interface with Pi's hardware, and then hook it up via FFI. You can make this library in a Lua-specific fashion, then you can simply "require" it like Lua modules.
Re: Requesting Documentation for Löve with Raspberry Pi
Take a look at this email by LuaJIT creator Mike Pall:
http://lua-users.org/lists/lua-l/2012-04/msg01122.html
http://lua-users.org/lists/lua-l/2012-04/msg01122.html
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 4 guests