Search found 5 matches

by olle
Fri Dec 06, 2013 9:27 pm
Forum: General
Topic: Cooperation between LÖVE and online multiplayer game engine
Replies: 0
Views: 2073

Cooperation between LÖVE and online multiplayer game engine

Hello! I'm developing an online multiplayer game engine , where you make games on a web page using Lua. The original intent was to use it for card games only, but it was easily expanded to handle turn based games in general and even semi-realtime games like (multiplayer) Nibbler/Snake (proof of conc...
by olle
Thu Dec 30, 2010 4:27 pm
Forum: Support and Development
Topic: Multiplayer using RakNet/Löve with Lua C API
Replies: 7
Views: 6253

Re: Multiplayer using RakNet/Löve with Lua C API

If you won't use LÖVE in the final product, why use RakNet in the prototype? Because I can. ;) It will save time, too, of course. A good question is which functions in the network routine should be exported to Lua. I think I will do like this: 1. Make a module that works on Ubuntu, with RakNet etc ...
by olle
Sun Dec 26, 2010 2:51 pm
Forum: Support and Development
Topic: Multiplayer using RakNet/Löve with Lua C API
Replies: 7
Views: 6253

Re: Multiplayer using RakNet/Löve with Lua C API

Welcome! Thank you! :) LÖVE is written as an application, and although there has been some action to make it usable as a library, but AFAIK only from the Lua side. Using Löve as a library could work too. In that case I could use the regular C API and start up LÖVE from my own Lua state. Is there in...
by olle
Sat Dec 25, 2010 10:05 pm
Forum: Support and Development
Topic: Multiplayer using RakNet/Löve with Lua C API
Replies: 7
Views: 6253

Re: Multiplayer using RakNet/Löve with Lua C API

Well, normally you don't. But you can build modules using the C api and require them in your game. Wouldn't that require that I start a separate Lua state from C? I can't use C functions in Lua without having a C executable running, right? Is it possible to start Löve from C? But this will likely b...
by olle
Sat Dec 25, 2010 3:51 pm
Forum: Support and Development
Topic: Multiplayer using RakNet/Löve with Lua C API
Replies: 7
Views: 6253

Multiplayer using RakNet/Löve with Lua C API

Hello, everybody! I'm quite new to Löve. I'm using it right know for prototyping our game project (info here: https://sites.google.com/site/anakhagame/). I will use Raknet to program the network stuff, thus I need to export functions to Lua, I think. How do I use the Lua C API with Löve? I think tha...