The love2d wiki is outdated, and youtube tutorials as well. It makes things very hard to learn.
I am new to love2D
You cant do this anymore:
conf.lua
1 function love.conf()
2 height = 100
3 width = 120
4 end
Width and height commands cause an ERROR, old Love2d code won't even run anymore!
I don't want to give up on love2D, but the updates change way to much! I find it overwhelming.
stabyourself.net was very inspiring to me, and proved the power of love 2d!
Thanks for reading!, (and helping me possibly!)
CraftedPixel
Love2D changes so much that old tutorials don't work
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 7
- Joined: Tue Dec 29, 2015 5:26 pm
Re: Love2D changes so much that old tutorials don't work
Just read the documentation/wiki, there aren't that many big changes really. Your syntax is outdated by quite a few versions (= many years?) already, it's supposed to look like this:
Also: use code tags to post code.[/size]
Edit: i just took another look, and it seems to me that your syntax was never actually valid. Though there were changes (for example it used to be t.screen.width before 0.9.0), what you wrote didn't ever work as far as I can tell.
Code: Select all
function love.conf(t)
t.window.height = 100
t.window.width = 120
end
Also: use
Code: Select all
[code]
Edit: i just took another look, and it seems to me that your syntax was never actually valid. Though there were changes (for example it used to be t.screen.width before 0.9.0), what you wrote didn't ever work as far as I can tell.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 10 guests