Search found 12 matches

by Harrylechienfou
Thu Jul 25, 2019 2:19 pm
Forum: Support and Development
Topic: How to print text that isn't affected by the camera.scale ?
Replies: 12
Views: 3386

Re: How to print text that isn't affected by the camera.scale ?

Thanks for the answers but I still don't understand exactly how to do such a thing :/
by Harrylechienfou
Tue Jul 09, 2019 5:19 pm
Forum: Support and Development
Topic: How to print text that isn't affected by the camera.scale ?
Replies: 12
Views: 3386

Re: How to print text that isn't affected by the camera.scale ?

I have another question since were're here : what if I want to use the current mouse position to be the center of the screen when I zoom in/out ? Like for example I put the mouse somewhere on the screen when there is a red dot drawn, and because the mouse is wher the red dot is, it will zoom in/out ...
by Harrylechienfou
Tue Jul 09, 2019 4:12 pm
Forum: Support and Development
Topic: How to print text that isn't affected by the camera.scale ?
Replies: 12
Views: 3386

Re: How to print text that isn't affected by the camera.scale ?

Ok thanks for the help everybody. I knew I had to change the camera.x and camera.y settings to include the camera.scale in the formula, but I did not do it the right way. Now it seems to be fixed.
You were very helpfull, thanks a lot.
by Harrylechienfou
Mon Jul 08, 2019 6:40 pm
Forum: Support and Development
Topic: How to print text that isn't affected by the camera.scale ?
Replies: 12
Views: 3386

Re: How to print text that isn't affected by the camera.scale ?

Oh I think I understand sorry. I guess I have to do a camera:unset() before I print all the texts ?
But what about the second problem ?
by Harrylechienfou
Mon Jul 08, 2019 6:37 pm
Forum: Support and Development
Topic: How to print text that isn't affected by the camera.scale ?
Replies: 12
Views: 3386

Re: How to print text that isn't affected by the camera.scale ?

What do you mean by that and how do I do that ? I'm sorry I'm sure it's a silly question but I'm a begginer :/
by Harrylechienfou
Mon Jul 08, 2019 6:08 pm
Forum: Support and Development
Topic: How to print text that isn't affected by the camera.scale ?
Replies: 12
Views: 3386

How to print text that isn't affected by the camera.scale ?

Hi ! I use, for the first time in one of my projects, the camera module available here : https://ebens.me/post/cameras-in-love2d-part-1-the-basics/ and I'm very happy with it so far. The only problem is that I don't know how to print or draw something on the screen that is not affected by the camera...
by Harrylechienfou
Sat Jun 15, 2019 11:05 pm
Forum: Support and Development
Topic: What are the names of RT/LT/RB/LB buttons for Love 2D ?
Replies: 4
Views: 2468

Re: What are the names of RT/LT/RB/LB buttons for Love 2D ?

Thanks ! Everything is working fine with a 360 controller, but not with an arcade stick for some reason. What is weird is that the stick is detected but it doesn't seems to be working anyway. Does the code need some kind of mapping ?
by Harrylechienfou
Sat Jun 15, 2019 5:25 pm
Forum: Support and Development
Topic: What are the names of RT/LT/RB/LB buttons for Love 2D ?
Replies: 4
Views: 2468

What are the names of RT/LT/RB/LB buttons for Love 2D ?

Hi, I want to use the joystick API of Love2D, but I don't know what is supposed to be the name of the RT/LT/RB/LB buttons (like, for example the name for the right arrow of the joystick is "dpright"). I want to use the function isGamepadDown. Does anyone knows ? Is there some kind of list available ...