Search found 8 matches

by Jomkin
Wed Nov 04, 2020 1:46 am
Forum: Support and Development
Topic: [Solved] Camera zoom between 3 players?
Replies: 2
Views: 4628

Re: Camera zoom between 3 players?

Thank you very much for your time and your help it worked perfectly!
by Jomkin
Mon Nov 02, 2020 10:48 pm
Forum: Support and Development
Topic: [Solved] Camera zoom between 3 players?
Replies: 2
Views: 4628

[Solved] Camera zoom between 3 players?

Hello, how can I make a camera unzoom and zoom between 3 players. Like when the players are going away the camera unzoom, and when they get closer the camera zoom. I have : player1.x = x player1.y = y player2.x = x player2.y = y player3.x = x player3.y = y and for the scale (zoom) and the positions ...
by Jomkin
Thu Aug 27, 2020 9:27 am
Forum: Support and Development
Topic: Collision direction
Replies: 1
Views: 1847

Collision direction

Hello, I want to know if it is possible to dectect the direction of a collision. I'm using love.physics : world:setCallbacks But it only detects if the player is touching another body, not the direction. What I want to do, is to have another animation when the player is touching a wall from the left...
by Jomkin
Thu Jul 16, 2020 11:49 pm
Forum: Support and Development
Topic: How to make a table interact with the same table?
Replies: 4
Views: 3155

Re: How to make a table interact with the same table?

Thank you very much for your time! It helped me a lot!
by Jomkin
Thu Jul 16, 2020 7:14 pm
Forum: Support and Development
Topic: How to make a table interact with the same table?
Replies: 4
Views: 3155

Re: How to make a table interact with the same table?

pgimeno wrote: Thu Jul 16, 2020 6:58 pm How does a style follow another style? I don't understand the question.
When I was talking about following I meaned :

Code: Select all

if monster.x (the blue one) > monster.x (the green one) then
monster.x = monster.x + monster.speed * dt (the green one)
end
by Jomkin
Thu Jul 16, 2020 5:58 pm
Forum: Games and Creations
Topic: Don't learn to code - WesternPunk
Replies: 14
Views: 24926

Re: Don't learn to code - WesternPunk

milon wrote: Wed Jul 15, 2020 2:56 pm That video really made me laugh! :ultrahappy:

Good luck!
Thank you!

By the way I posted another video today :
by Jomkin
Thu Jul 16, 2020 1:36 pm
Forum: Support and Development
Topic: How to make a table interact with the same table?
Replies: 4
Views: 3155

How to make a table interact with the same table?

Hello, I have this table. monsters = {} function newMonster(x,y) monster = {} monster.x = x monster.y = y monster.style = "green" monster.removed = false table.insert(monsters, monster) end How can I interact in the update like if I want to the monster.style "green" to follow the...
by Jomkin
Wed Jul 15, 2020 2:23 am
Forum: Games and Creations
Topic: Don't learn to code - WesternPunk
Replies: 14
Views: 24926

Don't learn to code - WesternPunk

Hello everyone. I am creating a revolutionary game with Love2D, while not knowing what I am doing. I don't really know how to code or make graphics, but I suggest you to follow my project, of which I would regularly post videos. I present to you WesternPunk : PRESENTATION zQdGW6A7RiM I hope this gam...