Search found 15 matches

by ThatBoiNavy
Fri Aug 23, 2024 2:08 pm
Forum: Libraries and Tools
Topic: Breezefield: a lightweight windfield alternative (love.physics wrapper)
Replies: 19
Views: 95757

Re: Breezefield: a lightweight windfield alternative (love.physics wrapper)

I call it like this:
british.collider = world:newCollider('Rectangle', {british.x, british.y, 50, 39, 5})
british.collider:setFixedRotation(true)
by ThatBoiNavy
Thu Aug 08, 2024 11:11 pm
Forum: Libraries and Tools
Topic: Breezefield: a lightweight windfield alternative (love.physics wrapper)
Replies: 19
Views: 95757

Re: Breezefield: a lightweight windfield alternative (love.physics wrapper)

I think I might have found an error in world.lua... at line 299 it says "attempted to call method "upper" (a nil value). Im not sure if anyone else is having this problem as right now it is breaking my game.
by ThatBoiNavy
Mon Jul 29, 2024 10:08 pm
Forum: Support and Development
Topic: Error that says I need a library I deleted along with the require code
Replies: 5
Views: 6147

Re: Error that says I need a library I deleted along with the require code

slime wrote: Sat Jul 27, 2024 3:55 am It sounds like you didn't save your file, maybe? Or you're running a different main.lua than you're editing?
This worked but now im have the opposite issue... I added a new file and hooked it up to the code and put it in the correct spot. I have saved several times but no luck.
by ThatBoiNavy
Sat Jul 27, 2024 2:49 am
Forum: Support and Development
Topic: Error that says I need a library I deleted along with the require code
Replies: 5
Views: 6147

Re: Error that says I need a library I deleted along with the require code

slime wrote: Fri Jul 26, 2024 9:14 pm The error says line 5 of your main.lua is trying to load windfield.
My line 5 is -- Declare open source code above this line /\
by ThatBoiNavy
Fri Jul 26, 2024 8:54 pm
Forum: Support and Development
Topic: Error that says I need a library I deleted along with the require code
Replies: 5
Views: 6147

Error that says I need a library I deleted along with the require code

I am switching from the library windfield to breezefield and the error says: Error main.lua:5: module "libraries/windfield' not found: no field package.preloadI'libraries/windfield'] no libraries/windfield' in LOVE game directories. no file 'libraries/windfield' in LOVE paths. no file "/li...
by ThatBoiNavy
Wed Jul 24, 2024 8:18 pm
Forum: Support and Development
Topic: Windfield applyLinearImpulse causes error???
Replies: 4
Views: 3130

Re: Windfield applyLinearImpulse causes error???

dusoft wrote: Wed Jul 24, 2024 4:17 pm Windfield is outdated, the repo was archived in 2021 and unmaintained.

This is a possible replacement or you can use built-in love.physics:
https://github.com/HDictus/breezefield
Thanks I will try breezefield!
by ThatBoiNavy
Wed Jul 24, 2024 3:43 pm
Forum: Support and Development
Topic: Windfield applyLinearImpulse causes error???
Replies: 4
Views: 3130

Windfield applyLinearImpulse causes error???

I am using windfield (which is a popular Love2d physics library) for my game everything about it works except applyLinearImpulse. applyLinearImpulse makes an object move in a direction but also applying gravity and velocity. But for me, when ever I press W(The button that calls applyLinearImpulse) t...
by ThatBoiNavy
Sun Jul 21, 2024 11:37 am
Forum: General
Topic: Can't call table values??
Replies: 12
Views: 8462

Re: Can't call table values??

From the error message it does find something called "anim8" and imports it, but it's not being used properly (it's returning a Boolean, like true or false, not a table or function). My suggestion is to re-download the latest camera.lua and anim8.lua and work on an isolated demo using the...
by ThatBoiNavy
Sat Jul 20, 2024 3:40 am
Forum: General
Topic: Can't call table values??
Replies: 12
Views: 8462

Re: Can't call table values??

I dont think the local module would matter as I haven't used local in the script. Oh, I mean "local module" as in the module you have in your hard drive, which seems to be different than the module over in Replit's servers. Not as in "local vs global". If you can't post the whol...
by ThatBoiNavy
Fri Jul 19, 2024 9:09 pm
Forum: General
Topic: Can't call table values??
Replies: 12
Views: 8462

Re: Can't call table values??

If it wasn't finding camera.lua it'd say such a thing and then print a list of all path combinations that it searched for. So we know that the module is being loaded. So I agree with MrFariator in that the code in the local module is just different than the one in Replit (maybe different versions),...