Solved. It was a loop of require between 3 files..
The post can be closed.
Search found 4 matches
- Mon Dec 21, 2015 11:21 am
- Forum: Support and Development
- Topic: attempt to call global 'require'
- Replies: 4
- Views: 2435
- Mon Dec 21, 2015 12:11 am
- Forum: Support and Development
- Topic: attempt to call global 'require'
- Replies: 4
- Views: 2435
attempt to call global 'require'
Hi all, quick stupid question. I've been programming happily and running the program normally and then suddenly I got this error (wich never happened before) Error: main.lua:2: attempt to call global 'require' (a string value) stack traceback: main.lua:2: in main chunk [C]: in function 'require' [st...
- Wed Dec 09, 2015 10:34 pm
- Forum: Support and Development
- Topic: Path following - like on rails
- Replies: 2
- Views: 2011
Re: Path following - like on rails
I solved my problem... there were some rounding errors but yes thank you for the small program it is exactly what I was looking for
Thanks again!
Thanks again!
- Wed Dec 09, 2015 6:53 pm
- Forum: Support and Development
- Topic: Path following - like on rails
- Replies: 2
- Views: 2011
Path following - like on rails
HI all, I'm new here and new in game development. I'm looking for a way to make shapes (objects) follow a curved path and turn at the same time. To make it more simple, I have a square grid with defined nodes. I already implemented the code that makes the object follow waypoints but they cannot turn...