collision detection (for jump in a platformer game)

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
L'1ka
Prole
Posts: 1
Joined: Sat Jun 27, 2020 3:59 pm

collision detection (for jump in a platformer game)

Post by L'1ka »

Hi,
i have an issue with the jump in my game:
i want the player to be able to jump when colliding with something (can jump on block / ground ) but not when in the sky (to prevent double jump / fly)
thank you for your(maybe :ehem: ) help
issue.love
code
(7.04 KiB) Downloaded 389 times
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 6 guests