HT Jugadores

Implementar salto en GameMaker con GML

Un buen salto necesita coyote time, jump buffer, altura variable y colisión precisa.

Elementos clave

  • Variables de velocidad horizontal y vertical.
  • Gravedad y velocidad terminal.
  • Permitir salto justo tras dejar el borde.
  • Registrar pulsación anticipada de salto.
  • Cortar el salto al soltar el botón.
  • Detectar colisiones píxel a píxel.

Ajusta gravedad, fuerza y frames para lograr sensación Celeste o Hollow Knight.


https://es.htfbw.com © HT Jugadores