Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
1
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #31.8K
Ranked #4K
~2K People Reached
Favorite Forums
Favorite Tags

4 Posted Topics

Member Avatar for pendo826

I didn't read *all* of the code, but I read your loop. The problem you're having makes perfect sense if you think about it from an objective standpoint: for(m_itr.Start(); m_itr.Valid(); m_itr.Forth()) Look at the above for-loop declaration. It checks if m_itr.Valid() == true, which means it's going to keep cycling …

Member Avatar for Liuqahs15
0
224
Member Avatar for GaryWazHere

From line 293, you have: **if(keyObtained) { switch(mazeArray[g_personY*mazeWidth+g_personX]) { case 'K': { mazeArray[g_personY*mazeWidth+g_personX] == 0; } }** } But I don't understand. in case 'K' you just make a comparison. Is that supposed to be an assignment? If so, simply delete one of the equals signs. I also don't understand …

Member Avatar for GaryWazHere
0
1K
Member Avatar for zenooo

I don't want to tell you exactly how to do the problems, because that wouldn't be of any good to either of us, so I'll just give you some hints. Q1: Use the % operator to check the remainder of any number divided by another. The remainder has to be …

Member Avatar for Liuqahs15
-1
146
Member Avatar for game06

**[EDIT: I only just realized your post is Java, and my recommendation is C++. However, the basic logic is still of use to you. I dunno if there are enums in Java, but you could just easily use integer values or, a bool. ]** In your SpriteAnimation class add this: …

Member Avatar for game06
0
216

The End.