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

Allow patrol to go side+side/ up+down/ random direction #322

Open owalk opened 10 months ago

owalk commented 10 months ago

Choose randomly whether to patrol side to side or up and down.

Implement the up and down patrol. Enable option to randomly select side to side or up and down Enable option to choose patrol pattern

Sean-Nishi commented 10 months ago

Add this to NPC's init(). Use profile and frontal images when reading from a csv map to determine which direction the NPC is initially facing. Components: edit tile set to include 2 additional images per entity. Skeleton, Minotaur, and Damsel (6 total) Facing up sprite means set patrol to up/down in init() 3 methods: