Search found 7 matches

by Simon6689
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\\"....
by Simon6689
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?
by Simon6689
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.
by Simon6689
Thu Jan 09, 2014 6:13 am
Forum: Support and Development
Topic: Joints and crashes
Replies: 6
Views: 2512

Re: Joints and crashes

slime wrote:What did you fix to get it to stop crashing?
Instead of actually deleting the object, I am now doing

Code: Select all

objects[k].body:setActive(false)
objects[k].draw = nil
to make it invisible and disable it from colliding.

After that, the joints quietly disable themselves.
by Simon6689
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
by Simon6689
Thu Jan 09, 2014 3:01 am
Forum: Support and Development
Topic: Joints and crashes
Replies: 6
Views: 2512

Re: Joints and crashes

hello?

Also, can you guys vote on some images for my game?
http://strawpoll.me/992861
by Simon6689
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...