Nice concept,
just one small thing to improve:
Making a Portal requires now the keys:
X -> arrow -> X
You should cut it down to:
X -> arrow
or better just make it shoot in the direction you are looking after pressing X
I gotcha'!
I made it like this because it was hard to position the player.