TheSantaMan
2010-11-30 04:53:14
So this should be way easier than i'm making it but here's what I got:
I'm trying to simulate tile walking in a basic way.
I'm trying to:
Have a starting tile and Increment it till it hits within 100 of the final destination.
I'll show what I have so far but if someone could finish it so I could see, how It should look that would be great. Mostly i'm confused about the bracket placement, and how they should be used.
I wasn't sure if the way I put the integers in was correct, feel free to correct me.
Thanks!
I'm trying to simulate tile walking in a basic way.
I'm trying to:
Have a starting tile and Increment it till it hits within 100 of the final destination.
I'll show what I have so far but if someone could finish it so I could see, how It should look that would be great. Mostly i'm confused about the bracket placement, and how they should be used.
#include<iostream>
//Idea for tile finding basic...
using namespace std;
int main()
{
int start = 2367, finish = 28630;
//Basic failsafe to start..
if (start = 2367) {
cout << "You are in the correct place starting script\n";
cout << "Now walking in 100+ inc. til destination";
}
else
cout << "You are not in the correct place";
for (start; start << 28730, start >> 2530, start+=25){I wasn't sure if the way I put the integers in was correct, feel free to correct me.
Thanks!