Completely new; Looking for mentor

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Nanopls
Prole
Posts: 7
Joined: Sat Mar 30, 2013 2:43 pm

Completely new; Looking for mentor

Post by Nanopls »

I was told to post here to get help from someone from a different forum I browse.

I am taking my first programming class next semester, and was looking for some ways to get a head start. Someone suggested using love2d to make a game as an interactive introduction to programming. Basically just looking for someone to help me or answer any questions I might have along the way.

If this is in the wrong subforum, I guess a mod can move it. Sorry in advance if that is the case.
User avatar
Faren
Prole
Posts: 17
Joined: Sun Mar 03, 2013 6:33 pm

Re: Completely new; Looking for mentor

Post by Faren »

I got ya bro.
Nanopls
Prole
Posts: 7
Joined: Sat Mar 30, 2013 2:43 pm

Re: Completely new; Looking for mentor

Post by Nanopls »

Faren wrote:I got ya bro.
T-Thanks, man.
User avatar
Faren
Prole
Posts: 17
Joined: Sun Mar 03, 2013 6:33 pm

Re: Completely new; Looking for mentor

Post by Faren »

Ok my friend.

https://www.love2d.org/wiki/Main_Page

This is your new bible.

Watch this, and code, yourself exactly what he codes.

watch?v=6ZBAxKoJEec&list=PL924F20B05A624D91

Some of it isn't perfect. But we can get to that later.

If you came here to learn how to code, you came to the right place.
Nanopls
Prole
Posts: 7
Joined: Sat Mar 30, 2013 2:43 pm

Re: Completely new; Looking for mentor

Post by Nanopls »

Faren wrote:Ok my friend.

https://www.love2d.org/wiki/Main_Page

This is your new bible.

Watch this, and code, yourself exactly what he codes.

watch?v=6ZBAxKoJEec&list=PL924F20B05A624D91

Some of it isn't perfect. But we can get to that later.

If you came here to learn how to code, you came to the right place.
You wouldn't happen to know if there is like a text version of most of the stuff he is teaching here would you? I much prefer text lessons to video lessons, but its not a big deal if you don't know of anything.
User avatar
Faren
Prole
Posts: 17
Joined: Sun Mar 03, 2013 6:33 pm

Re: Completely new; Looking for mentor

Post by Faren »

Yes, check the description in his videos.
Nanopls
Prole
Posts: 7
Joined: Sat Mar 30, 2013 2:43 pm

Re: Completely new; Looking for mentor

Post by Nanopls »

In the 5th part of his video, he sets the X position of his cloud as xCloud. What in Lua designates 'xCloud' as the X postion of his cloud?

Is it that when he sets 'xCloud = 0' in the load function, this sets the variable xCloud as a value 0, then whenever he replaces another value with 'xCloud' it automatically sets it as 0?

I'm just a bit confused on how the variable definition works I suppose.
User avatar
Faren
Prole
Posts: 17
Joined: Sun Mar 03, 2013 6:33 pm

Re: Completely new; Looking for mentor

Post by Faren »

Well, he should really be setting the x position of cloud to -300, or similar. It's just to make it offscreen. Not important. But to add to the flow of design. Like I said, he does many things badly, but we can get to that later. Because the principle of what he is doing is correct.
Nanopls
Prole
Posts: 7
Joined: Sat Mar 30, 2013 2:43 pm

Re: Completely new; Looking for mentor

Post by Nanopls »

Well I am on video 13 now, and while I think I might understand the principle behind what he is doing, it all seems unclear to me because I don't know anything about Lua. Especially the whole entities bit. I know what the entities are and how they appear in the game, but I don't understand how the base and all the different functions interact with your different entities.
User avatar
Faren
Prole
Posts: 17
Joined: Sun Mar 03, 2013 6:33 pm

Re: Completely new; Looking for mentor

Post by Faren »

I'm sorry nanoples, but iI'vbe posted a detailed reply twice, but the admin have kindly deleted it for whatever reason.
Post Reply

Who is online

Users browsing this forum: Google [Bot], zingo and 4 guests