Search found 18 matches
- February 1st, 2022, 9:50 pm
- Forum: Everything
- Topic: For loop not working
- Replies: 10
- Views: 4951
Re: For loop not working
Oh yes I think I had some of the comparison operators backwards lol. I thought I had my breakpoints at the right position but I guess not :S. Thanks for your help!
- January 30th, 2022, 10:58 pm
- Forum: Everything
- Topic: For loop not working
- Replies: 10
- Views: 4951
Re: For loop not working
@abinopapa I appreciate all the help and understand if you're calling it a day on this one. If not I'm more than willing to try explaining how to play my game. In the set up stage you can choose to build a ship as your starting project. Then in the first turn you can click on colonies, then the coor...
- January 29th, 2022, 7:36 am
- Forum: Everything
- Topic: For loop not working
- Replies: 10
- Views: 4951
Re: For loop not working
No, the vision variable is 2 as it should be. The y variable in the for loop is 3.I tried setting y = -2 directly to see what happens and it was still 3. I can tell because I set up break points.
- January 27th, 2022, 4:36 am
- Forum: Everything
- Topic: For loop not working
- Replies: 10
- Views: 4951
For loop not working
Last time albinopapa suggested that I make a github for my project. I would love to do that but I don't know how :(. Anyways I'm having trouble with a for loop for some reason. The variable is initializing to the wrong number. It's 3 no matter what I do and doesn't change. Has anyone encountered an ...
- January 12th, 2022, 9:30 am
- Forum: Everything
- Topic: Stuck with vectors
- Replies: 12
- Views: 6647
Re: Stuck with vectors
Will definitely do GitHub! Sounds much more convenient and like a good way to back up my work in case something happens to my computer.
I will also try making my own version of an include chart with yours as a reference! Thanks!
I will also try making my own version of an include chart with yours as a reference! Thanks!
- January 12th, 2022, 7:31 am
- Forum: Everything
- Topic: Stuck with vectors
- Replies: 12
- Views: 6647
Re: Stuck with vectors
Oh didn't realize circular inclusion gave such weird errors :lol: . Ya at first I created the Button children in the same file and I had ship and planet buttons that I later combined to a location button. Guess I didn't need all of those includes. I got rid of all the unnecessary includes in button ...
- January 11th, 2022, 9:35 pm
- Forum: Everything
- Topic: Stuck with vectors
- Replies: 12
- Views: 6647
Re: Stuck with vectors
Ya a naming convention isn't a bad idea at all, I'll definitely consider it. Keep rambling lol, your ramblings contain useful information haha. Unfortunately, I've ran into a bunch more errors. I'm trying to add a List of Buttons that are attached to either a Location or an Action so that when you c...
- January 11th, 2022, 9:30 pm
- Forum: Everything
- Topic: Stuck with vectors
- Replies: 12
- Views: 6647
Re: Stuck with vectors
Ya a naming convention isn't a bad idea at all, I'll definitely consider it. Keep rambling lol, your ramblings contain useful information haha. Unfortunately, I've ran into a bunch more errors. I'm trying to add a List of Buttons that are attached to either a Location or an Action so that when you c...
- January 10th, 2022, 11:33 pm
- Forum: Everything
- Topic: Stuck with vectors
- Replies: 12
- Views: 6647
Re: Stuck with vectors
Damn, changing to ranged for loops seems to have fixed the vector issue! Thanks again!
- January 10th, 2022, 10:56 pm
- Forum: Everything
- Topic: Stuck with vectors
- Replies: 12
- Views: 6647
Re: Stuck with vectors
Did you ever get to end turn? I got an error sometimes when I clicked on a planet on the galaxy map, but that was an xmemory error. Maybe that's the error that you got. I should probably fix that error too, but I was more talking about the error after you end the turn because that one always occurs ...