Confused:S
AdnanH
Member Posts: 77
in Help Wanted
okay so i have two pieces of shortcode that id like to share with you..
one is called Gameover.png and the other score.png the part that confuses me is the score one doesn't work it just always restarts my game instead? but as you can clearly see in the pictures in score the colours have to match where as for game over they don't match? i believe the attribute "is not" doesn't work? which makes the game always be over regarding if your right or wrong?:/
Comments
self.color and game.whichColor are both text attributes?
http://www.arcaderz.com
yes they are? does that make a difference to why its not working for me? or are you asking in general?:)
Log the game.Score and game.GameOver attributes using "Log Debugging Statement" Behaviour.
Also Log self.color and game.WhichColor.
CMD + D -> will bring the debugger window.
http://www.arcaderz.com
It doesn't show me anything? unless I'm doing it wrong.. if your not too busy would you mind showing me how you'd lay it out please?
http://www.arcaderz.com
i forgot to mention my game.color is the name of a table and not really anything more..
all it comes of in the debugger winder is "invalid expression"? how would i sort this out?:S
http://www.arcaderz.com
It shouldn't be an issue - text attributes can hold numerical values and be used just like numerical attributes.
Thanks guys I shall implement everything as soon as I can:) I appreciate the help!!:-)