Jump to content

  • Log In with Google      Sign In   
  • Create Account


Trying to make a small Windows Phone game


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 oldgregg   Members   -  Reputation: 227

Like
0Likes
Like

Posted 14 June 2013 - 03:55 PM

Hey guys,

 

I'm trying to make a small Windows Phone game. I've recently changed my code to spawn the sprites on screen and it compiles fine.

 

However when I enter the game screen on the phone emulator. I get this error:

 

Capture.PNG

 

I have literally no idea why this is happening. 

 

 

Any help is appreciated! 

Thanks!

 

 



Sponsor:

#2 Andy474   Members   -  Reputation: 677

Like
1Likes
Like

Posted 16 June 2013 - 11:05 AM

Can you post the code of the loop? its Hardto see from the pic tongue.png

 

And make sure your not Modifying the collection "blueCircles" while you are enumerating over it.

 

Edit:

 

Upon close inspection are you doing the follwing under the exCEPTION BOX?

blueCircles.Add(new ColouredSprite(...))

this will cause it :)


Edited by Andy474, 16 June 2013 - 11:07 AM.


#3 oldgregg   Members   -  Reputation: 227

Like
0Likes
Like

Posted 17 June 2013 - 07:07 PM

I'm away from my laptop with this code on atm but thanks for the reply! I'll get back ASAP!






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS