Hey, making a portal like game. Have a rough template made so far.
left mouse shoots first portal, right mouse second
touch first and spawn on second.
Just the portals i want them to spawn flush with the walls..or maybe a few millimeters out, but currently they spawn completely random
uploaded the game to my server here to see what i mean
http://game.reconone.info/tank/index.html
First settings used were http://game.reconone.info/files/settings.jpg
the capx for what i currently have is on dropbox
https://dl.dropboxusercontent.com/u/146 ... 0tank.capx
Ive tried a few different options in the spawn list after bullet hits the wall.
Not sure if it would be best to have on one wall 5 smaller sections, and try to get each "portal" when it hits it to overlap? or if there is a way to format it to spawn directly with the x and y values
I know it needs a function to check if the second portal is spawned before entering first as it destroys the player, working on that so no worries
Thanks guys, love this program
EDIT 3-6-2014
Found out a way that works pretty well for me...anyone think of a cleaner way to do it? This is working for me now, so i can just add new levels as the portals are working how i want. Just need to now make a character instead of the tank, then make prettier backgrounds then mspaint hah
http://game.reconone.info/files/settings%20bullets.png
game with two quick levels so far
http://game.reconone.info/tank/index.html