Search found 47 matches

by JJSax
Thu Nov 18, 2021 5:51 am
Forum: Support and Development
Topic: Monitor/GPU crash after load.
Replies: 4
Views: 4727

Re: Monitor/GPU crash after load.

It turns out that my love.exe that I had on my desktop went to 11.2 love2d and it was having the same issue. Interesting. After I shut the computer down for a full night I haven't had this happen this time. Nothing has changed and this isn't the first time I'm restarted/shut down while this has happ...
by JJSax
Tue Nov 16, 2021 12:00 am
Forum: Support and Development
Topic: Monitor/GPU crash after load.
Replies: 4
Views: 4727

Re: Monitor/GPU crash after load.

Is that AMD or NVIDIA?(Or maybe even intel?) what exactly gpu you use? does that happens with other games/programs? Does that happens with games made with older love version?(if you have one, for example, kingdom rush 2-3) If that amd, then this is default behavior for amd gpu's on windows, lol Goo...
by JJSax
Mon Nov 15, 2021 11:01 pm
Forum: Support and Development
Topic: Monitor/GPU crash after load.
Replies: 4
Views: 4727

Monitor/GPU crash after load.

I'm not totally sure what is going on, but I'm pretty sure this started happening after a graphic driver update. This only happens when building a love2d game, and I haven't experienced it elsewhere. It doesn't matter what code I run, about 10 - 20% of the time I hear the windows "disconnect&qu...
by JJSax
Wed May 12, 2021 4:59 am
Forum: Support and Development
Topic: Help with starting
Replies: 4
Views: 6673

Re: Help with starting

To expand upon ReFreezed's response, You'll want to make a new folder and put a file called main.lua inside it. -- main.lua function love.load() -- set up your initial variables here. Love2d will call this for you. No need to call it yourself. x = 0 y = 0 end function love.update(dt) -- dt stands fo...
by JJSax
Tue May 11, 2021 8:07 pm
Forum: Support and Development
Topic: Any sneaky way to draw an elliptical arc?
Replies: 2
Views: 6193

Re: Any sneaky way to draw an elliptical arc?

pgimeno wrote: Tue May 11, 2021 7:21 pm The obvious answer is to use trigonometry, but note that angles get deformed and don't work as one expects.
That's fair. I just didn't know if there was anything pre-built in Love2d that I could use. Thanks for the help!
by JJSax
Tue May 11, 2021 6:30 pm
Forum: Support and Development
Topic: Any sneaky way to draw an elliptical arc?
Replies: 2
Views: 6193

Any sneaky way to draw an elliptical arc?

I am trying to challenge myself to make a circle/ellipse be a series of arcs so it doesn't draw anything outside of an area. (like the screen for example) I'm noticing that the love.graphics.arc doesn't have an x/y radius option. I could probably use a stencil, but that probably wouldn't help it be ...
by JJSax
Mon Oct 26, 2020 10:16 pm
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
Replies: 218
Views: 516197

Re: Groverburger's 3D Engine (G3D) New and Improved!

Thanks for the tool! I used ss3d to create my solar system scale, I'm excited that the project isn't dead! Great work!

If you're interested in what you made possible: https://youtu.be/c_zMSnKyZc8
by JJSax
Mon Jul 06, 2020 4:05 am
Forum: Support and Development
Topic: math.clamp?
Replies: 18
Views: 34380

Re: math.clamp?

Nixola wrote: Mon Apr 27, 2015 6:58 pm Maybe he was searching, noticed this and didn't notice the topic was so old
EDIT: why don't we turn this topic into a list of original and weird ways to write math.clamp?
* actively resists the urge to post an obnoxiously long, highly overcomplicated, Rube Goldberg like method to clamp numbers.
by JJSax
Mon Jul 06, 2020 4:00 am
Forum: Support and Development
Topic: Rectangle/Character Movement: How it works under the hood?
Replies: 7
Views: 6349

Re: Rectangle/Character Movement: How it works under the hood?

thank you for the answers. I guess I understood, but still when I remove *dt from the expression, rect moves smoothly to the desired position. In this case how do I make the rect instantly jump to another position? Like rectY + 500 and stop there? Is there any other key method I need to use for it?...
by JJSax
Wed Jul 01, 2020 11:32 pm
Forum: Support and Development
Topic: Rectangle/Character Movement: How it works under the hood?
Replies: 7
Views: 6349

Re: Rectangle/Character Movement: How it works under the hood?

Hello, welcome to the world of Love2d game dev! dt stands for delta time . Essentially it is used to move everything more reliable over a period of time, despite if your computer is being laggy at the moment or not. It adjusts for how long it takes a frame to pass. speed = 50 -- the number of pixels...