Help needed, Matrix code project

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
Sirius
Prole
Posts: 2
Joined: Mon Jul 28, 2014 4:55 am

Help needed, Matrix code project

Post by Sirius »

Hey, I recently started getting into programming and have an idea for an eventual project. The idea is a program that emulates the iconic Matrix falling code but instead of random letters and symbols, displays actual information from system info, to news articles, and weather updates.

Basically I was referred here and I need help. If any of you guys could tell me how I could go about making this it would be very appreciated.
User avatar
micha
Inner party member
Posts: 1083
Joined: Wed Sep 26, 2012 5:13 pm

Re: Help needed, Matrix code project

Post by micha »

Hi and welcome to the community.

This is the right place for getting help. You have a very open questions and that makes it difficult for us to answer. Could you please break down your project in smaller problems and ask more specific.

What do you have so far? Where exactly are you stuck?
Sirius
Prole
Posts: 2
Joined: Mon Jul 28, 2014 4:55 am

Re: Help needed, Matrix code project

Post by Sirius »

Essentially what I need to know is how I can retrieve the data I need. The data would be from Facebook, news websites, email, system info, google notifications etc
User avatar
Plu
Inner party member
Posts: 722
Joined: Fri Mar 15, 2013 9:36 pm

Re: Help needed, Matrix code project

Post by Plu »

At the core, you´d need some sort of library that can download data from the internet, like Luasocket:
http://w3.impa.br/~diego/software/luasocket/

Then, you'd need to either find other libraries that already implement the login mechanisms for all the things you want to connect with, or you'd have to implement them yourself.

System info can probably be polled more directly by using Lua's os library:
http://lua-users.org/wiki/OsLibraryTutorial

Any kind of publicly available information should also be easy to parse out of the site, although having access to an API will simplify things a lot.

For reading email you'd need an email library but I have no experience with those so I can't really recommend anything.
User avatar
slime
Solid Snayke
Posts: 3162
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Help needed, Matrix code project

Post by slime »

Plu wrote:At the core, you´d need some sort of library that can download data from the internet, like Luasocket:
http://w3.impa.br/~diego/software/luasocket/
To clarify, luasocket is built into LÖVE and accessible via 'require'.
User avatar
DaedalusYoung
Party member
Posts: 413
Joined: Sun Jul 14, 2013 8:04 pm

Re: Help needed, Matrix code project

Post by DaedalusYoung »

For data sources, look for RSS feeds. They're in an easy format, and the format is always the same, so you can just code it once and then let the user enter their own preferred feeds.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 5 guests