coordinate picker help
I need a levelgen that can pick x number of coordinates out of y number of coordinates, and feed them into the following
Right now I have this.
I'm thinking 20 coordinates are all I need (that isn't set in stone) - I have too many and need a picker
I'm actually not sure how I'll put these coordinates into the level either
bad case scenario I do this
energy1:setPos
bf:addItem(energy1)
energy2:setPos()
bf:addItem(energy2)
energy3:setPos()
bf:addItem(energy3)
energy4:setPos)()
bf:addItem(energy4)
energy5:setPos()
bf:addItem(energy5)
repair1:setPos()
repair2:setPos()
repair3:set... etc
(yeah that would suck)
worst case scenario I just put them in in set places, every time. sure would be easier
Right now I have this.
- Code:
3442.5 1912.5 20
2932.5 2422.5 20
2422.5 2932.5 20
2422.5 2422.5 20
3442.5 2422.5 20
3442.5 2932.5 20
1912.5 1912.5 20
2422.5 1912.5 20
2932.5 1912.5 20
3952.5 1912.5 20
3952.5 2422.5 20
2932.5 2932.5 20
1912.5 2932.5 20
1912.5 2422.5 20
1912.5 3952.5 20
2422.5 3952.5 20
2932.5 3952.5 20
3952.5 2932.5 20
2932.5 1402.5 20
2422.5 1402.5 20
1912.5 892.5 20
2422.5 892.5 20
2932.5 892.5 20
1912.5 1402.5 20
1402.5 2422.5 20
892.5 2422.5 20
892.5 1912.5 20
1402.5 1912.5 20
892.5 2932.5 20
1402.5 2932.5 20
1912.5 382.5 20
2422.5 382.5 20
2932.5 382.5 20
1912.5 4462.5 20
2422.5 4462.5 20
2932.5 4462.5 20
1912.5 4972.5 20
2422.5 4972.5 20
2932.5 4972.5 20
382.5 2422.5 20
382.5 1912.5 20
382.5 2932.5 20
4462.5 2422.5 20
4462.5 1912.5 20
4462.5 2932.5 20
4972.5 2422.5 20
4972.5 1912.5 20
4972.5 2932.5 20
1912.5 3442.5 20
2422.5 3442.5 20
2932.5 3442.5 20
I'm thinking 20 coordinates are all I need (that isn't set in stone) - I have too many and need a picker
I'm actually not sure how I'll put these coordinates into the level either
bad case scenario I do this
energy1:setPos
bf:addItem(energy1)
energy2:setPos()
bf:addItem(energy2)
energy3:setPos()
bf:addItem(energy3)
energy4:setPos)()
bf:addItem(energy4)
energy5:setPos()
bf:addItem(energy5)
repair1:setPos()
repair2:setPos()
repair3:set... etc
(yeah that would suck)
worst case scenario I just put them in in set places, every time. sure would be easier
Play my new level! Two different teams fight over a nexus: One mainly defends while the other attacks! is fun
viewtopic.php?f=33&p=21002#p21002
viewtopic.php?f=33&p=21002#p21002