Search found 78 matches

by ilovelove2019
Thu Oct 24, 2019 12:14 pm
Forum: Support and Development
Topic: [Solved] Querying with a rectangle in Bump library
Replies: 4
Views: 2861

[Solved] Querying with a rectangle in Bump library

Hello everyone! It's me again! Let go to the main problem. I want to make some trees for my game. At first I could only make one tree grow straight, nothing. Then I plan to add leaves. After a while of thinking, I came up with this way. In the tree initialization function, I add the input parameter ...
by ilovelove2019
Wed Oct 16, 2019 1:14 pm
Forum: Support and Development
Topic: Keyboard Management Problem in Love2d
Replies: 2
Views: 2028

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: 2028

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: 4274

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: 4274

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: 4274

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: 4274

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: 4274

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 wil...
by ilovelove2019
Fri Oct 11, 2019 10:33 pm
Forum: Support and Development
Topic: How to make basic AI?
Replies: 8
Views: 4274

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...