The Messenger. A great game made by a Canadian studio, Sabotage.

https://store.steampowered.com/app/764790/The_Messenger/

https://sabotagestudio.com/

other discussions
 

As a demon army besieges his village, a young ninja ventures through a cursed world, to deliver a scroll paramount to his clan’s survival. What begins as a classic action platformer soon unravels into an expansive time-traveling adventure full of thrills, surprises, and humor. GOG Epic Nintendo Xbox Playstation