Search found 57 matches

by ilovelove2019
Wed Oct 16, 2019 1:14 pm
Forum: Support and Development
Topic: Keyboard Management Problem in Love2d
Replies: 2
Views: 141

Re: Keyboard Management Problem in Love2d

Oh thank you! It works!
by ilovelove2019
Wed Oct 16, 2019 5:25 am
Forum: Support and Development
Topic: Keyboard Management Problem in Love2d
Replies: 2
Views: 141

Keyboard Management Problem in Love2d

Hello eveyone. Let's go to the main problem. I'm making a platform game, and I'm making player movement. Now, he can double jump. And the problem begin here. When I hold the button up, my character is like just jumping higher, it's not clear between two jumps. Algorithm is fine. The problem is that ...
by ilovelove2019
Sat Oct 12, 2019 12:04 pm
Forum: Support and Development
Topic: How to make basic AI?
Replies: 8
Views: 237

Re: How to make basic AI?

Check out this link: https://docs.w3cub.com/love/mousejoint/. Do game developers with love2d have to learn all these commands as a minimum requirement to be able to create good enough games? You're supposed to look into what a MouseJoint does. Once you understand it, you're supposed to learn the fu...
by ilovelove2019
Sat Oct 12, 2019 12:03 pm
Forum: Support and Development
Topic: How to make basic AI?
Replies: 8
Views: 237

Re: How to make basic AI?

Check out this link: https://docs.w3cub.com/love/mousejoint/. Do game developers with love2d have to learn all these commands as a minimum requirement to be able to create good enough games? Depends on what your definition of good enough would be. One could make a game without ever using love.physi...
by ilovelove2019
Sat Oct 12, 2019 10:32 am
Forum: Support and Development
Topic: How to make basic AI?
Replies: 8
Views: 237

Re: How to make basic AI?

Check out this link: https://docs.w3cub.com/love/mousejoint/. Do game developers with love2d have to learn all these commands as a minimum requirement to be able to create good enough games?
by ilovelove2019
Sat Oct 12, 2019 10:25 am
Forum: Support and Development
Topic: How to make basic AI?
Replies: 8
Views: 237

Re: How to make basic AI?

You're using integer coordinates and comparing the position with the exact integer value of the target. When two ghosts collide, the position becomes noninteger, and then the result will never be equal to the target. Oh! You really professional! That is really the cause of my problem. Can you speci...
by ilovelove2019
Fri Oct 11, 2019 10:38 pm
Forum: Support and Development
Topic: How to make basic AI?
Replies: 8
Views: 237

Re: How to make basic AI?

Please take a look at my file. In ghost.lua, I have only tested the enemy's free movement so I have not written the code for the part (if self.state == "chasing"), but it is not relevant. The problem I am facing right now is the free movement of the enemy. Please be patient, this error will take som...
by ilovelove2019
Fri Oct 11, 2019 10:33 pm
Forum: Support and Development
Topic: How to make basic AI?
Replies: 8
Views: 237

How to make basic AI?

Hello everyone. Let's go to the main problem. I try to create an AI enemy for my game. I want them to move freely around a certain range. When the player gets close enough, they will chase the player. When the player runs far enough, the enemy will return to their original position and continue movi...
by ilovelove2019
Mon Oct 07, 2019 12:53 pm
Forum: Support and Development
Topic: The big problem with loops running at the same time, about destroying objects and asking about how loops work
Replies: 21
Views: 1259

Re: The big problem with loops running at the same time, about destroying objects and asking about how loops work

Oh. I was try it before making this topic. It make enemy undead! I don't know why. What do you mean by undead? The frog was destroyed and deleted from the array. It can't possibly come back. I mean if I use guard. When I threw the cherry bombs at the frogs, they didn't take any damage. The code aft...