Page 1 of 1
New To Love And Need Some Help Learning
Posted: Thu Dec 15, 2016 4:54 am
by theresaspyaroundhere
okay, so I just signed up for a forum account and i only started learning love a few weeks ago.
i was just wondering if somebody knew or could link me to a place where i could learn more about creating games with love, for example youtube tutorials, etc. and i'm mediocre at lua, so im not a pro either. thanks for your help
Re: New To Love And Need Some Help Learning
Posted: Thu Dec 15, 2016 11:38 am
by s-ol
go read
all of the PiL, maybe dissect some other love games and just generally treasure the wiki messing around.
Re: New To Love And Need Some Help Learning
Posted: Thu Dec 15, 2016 10:24 pm
by Sir_Silver
I'm not much of a reader, I was very fortunate to have a friend who taught me most of what I know from the start of my programming to where I am today. I don't know if I would be able to learn and maintain the motivation to learn just by reading, but to each their own. If I were you though, I would try to find someone more knowledgeable than myself and pester them with questions
I think that youtube game tutorials teach people how to copy more than how to think in terms of code, which I think is neither creative nor useful for when you want to make your own projects.
That said, if you need a brief overview of lua, I recommend this tutorial:
https://www.youtube.com/watch?v=iMacxZQMPXs
Re: New To Love And Need Some Help Learning
Posted: Fri Dec 16, 2016 1:22 am
by theresaspyaroundhere
like i said im mediocre at lua but im not an absoulte beginner. all i need to know is how to do stuff in love because im pretty new at that, thank you though
Re: New To Love And Need Some Help Learning
Posted: Fri Dec 16, 2016 1:56 am
by Sir_Silver
Oh okay, well here is a link to the wiki side of the love website, where you can look at all of the cool functions that allow you to do drawing operations and whatever else you can imagine:
https://love2d.org/wiki/love
Code: Select all
-- Load some default values for our rectangle.
function love.load()
x, y, w, h = 20, 20, 60, 20
end
-- Increase the size of the rectangle every frame.
function love.update(dt)
w = w + 1
h = h + 1
end
-- Draw a coloured rectangle.
function love.draw()
love.graphics.setColor(0, 100, 100)
love.graphics.rectangle("fill", x, y, w, h)
end
These are some of the basic love functions you will use, perform all of your drawing operations in love.draw and anything that needs to update in love.update. There are more callback functions that you can find on the wiki side.
Re: New To Love And Need Some Help Learning
Posted: Mon Dec 19, 2016 3:32 pm
by ken.athomos
Hey dude!
I'm assuming you have already setup LÖVE and an IDE/Text Editor on your machine.
HOWEVER IF YOU HAVEN'T YET, please check
this.
Here are the following stuff you can use to learn LÖVE:
- The LÖVE Wiki Tutorials Section - This contains some user made tutorials. Don't be intimidated by how many it looks because it isn't that much. Most of it are just translations.
- Sheepolution - This is made by user u/Sheepolution. This is a sort of website-online-book for those who want to learn LÖVE. I suggest reading up to Chapter 13 and possibly moving on to Chapter 14 if and only if you understood the previous Chapters.
- Sockmunkee Dev Videos - This is a playlist of YouTube videos created by Sockmunkee Dev. Sadly the videos aren't made for LÖVE version 0.10.0+ and arguably the way he writes the code may not be considered the best way BUT the videos do serve as a great way of understanding and seeing basic code live.
- LÖVE Video Tutorial ~45min - This is created by user u/josefnpat. As the title shows, its a 45 minute video about LÖVE and how to code with it.
- How to LÖVE Videos - This is a YouTube playlist that tackles most of the basic stuff concerning LÖVE.
Stuff I can personally vouch for:
- I have personally used the Sockmunkee Dev Videos to refresh basic concepts and have also read the ones made by Sheepolution. I've used Sheepolution's content as a huge refresher for LÖVE as a whole since I stopped tinkering with the language during my first semester of college.
- OSM Studios - Your First Love2d Game in 200 Lines. I used this tutorial when I was first starting out with LÖVE. I personally think that this explains some of the basic stuff and shows implementations of it very well.
- Baseline 2D Platformer. Shameless plug. I made this. Aside from the fact that I did this, I personally would suggest you read the comments I put in the code snippets. I made them with the aim of explaining game code/logic in mind.
Other stuff:
- LÖVE Forums. You know, the one you are currently in XD
- LÖVE Wiki. This is basically the LÖVE Documentation/API.
- LÖVE Reddit. Don't know about this one personally. I use the forums more.
Good luck on the journey dude! I am also still currently on it
Don't hesitate to ask in the forums
BUT please do search about your concern first before making a thread about it. Don't hesitate to PM people here as well.