This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
MagusBenus's profile picture

Love2D Lua Game Engine

Started by MagusBenus, 04 June 2012 - 10:44 AM
MagusBenus #1
Posted 04 June 2012 - 12:44 PM
Love2D is awesome.

http://love2d.org/

Lua is fun. Who here doesn't like coding? Love2D is a more serious compiler then ComputerCraft as you can do a lot more then what's possible using this. You can use your own sound files and images and such, allowing you total control over you program. However, don't just download, install, and open Love2D, otherwise, you may be hypnotized by the pig. Be careful.

Read the wiki. It'll teach you how to do stuff.
kazagistar #2
Posted 04 June 2012 - 05:31 PM
The point of computercraft for me is its limitations and the fact that it is integrated with many other minecraft mods. If I wanted to script up games, I would go for something based around a less, ahem, horrible language then lua. But for some people who just discovered the fun of programming through computercraft, this is a great next step.
PixelToast #3
Posted 04 June 2012 - 05:45 PM
oh god, i love love and mari0 in minecraft? awesome
MagusBenus #4
Posted 05 June 2012 - 12:54 AM
The point of computercraft for me is its limitations and the fact that it is integrated with many other minecraft mods. If I wanted to script up games, I would go for something based around a less, ahem, horrible language then lua. But for some people who just discovered the fun of programming through computercraft, this is a great next step.

Well, Lua isn't necessarily a "horrible" language persay. Rather, it's a scripting language. Easily implementable, lightweight, and powerful when used right. Lua integrated into C++ can use all the powers of C++, but with the Lua syntax, if you implement right. Love2D gives you enough control and power that it feels comfortable. I urge you to download love and go to the projects and demos, and look for a game, such as UnLove. I myself have a fully functional 2D tile-based scrolling engine, working on the game itself now.

But, it's your opinion.
kazagistar #5
Posted 05 June 2012 - 01:07 AM
Heh, maybe terrible is too strong of a word, but for any non-embedded or non-trivial use case, something like python would be the superior choice imho.
Pinkishu #6
Posted 05 June 2012 - 11:21 AM
The point of computercraft for me is its limitations and the fact that it is integrated with many other minecraft mods. If I wanted to script up games, I would go for something based around a less, ahem, horrible language then lua. But for some people who just discovered the fun of programming through computercraft, this is a great next step.

Well, Lua isn't necessarily a "horrible" language persay. Rather, it's a scripting language. Easily implementable, lightweight, and powerful when used right. Lua integrated into C++ can use all the powers of C++, but with the Lua syntax, if you implement right. Love2D gives you enough control and power that it feels comfortable. I urge you to download love and go to the projects and demos, and look for a game, such as UnLove. I myself have a fully functional 2D tile-based scrolling engine, working on the game itself now.

But, it's your opinion.

Well I don't know but atleast I don't use CC cause its the only use for lua i have known; I use it cause I like MC and it nicely adds to MC

Love2D does not at all add to MC
PixelToast #7
Posted 05 June 2012 - 10:02 PM
The point of computercraft for me is its limitations and the fact that it is integrated with many other minecraft mods. If I wanted to script up games, I would go for something based around a less, ahem, horrible language then lua. But for some people who just discovered the fun of programming through computercraft, this is a great next step.

Well, Lua isn't necessarily a "horrible" language persay. Rather, it's a scripting language. Easily implementable, lightweight, and powerful when used right. Lua integrated into C++ can use all the powers of C++, but with the Lua syntax, if you implement right. Love2D gives you enough control and power that it feels comfortable. I urge you to download love and go to the projects and demos, and look for a game, such as UnLove. I myself have a fully functional 2D tile-based scrolling engine, working on the game itself now.

But, it's your opinion.

Well I don't know but atleast I don't use CC cause its the only use for lua i have known; I use it cause I like MC and it nicely adds to MC

Love2D does not at all add to MC
GUIS, particle simulations, games, fonts, art, awesomeness
now tell me
what does CC add to minecraft? an easier way to make circuits and user interfaces?

and there are some simple 3D engines that make it possible to make minecraft in minecraft
Pinkishu #8
Posted 05 June 2012 - 10:41 PM
The point of computercraft for me is its limitations and the fact that it is integrated with many other minecraft mods. If I wanted to script up games, I would go for something based around a less, ahem, horrible language then lua. But for some people who just discovered the fun of programming through computercraft, this is a great next step.

Well, Lua isn't necessarily a "horrible" language persay. Rather, it's a scripting language. Easily implementable, lightweight, and powerful when used right. Lua integrated into C++ can use all the powers of C++, but with the Lua syntax, if you implement right. Love2D gives you enough control and power that it feels comfortable. I urge you to download love and go to the projects and demos, and look for a game, such as UnLove. I myself have a fully functional 2D tile-based scrolling engine, working on the game itself now.

But, it's your opinion.

Well I don't know but atleast I don't use CC cause its the only use for lua i have known; I use it cause I like MC and it nicely adds to MC

Love2D does not at all add to MC
GUIS, particle simulations, games, fonts, art, awesomeness
now tell me
what does CC add to minecraft? an easier way to make circuits and user interfaces?

and there are some simple 3D engines that make it possible to make minecraft in minecraft

Yeah it does, what odes Love2D Lua add to MC?
Last i checked you couldn't draw GUIs on a terminal (well not the kinda Love2D Lua would want to draw)

So I don't really get what point you're trying to make
Cloudy #9
Posted 05 June 2012 - 11:54 PM
I don't get this argument. LÖVE is great for making games. CC is great in minecraft. Why must there be a competition? They are great for their own purposes.
Pinkishu #10
Posted 06 June 2012 - 12:14 AM
Yeah what i'm trying to say.

Just that I use CC/Lua because its for MC; the OP sounds like saying "hey hey CC Lua can'T do much at all, you should do this instead" while it does not at all help me in MC

or atleast thats what i'm trying to point out

btw: weren't you supposed to be on vacation?
Xtansia #11
Posted 06 June 2012 - 06:27 AM
ComputerCraft and LOVE are two completely different things,
ComputerCraft the Lua interpreter integrated into the Minecraft in a fun and inventive way,
LOVE on the other hand is a library written in C++ that you can utilize in your lua scripts for creating games.
PixelToast #12
Posted 06 June 2012 - 06:34 AM
lol i thought this was a suggestion to make a graphics mod thing in minecraft, it sould be easy copying love's source code
Cloudy #13
Posted 06 June 2012 - 09:42 AM
Yeah what i'm trying to say.

Just that I use CC/Lua because its for MC; the OP sounds like saying "hey hey CC Lua can'T do much at all, you should do this instead" while it does not at all help me in MC

or atleast thats what i'm trying to point out

btw: weren't you supposed to be on vacation?

I am on Vacation :)/>/> 3G Internet isn't great here, but I can get on occasionally!

lol i thought this was a suggestion to make a graphics mod thing in minecraft, it sould be easy copying love's source code

LÖVE is in C++, CC is in Java. One can not simply copy the code into minecraft.
PixelToast #14
Posted 06 June 2012 - 03:26 PM
Yeah what i'm trying to say.

Just that I use CC/Lua because its for MC; the OP sounds like saying "hey hey CC Lua can'T do much at all, you should do this instead" while it does not at all help me in MC

or atleast thats what i'm trying to point out

btw: weren't you supposed to be on vacation?

I am on Vacation :)/>/> 3G Internet isn't great here, but I can get on occasionally!

lol i thought this was a suggestion to make a graphics mod thing in minecraft, it sould be easy copying love's source code

LÖVE is in C++, CC is in Java. One can not simply copy the code into minecraft.
not what i meant
you just send loves code to a c++ console in the java envoronment
Cloudy #15
Posted 06 June 2012 - 03:45 PM
Wait what? It's not as simple as sending code to a C++ console - whatever that is supposed to mean.

You could use the LÖVE libraries as native libraries but not without a boat load of work - and good luck getting them to use MC's OGL.
PixelToast #16
Posted 06 June 2012 - 04:16 PM
:C
pweese?
http://ih1.redbubble.net/image.3694543.4425/flat,550x550,075,f.jpg
kazagistar #17
Posted 06 June 2012 - 05:34 PM
You are a retard. If you want something done, do it yourself. It is NOT easy, and if you think it is, be my guest and prove us wrong. You clearly have no understanding of compilers, bytecode, interpreters, virtual environments, etc. Implementation details are everything in programming.
PixelToast #18
Posted 06 June 2012 - 06:07 PM
You are a retard. If you
want something done, do it yourself. It is NOT easy, and if you think it is, be my guest and prove us wrong. You clearly have no understanding of compilers, bytecode, interpreters, virtual environments, etc. Implementation details are everything in programming.
it was a joke, i wouldnt post a puppy if i was being serious i just wanted to ask cloudy if it was possible
kazagistar #19
Posted 06 June 2012 - 06:38 PM
it was a joke, i wouldnt post a puppy if i was being serious i just wanted to ask cloudy if it was possible
I'm sorry and I overreacted. Nonetheless, you already had an answer from cloudy.
deathinfront #20
Posted 25 July 2012 - 05:21 AM
I personally think that c++ would be a better language for Minecraft because most coders already play minecraft and most coders use c++. I wouldnt mind python either but lua is just really strange for me (and due to the percentage of people on my robotics team who know how to code in lua, I would say it is the same for most people). an arduino like environment would be the best as computercraft computers are much like arduinos in the way that they are used. (i have seen redpower bundled cabling coming out of most computercraft computers i have seen, and the arduino is all about IOs and registers.)
Xtansia #21
Posted 25 July 2012 - 05:57 AM
I personally think that c++ would be a better language for Minecraft because most coders already play minecraft and most coders use c++. I wouldnt mind python either but lua is just really strange for me (and due to the percentage of people on my robotics team who know how to code in lua, I would say it is the same for most people). an arduino like environment would be the best as computercraft computers are much like arduinos in the way that they are used. (i have seen redpower bundled cabling coming out of most computercraft computers i have seen, and the arduino is all about IOs and registers.)

How do you plan on compiling and running c++ code from Java?
Python would be possible but Dan isn't going to change it.
BigSHinyToys #22
Posted 25 July 2012 - 06:47 AM
the simple universal fact is Every language is good some better than others but no matter witch one dan200 chose people would ALWAYS complain it should be the other one.

if lua then language should be C++
if C++ then language should be python
if python language should be C
if C language should be COBOL
ect to inf

Just be happy for CC's existence and don't worry so much about the language
Noodle #23
Posted 25 July 2012 - 11:29 AM
- .-
Found it years ago, I liked it… Although it was confusing.