Search found 613 matches

by BrotSagtMist
Wed Nov 15, 2023 6:05 pm
Forum: Games and Creations
Topic: Medieval Zombie Dungeon Crawler
Replies: 12
Views: 77740

Re: Medieval Zombie Dungeon Crawler

which AI model is helping you to make this? joke joke joke! :crazy: Its funny to see these questions constantly pop up as if people lack the imagination to even think of that stuff can work without requiring a ton libs and parental assist. Anyway i gave it another shot and now managed to reach some ...
by BrotSagtMist
Wed Nov 15, 2023 5:32 pm
Forum: Support and Development
Topic: punch animation - keypressed, keyreleased
Replies: 9
Views: 3377

Re: punch animation - keypressed, keyreleased

love.keypressed( key, scancode, isrepeat ) Is the definition of that function. You can not just left values out. You should read up on how to actually call a function and pass arguments. I also see zero reason why anyone would need to dabble with repeats for controlling stuff on the screen. There is...
by BrotSagtMist
Tue Nov 14, 2023 3:52 pm
Forum: General
Topic: Wanted to show off 9 seconds
Replies: 2
Views: 3663

Re: Wanted to show off 9 seconds

Image
by BrotSagtMist
Tue Nov 14, 2023 3:42 pm
Forum: Libraries and Tools
Topic: cindy - [0-255] color range in LÖVE 11
Replies: 12
Views: 16423

Re: cindy - [0-255] color range in LÖVE 11

Gosh again, not every pixel has a range of 255.
But more importantly using percentages is great.
Yall should get your head checked for wanting integers.
by BrotSagtMist
Sun Nov 05, 2023 3:17 pm
Forum: Libraries and Tools
Topic: cindy - [0-255] color range in LÖVE 11
Replies: 12
Views: 16423

Re: cindy - [0-255] color range in LÖVE 11

The benefit is that you are not restricted to 8bit values.
by BrotSagtMist
Sun Nov 05, 2023 1:12 pm
Forum: Support and Development
Topic: [solved] why does love.filesystem.getInfo return nil on a file that is definitely there?
Replies: 6
Views: 2302

Re: why does love.filesystem.getInfo return nil on a file that is definitely there?

Löve was not made for users to deal with files manually.
If you want to defeat the two folders seen as one structure by using relative paths you will just end up with the worst mess of code.

A far easier solution is to simply not use the same name or place for the file.
by BrotSagtMist
Tue Oct 31, 2023 12:31 pm
Forum: Games and Creations
Topic: I published my first game with Love2d - Fire at Will (with source code)
Replies: 11
Views: 10074

Re: My first game with Love2d: Fire at Will

Linking to a store page where you charge 50 bucks for a _game_ that basically is a fancy copy of a how to detect clicks tutorial.
Is this a spambot again?
by BrotSagtMist
Sat Oct 21, 2023 9:20 am
Forum: Support and Development
Topic: [SOLVED] Attack system based on DT
Replies: 5
Views: 6711

Re: [SOLVED] Attack system based on DT

Note that you are reassigning enemy.timer new 60 times per second per enemy. Thats a bit of a cpu waster.
I would rather change it to something like
enemy.timer = Time+ enemy:getAttackSpeed()
So time is only updated if its actually been used.
by BrotSagtMist
Fri Oct 20, 2023 4:30 am
Forum: Support and Development
Topic: How do I make a value absolute?
Replies: 5
Views: 2985

Re: How do I make a value absolute?

I was about too say this looks easy but the longer i look at it the less i understand. Honestly, start from scratch. You simply dont have to deal with signs at all. The position is composed of currentpos+ accellerate*dt. And accelerate=(accelerate -leftbutton +rightbutton) * resistance (That is, a f...
by BrotSagtMist
Fri Oct 20, 2023 1:19 am
Forum: Support and Development
Topic: How do I make a value absolute?
Replies: 5
Views: 2985

Re: How do I make a value absolute?

Oh i read this as obsolete. My bad.