Check out deadeyes platform school it will answer alot of questions about this kind of stuff and shoy you how to do it.
There is not path object but it is explained in the tut i mentioned above.
also you can check collisions by comparing the positions but your better off making 2 separate object and checking collisions on the spike object. Or if you have to use one object for the spikes and platform make an invisible sprite and check collisions on that for spikes.