Getting started
-
- Prole
- Posts: 1
- Joined: Fri Sep 23, 2022 8:59 pm
Getting started
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)
Re: Getting started
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.
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.
- BrotSagtMist
- Party member
- Posts: 657
- Joined: Fri Aug 06, 2021 10:30 pm
Re: Getting started
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/
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
Re: Getting started
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.
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.
Who is online
Users browsing this forum: Google [Bot] and 4 guests