Closed DagemBefikadu closed 3 years ago
Momma we made it!!!
After learning from Taylor that spice() only works with integers everything else made sense, instead of using the whole array we used courtObjects[i] which is a integer. We took a forEach and broke it down to a forLoop made it much easier to understand.
I courtObjects[i] and passed it into a If statement to check my collision, with the help of Tom we switched some values around to make the hit more precise.
What's the problem you're trying to solve?
Ive gotten my objects to appear randomly but i can get just one object to disappear at a time. Spent time in office hours yesterday and we couldn't find a solution .
Post any code you think might be relevant (one fenced block per file)
If you see an error message, post it here. If you don't, what unexpected behavior are you seeing?
What is your best guess as to the source of the problem?
I need grab my information out of my array because thats where its stored but every method i have tried hasnt worked
What things have you already tried to solve the problem?
Moving my if condition in different location, trying a for loop instead of intervals.