Pierre Angelo

Generation

generate functionSat, 01 Apr 2023

Crear un controlador de jugador que permita al jugador moverse, saltar y disparar.

void Player::move(int x, int y){ this->x += x; this->y += y; } void Player::jump(){ //Jump animation } void Player::shoot(){ //Shoot animation }

Questions about programming?Chat with your personal AI assistant