I managed to do it by setting solid objects and making them bounce. What I’m not doing very well is getting the random enemies to appear correctly (although they are being produced), they don’t enter the screen properly despite forcing them to move towards the center. Some do, others go in random directions. Could it be because of the solid objects? The enemy is created in the top left and right, off-screen.