Sean-Nishi / M1Wengine

A action-adventure game developed with Python 3.11.1 and pygame. Complete missions before timer expires.
3 stars 0 forks source link

Stop neutral sprite when hint pop-up triggers #403

Open Sean-Nishi opened 7 months ago

Sean-Nishi commented 7 months ago

Currently, when a neutral sprite (Postman) collides with a player, only a hint pop-up appears on the screen. Change so that in addition to the pop-up, stop neutral sprite and have it face towards the player for a set period of time (for how long the hint is on the screen).

Modify neutral_collided_with_player

Useful methods: neutral_collided_with_player set_target_sprite_from_list default_movement or tracking_movement is_timer_finished collided_with_player