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
Runing love2d inside python
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- zorg
- Party member
- Posts: 3470
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Runing love2d inside python
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.
"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 True 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.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Runing love2d inside python
It looks like lupa explicitly supports loading lua binary modules. So if you compile (lib)love against lupo it might work.
Who is online
Users browsing this forum: Ahrefs [Bot], Semrush [Bot] and 4 guests