Search found 10 matches

by Pardaleco
Fri Nov 29, 2019 4:57 am
Forum: Support and Development
Topic: 2 gamepad issue
Replies: 5
Views: 2458

Re: 2 gamepad issue

raidho36 wrote:
Thu Nov 28, 2019 11:08 pm
That's probably because your gamepad "1" appears as 2nd when two of them are connected.
How would I fix that?
by Pardaleco
Thu Nov 28, 2019 9:25 pm
Forum: Support and Development
Topic: 2 gamepad issue
Replies: 5
Views: 2458

2 gamepad issue

I am having an issue while trying to use 2 gamepads for my local multiplayer game (2 players). Only 1 controller works fine, everything works as it should, but when I connect my 2nd controller it just doesn't work. It is recognized and it is a gamepad but none of its inputs work. Am I doing somethin...
by Pardaleco
Tue Nov 26, 2019 10:40 pm
Forum: Support and Development
Topic: Controller not recognized as gamepad
Replies: 1
Views: 921

Controller not recognized as gamepad

I am trying to connect a controller for my game but apparently it is not being recognized as a gamepad.
When I print Joystick:isGamepad() it returns false.

Any clues why this happens?

I am using a gioteck ps3 controller.

Please help,
Thanks in advance!
by Pardaleco
Fri Jan 11, 2019 8:46 pm
Forum: Support and Development
Topic: Coding friction without love.physics
Replies: 1
Views: 614

Coding friction without love.physics

Hello everyone! In my code for friction, there's is a small issue that I'm not sure how to fix efficiently. It does what it is supposed to do, it creates a force with a given magnitude and opposite direction to the motion. The problem is that when my player starts decelerating and the velocity is ve...
by Pardaleco
Sat Jan 05, 2019 7:23 am
Forum: Support and Development
Topic: Text in front of Geometry
Replies: 2
Views: 726

Re: Text in front of Geometry

Thank you zorg! It was really that simple :s!

And again, thank for the advice on the font, I love efficiency so that helps!
Thank you again
by Pardaleco
Thu Jan 03, 2019 3:18 am
Forum: General
Topic: Codding player death
Replies: 9
Views: 2299

Re: Codding player death

Thank you for the reply! by reading your reply something in my head clicked and I was able to fix the issue in another way! I was being silly and not thinking correctly!
by Pardaleco
Thu Jan 03, 2019 3:07 am
Forum: Support and Development
Topic: Text in front of Geometry
Replies: 2
Views: 726

Text in front of Geometry

Is there a way for me to get some text using love.graphics.print in front of rectangles created by love.graphics.rectangle ?? Example I created some recangles using world = {} function CreateObject(x, y, w, h) return {position = vector2.new(x, y), size = vector2.new(w, h)} end function LoadWorld() w...
by Pardaleco
Thu Jan 03, 2019 12:00 am
Forum: General
Topic: Codding player death
Replies: 9
Views: 2299

Re: Codding player death

I'm sorry, i'll put a link to my dropbox then with all the files.

Here it is: https://www.dropbox.com/s/lgccz3c2rvpfg ... e.rar?dl=0
by Pardaleco
Wed Jan 02, 2019 6:57 pm
Forum: General
Topic: Codding player death
Replies: 9
Views: 2299

Re: Codding player death

Thanks everyone for the replies! I will post more code like asked In this next piece of code everyting player related is coded. -- everything player related player = { position = vector2.new(100, 800-(304+65)), velocity = vector2.new(0, 0), width = 30, height = 65, maxspeed= vector2.new(400, 800), f...
by Pardaleco
Mon Dec 31, 2018 7:21 pm
Forum: General
Topic: Codding player death
Replies: 9
Views: 2299

Codding player death

Hello everyone! I'm having trouble finding a way to create an effective death for the player. When I collide with an enemy (Collision_with_enemy == true) I want everything to stop it's movement and display Game Over in the middle of the window. The printing of game over I got working, the collisions...