Search found 11 matches

by Teo434
Tue Mar 09, 2021 5:03 pm
Forum: Libraries and Tools
Topic: Steamworks FFI
Replies: 46
Views: 73990

Re: Steamworks FFI

Thank you! It seems as if reinstalling both the ffi and the sdk did the trick. And also, I'm now getting this error wich I also had gotten testing it on windows: Error: main.lua:89: attempt to concatenate upvalue 'totalugc' (a table value) stack traceback: [string "boot.lua"]:777: in funct...
by Teo434
Tue Mar 09, 2021 3:47 pm
Forum: Libraries and Tools
Topic: Steamworks FFI
Replies: 46
Views: 73990

Re: Steamworks FFI

I'm going to try that, And if it helps, the error is trying to load the libsteam_api.so in the completely wrong place, "(user)/snap/love/26/.steam/sdk/libsteam_api.so"
by Teo434
Mon Mar 08, 2021 1:07 am
Forum: Libraries and Tools
Topic: Steamworks FFI
Replies: 46
Views: 73990

Re: Steamworks FFI

Hello! I've been trying out this framework on windows and it works perfectly fine, however, when I tried to use it on linux (on 2 different computers and os's) I keep getting this error: Your Steam client doesn't have a connection to the back-end Looking a bit deeper into the errors reveals that [S_...
by Teo434
Sun Feb 21, 2021 10:37 pm
Forum: Support and Development
Topic: AABB Collision help?
Replies: 8
Views: 5001

Re: AABB Collision help?

Yeah, I noticed that in a reply avobe, I've fixed that now
by Teo434
Sun Feb 21, 2021 7:22 pm
Forum: Support and Development
Topic: AABB Collision help?
Replies: 8
Views: 5001

Re: AABB Collision help?

Here's the code: if (px1 < bx2) and (px2 > bx1) and (py1 < by2) and (py2 > by1) then if dir == "left" then p.pos.x = bx2 end if dir == "right" then p.pos.x = bx1 end if dir == "up" then p.pos.y = by2 end if dir == "down" then p.pos.y = by1 end end "dir&qu...
by Teo434
Sun Feb 21, 2021 6:52 pm
Forum: Support and Development
Topic: AABB Collision help?
Replies: 8
Views: 5001

Re: AABB Collision help?

Sorry for the late response, I've tweaked some values and now it prints propperly, however the moving part dosen't seem to be working.

I am unable to provide the code right now, will do in a bit
by Teo434
Sun Feb 21, 2021 3:52 am
Forum: Support and Development
Topic: AABB Collision help?
Replies: 8
Views: 5001

Re: AABB Collision help?

PRINT those values to console and if necessary, for debugging purposes, spilt that IF statement into two and check which one is failing. Hello! sorry for the late response. The values return "true false true false" even on solids EDIT: I've also realized I'm mutliplying bx2 and by2 by til...
by Teo434
Sun Feb 21, 2021 2:03 am
Forum: Support and Development
Topic: Help with GUI
Replies: 21
Views: 14819

Re: Help with GUI

Edit: whoops, didn't read page 2, seems like you've got this working, I'm gonna leave here in case someone else wants it: I might be understanding this wrong, but if you're asking how to make UI in general, this is the way to go UI is a tricky thing to do, but pretty fun once you understand what to ...
by Teo434
Sun Feb 21, 2021 1:38 am
Forum: Support and Development
Topic: AABB Collision help?
Replies: 8
Views: 5001

AABB Collision help?

So collision is something I've struggled on since I started coding in love, now for the jam, I (at this point, surprisingly :roll:) can't seem to get it. I've looked online for help, but most of them either: Tell the user to use bump.lua, or just outright don't work for me. The code that checks the ...
by Teo434
Tue Feb 02, 2021 8:13 pm
Forum: Support and Development
Topic: How to attach console on Linux Ubuntu?
Replies: 7
Views: 5694

Re: How to attach console on Linux Ubuntu?

Linux Ubuntu So, i know, on Windows you can use conf.lua or --console, but how to do something like this on Ubuntu? There's unfortunately no way to do this. :( However, there are 2 solutions to still see the console! ^^ 1. Running from the terminal. You can open a terminal in the folder avobe where...