Strings question
in
Programming Questions
•
4 months ago
So, my program makes spheres that drop down to the ground. After fiddlign around with strings, I can make them appear based on the coordinates I put in the loaded string file. In addition to that, it waits every second to start making another sphere when I use the loaded String.
Now what I want to do is make it so itll load a sphere in a certain coordinate, based on 4 different letters.
A = 500, 100
G = 750, 100
C = 1000, 100
T = 1250, 100
What i want to be able to do is be able to type in each letter into the loaded file in any order I want.
For example:
a
t
c
g
a
t
t
g
a
c
And each time, it would load a sphere in that exact location. How would I do that?
1