I'm attempting to write a very crappy clone of quiz and dragons
right now I have my character moving around the board according to dice rolls (Thanks to this tutorial https://www.scirra.com/tutorials/1076/h ... ake-a-dice). I keep track of the total number of spaces moved and have bounding boxes that houses an instance variable, spaceNumber, on each tile so I can move accurately according to dice rolls. Depending on which tile you land on a quiz battle ensues with that character. What I can't figure out is how can I have a family of sprites for who I'm going to battle and compare some instance variable with my bounding box so I can automatically load the picture of the right monster that I've landed on.
I've attached a capx, please forgive me as it is a bit messy and very incomplete. Most of the features are incomplete and only laid out for debuging so they are not really attached yet or even properly separated into functions. https://drive.google.com/open?id=0B0oFU ... FBZYTZiSWM