A fast-moving typhoon barreled across the central Philippines Monday after slamming ashore overnight from the Pacific, leaving at least two people dead, setting off flash floods that trapped residents on roofs and submerged cars in two villages, and displacing tens of thousands of people, officials said.

Typhoon Kalmaegi was blowing over the city of Bacolod in central Negros Occidental province before noon with sustained winds of up to 140 kilometers (87 miles) per hour and gusts of up to 195 kph (121 mph) after making landfall around midnight in the town of Silago in the eastern province of Southern Leyte.

An elderly villager drowned in floodwaters in Southern Leyte, where a provincewide power outage was also reported, and another villager died after being hit by a fallen tree in central Bohol province, officials said in initial reports without providing other details.

In Eastern Samar, one of the east-central provinces first lashed by Kalmaegi early Tuesday, fierce wind either ripped off roofs or damaged about 300 mostly rural shanties on the island community of Homonhon, which is part of the town of Guiuan, but there were no reported deaths or injuries, Mayor Annaliza Gonzales Kwan said.

In November 2013, Typhoon Haiyan, one of the most powerful tropical cyclones on record, slammed ashore into Guiuan then raked across the central Philippines, leaving more than 7,300 people dead or missing, flattening entire villages and sweeping scores of ships inland. Haiyan demolished about a million houses and displaced more than 4 million people in one of the country’s poorest regions.

Kalmaegi, the 20th tropical cyclone to batter the Philippines this year, was moving westward at 25 kph (16 mph) and was forecast to start shifting away from the western section of the archipelago into the South China Sea later Tuesday or early Wednesday, forecasters said.

AP video shot by Jaqueline Hernandez