I need help with a enemy spawner.
I want to create a game like 'Aaaw... Spikey no Likey!!!' (http://gyazo.com/c26fb27f72a51ef94a498e32e6d64e7b) I have created the simple steps like the character moving from each side of the wall but im having troubles with the spikes spawning in, everytime i try my code to spawn in the spikes they eventually spawn at the same time
I want to spawn the left side of spikes at Coordinates X: 80 and Y:557
I want to spawn the right side of spikes at Coordinates X: 240 and Y:557
This is my code i using at the moment for both spawners.
Left spawner: http://gyazo.com/e666c7c9e540e0579ec3cca72fb22627
Right spawner: http://gyazo.com/22e829cdbe461e2756e8ebc5a8597d59
Can anyone help?
(after i want to make the game to start going faster so it becomes harder)