Runing love2d inside python

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Malmik
Prole
Posts: 5
Joined: Fri Aug 03, 2018 3:01 pm

Runing love2d inside python

Post by Malmik »

Hi, I am planning to make a game with friend that is good in python 2. I decided to either learn python or write my part of code in lua, but i don't want to learn python 2 but 3, so second option is better in my opinion, and so - I need your help:

I am not good programmer, I have only written one simple game in lua, and this is only language that i can programm with at the moment (but I have quite big linux knowledge if it counts). Is there any way to run love2d inside python? I think that this can run lua in python:
https://pypi.org/project/lupa/
https://github.com/scoder/lupa

Thanks in advance, and hope for your help ;)
User avatar
zorg
Party member
Posts: 3436
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: Runing love2d inside python

Post by zorg »

Hi and welcome to the forums!

"pure" lua code maybe, löve specific code no, since löve is actually a C++ framework using the luaJIT compiler that allows you to code software in (mostly) lua. you'd lack most things löve already comes with.
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Runing love2d inside python

Post by bartbes »

It looks like lupa explicitly supports loading lua binary modules. So if you compile (lib)love against lupo it might work.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 7 guests