Page 2 of 2

Re: Need help creating a specific function

Posted: Sat Jun 18, 2022 2:06 am
by BoonyBuny
keharriso wrote: Sat Jun 18, 2022 12:17 am
BoonyBuny wrote: Sat Jun 18, 2022 12:08 am Thank you for your help, I will try to """""convert"""""" it for my code ! I understand how it works mostly, i'll give updates when things starts to look better than a blue screen :D
No problem! And please do post updates, I love to see what other people are working on. :nyu:

One word of advice: posts asking for help like this one are better off in the Support and Development forum. Just something to keep in mind.
It worked greatly after ~1h30 of tinkering things around and trial and error, and i got exactly what i wanted originally! it seems the "t" isn't really in seconds but i can work with that, it's a no problem and the movement is even more fluid than i thought, here is the webm of the project currently:
2022-06-18 03-54-59.webm
(6.12 MiB) Not downloaded yet
all audio comes from terraria, the player's shot is just a really modified Scar sound form fortnite, all sprites by me (they're goofy on purpose, it's a test-project after all, just trying to get the hang of löve2d)

Re: Need help creating a specific function

Posted: Sat Jun 18, 2022 2:24 pm
by keharriso
That looks great :). Excellent work for a first project in LÖVE. And yes, the lerp function takes a normalized time to 0.0 to 1.0. The duration and elapsed properties of the enemies are in seconds.

Re: Need help creating a specific function

Posted: Sun Jun 19, 2022 1:28 am
by BoonyBuny
I posted my work on the games & creations forum category!