Search found 7 matches
- Mon Jan 20, 2014 6:05 am
- Forum: Support and Development
- Topic: Help with require()
- Replies: 8
- Views: 3354
Re: Help with require()
It's not just two times, I need something that would re-run the file several times. I have also tried using loadfile "name.lua" but that only works if I paste in the absolute path of main.lua's directory like: loadfile("C:\\Users\\Simon\\Documents\\GitHub\\Game\\Game\\objects\\"....
- Mon Jan 20, 2014 5:28 am
- Forum: Support and Development
- Topic: Help with require()
- Replies: 8
- Views: 3354
Re: Help with require()
I need some help with require() too.
How do you require something twice?
How do you require something twice?
- Thu Jan 09, 2014 3:29 pm
- Forum: Support and Development
- Topic: Joints and crashes
- Replies: 6
- Views: 2512
Re: Joints and crashes
This is for a school project, bunny 1 was voted out, so we are going with the more normal looking one.
- Thu Jan 09, 2014 6:13 am
- Forum: Support and Development
- Topic: Joints and crashes
- Replies: 6
- Views: 2512
Re: Joints and crashes
Instead of actually deleting the object, I am now doingslime wrote:What did you fix to get it to stop crashing?
Code: Select all
objects[k].body:setActive(false)
objects[k].draw = nil
After that, the joints quietly disable themselves.
- Thu Jan 09, 2014 4:35 am
- Forum: Support and Development
- Topic: Joints and crashes
- Replies: 6
- Views: 2512
Re: Joints and crashes
Nevermind, fixed it
- Thu Jan 09, 2014 3:01 am
- Forum: Support and Development
- Topic: Joints and crashes
- Replies: 6
- Views: 2512
- Tue Jan 07, 2014 1:16 am
- Forum: Support and Development
- Topic: Joints and crashes
- Replies: 6
- Views: 2512
Joints and crashes
Whenever I try to delete a physics object I have, it worked fine and it deletes, but if the physics object has a mouse joint attached, it errors because the mouse joint was accessed, but it was destroyed and I have no way to check if it is destroyed or not. Furthermore, when I destroy an object with...