This Seeking Tech guide will explain how you can beat the Pumpkin Peril level in Astro Bot.
Use the following video as a reference:
To deal with the pumpkin enemies, avoid standing directly in front of them when they shoot.
Try to move side-to-side instead of heading directly toward these pumpkins to avoid getting sniped.
When you reach the platform with the escalator, there is a pumpkin far away. So, you need to quickly move through the spikes. Use your shadow to determine where you will land.
In the next section, wait until the two enemies shoot. Afterwards, rush in to attack the slime. You can then dodge the pumpkin again before defeating it.
For the next portion, you should stand just outside of the ice floor to wait until the enemy starts shooting. You can then press forward to defeat the slime.
When it comes to the rotating platform, try to rush to the first slime to defeat it before it shoots you.
The second slime is trickier. You can wait until it shoots before dodging the spit and defeating it.
For the last section, quickly move side-to-side to dodge the pumpkin. You should hover until the platforms stop rotating.