Search | Statistics | User Listing Forums
XNA Resources
XNA Resources ->  General Discussion -> General Discussion -> View Thread

You are logged in as a guest. ( logon | register )

XNA 4.0 Game Development by Example - Troubleshooting Thread
Jump to page : 1 2
Now viewing page 2 [25 messages per page]
View previous thread :: View next thread
   General Discussion -> General DiscussionMessage format
 
Dieparbaby
Posted 2012-09-19 2:49 PM (#513 - in reply to #186)
Subject: Re: XNA 4.0 Game Development by Example - Troubleshooting Thread


Member

Posts: 7


(69.171.147.10)
Figured it out.
In the Game1 constructor of the Game1.cs file Level_Editor project, I had written:

gameFrom.SizeChanged += new EventHandler(pictureBox_SizeChanged);

instead of:

pictureBox.SizeChanged += EventHandler(pictureBox_SizeChanged);

Cheers,
Dieparbaby
Top of the page Bottom of the page
Dieparbaby
Posted 2012-09-20 2:55 PM (#514 - in reply to #186)
Subject: Re: XNA 4.0 Game Development by Example - Troubleshooting Thread


Member

Posts: 7


(129.100.254.154)
Hello again:

I noticed that in the final version of Gemstone Hunter that if I hold down the Space Bar for jumping, the animations toggles between jump and idle. Same thing if I run and hold down jump; the animation toggles between jumping and running. I experimented by changing the value of "string newAnimation" to "jump" and "run" in the Player.cs Update method. It seems that the toggling happens between jumping and whatever newAnimation is set to.

Any idea why this might be happening?

Thanks,
Dieparbaby
Top of the page Bottom of the page
fishirboy
Posted 2013-09-19 9:22 AM (#631 - in reply to #193)
Subject: Re: XNA 4.0 Game Development by Example - Troubleshooting Thread


New user

Posts: 2

Location: Hudsonville
(198.110.182.87)
I am having a problem like you but how did you set it up.
Top of the page Bottom of the page
fishirboy
Posted 2013-09-19 9:57 AM (#632 - in reply to #631)
Subject: Re: XNA 4.0 Game Development by Example - Troubleshooting Thread


New user

Posts: 2

Location: Hudsonville
(198.110.182.87)
I fix it, done. Just changed the ColorWriteChannels to Color.
Top of the page Bottom of the page
Jump to page : 1 2
Now viewing page 2 [25 messages per page]
Jump to forum :
Search this forum
Printer friendly version
E-mail a link to this thread

(Delete all cookies set by this site)
Running MegaBBS ASP Forum Software
© 2002-2014 PD9 Software