Hi everyone , i new in this engine. Try to create simple platformer.
i found nice example https://www.youtube.com/watch?v=I7MYvFAgoXM
but faced with the problem.
first
Error: [string "boot.lua"]95: conf.lua:18: attempt to index field 'screen' (a nil value)
I found that in screen was renamed to window and fix it, but I can not understand how to fix this error
Error: main.lua:5: attempt to index field 'joystick' (a nil value)
the joystick has connected, can somebody help me?
compile error
- Sir_Silver
- Party member
- Posts: 286
- Joined: Mon Aug 22, 2016 2:25 pm
- Contact:
Re: compile error
Hi there, welcome to the forums.
It's going to be pretty difficult to help you debug your code unless we can see it, would you mind posting your code or attaching a .love file here?
It's going to be pretty difficult to help you debug your code unless we can see it, would you mind posting your code or attaching a .love file here?
Re: compile error
The problem it seems that the example uses old version. One way to go about it is to update all code to the current version. The other way is to simply download and use older version to match the example you're doing. Once you grasp everything you wanted, you can switch back to modern version and build all the code necessary from scratch anyway.
Here is the downloads page. Scroll down to see older versions. https://bitbucket.org/rude/love/downloads
Here is the downloads page. Scroll down to see older versions. https://bitbucket.org/rude/love/downloads
Re: compile error
yeah, with love-0.8.0 work fine thank you
Who is online
Users browsing this forum: Google [Bot] and 4 guests