How would I fix that?
Search found 10 matches
- Fri Nov 29, 2019 4:57 am
- Forum: Support and Development
- Topic: 2 gamepad issue
- Replies: 5
- Views: 6135
- Thu Nov 28, 2019 9:25 pm
- Forum: Support and Development
- Topic: 2 gamepad issue
- Replies: 5
- Views: 6135
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...
- Tue Nov 26, 2019 10:40 pm
- Forum: Support and Development
- Topic: Controller not recognized as gamepad
- Replies: 1
- Views: 2077
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!
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!
- Fri Jan 11, 2019 8:46 pm
- Forum: Support and Development
- Topic: Coding friction without love.physics
- Replies: 1
- Views: 1814
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...
- Sat Jan 05, 2019 7:23 am
- Forum: Support and Development
- Topic: Text in front of Geometry
- Replies: 2
- Views: 2355
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
And again, thank for the advice on the font, I love efficiency so that helps!
Thank you again
- Thu Jan 03, 2019 3:18 am
- Forum: General
- Topic: Codding player death
- Replies: 9
- Views: 6802
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!
- Thu Jan 03, 2019 3:07 am
- Forum: Support and Development
- Topic: Text in front of Geometry
- Replies: 2
- Views: 2355
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...
- Thu Jan 03, 2019 12:00 am
- Forum: General
- Topic: Codding player death
- Replies: 9
- Views: 6802
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
Here it is: https://www.dropbox.com/s/lgccz3c2rvpfg ... e.rar?dl=0
- Wed Jan 02, 2019 6:57 pm
- Forum: General
- Topic: Codding player death
- Replies: 9
- Views: 6802
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...
- Mon Dec 31, 2018 7:21 pm
- Forum: General
- Topic: Codding player death
- Replies: 9
- Views: 6802
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...