Search found 2 matches

by snibo
Sat May 04, 2024 8:19 pm
Forum: Support and Development
Topic: Bottons activating when I maintain them on touchscreen
Replies: 3
Views: 784

Re: Bottons activating when I maintain them on touchscreen

Yeah but if I do that I would be able to maintain the jump button and have some sort of auto jump and I don't want that
by snibo
Sat May 04, 2024 7:25 am
Forum: Support and Development
Topic: Bottons activating when I maintain them on touchscreen
Replies: 3
Views: 784

Bottons activating when I maintain them on touchscreen

I am making a platformer that has mobile touch controls and the way that I made the jump button is in the touchpressed function I check if any button is pressed and then I check if a specific button is pressed like so function love.touchpressed( id, x, y, dx, dy, pressure ) paddy.update() -- this ch...