Getting started

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
SatoriJokei
Prole
Posts: 1
Joined: Fri Sep 23, 2022 8:59 pm

Getting started

Post by SatoriJokei »

I'm very new to LUA and LOVE. And i was just wondering if anyone can help me get started and show me the basics (my cousin showed me his roblox LUA stuff and it seems interesting, so ive done datastores and stuff on roblox)
User avatar
pgimeno
Party member
Posts: 3674
Joined: Sun Oct 18, 2015 2:58 pm

Re: Getting started

Post by pgimeno »

There's a wiki page called precisely Getting Started.

From there, you need to learn some basics of the Lua language and go to the wiki to see what Löve can do; the index on the left side is a great help.

Basically, sprites are images, so if you want to draw sprites, you use love.graphics.draw; many short programs only use that function and love.graphics.newImage.

You will also need to learn about two basic events: love.update and love.draw and then the input events, especially love.keypressed, but maybe you prefer to use love.keyboard.isScancodeDown in some cases instead of the love.keypressed event.
User avatar
BrotSagtMist
Party member
Posts: 659
Joined: Fri Aug 06, 2021 10:30 pm

Re: Getting started

Post by BrotSagtMist »

Take in mind that roblox is NOT using Lua, they butchered their language quite a bit.

Löve is neither using Lua but Luajit but they are mostly compatible. So this is your friend for any language question:https://www.lua.org/manual/5.3/
obey
User avatar
pgimeno
Party member
Posts: 3674
Joined: Sun Oct 18, 2015 2:58 pm

Re: Getting started

Post by pgimeno »

Er, actually this one:

https://www.lua.org/manual/5.1/
User avatar
ddabrahim
Party member
Posts: 201
Joined: Mon May 17, 2021 8:05 pm
Contact:

Re: Getting started

Post by ddabrahim »

You can find beginner tutorials at the top of this page:
https://love2d.org/wiki/Category:Tutorials

I recommend the first one, How to LÖVE:
https://sheepolution.com/learn/book/contents
It is walk you through all the basics and how to build a simple game.
Then you can find many other beginner and more advanced tutorials on YouTube and all over the internet, also paid ones at Udemy.
There are lots of great resources to find online.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 7 guests