View Full Version : Getting Loopy

12-16-2017, 11:16 PM
I worked with loop and while today to get a character to jump in the air and spin a user-specified number of times. As a bonus I also had to figure how to accept possible variations in a "yes" response.

Since I couldn't figure out a possible existing function or combination of functions in Alice that could accomplish changing the case of an string entry, I just used some boolean logic checks to get it done.

12-16-2017, 11:56 PM
So what I did was create an if else statement inside my loop that said if true == answer "yes" OR == "Yes" OR == "YES"...That way it would except any of those values instead of changing the casing in the variable. Hope that helps