The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
154 views

Spritebatch not working in winforms

I'm using the Winforms sample on the app hub and everything is working fine except my spritebatch won't draw anything unless I call Invalidate in the Draw method. I have this in my initialize method: ...
0
votes
0answers
22 views

Invalidate not working (winforms & xna) [duplicate]

I'm using winforms with xna. Everything's working so far except for the drawing because invalidate won't refresh the screen unless repeated. This is the initial code I had: protected ...
0
votes
1answer
168 views

Problems when randomizing x and y position of a picturebox [closed]

So, I'm making a simple game. It's like snake but the picturebox doesn't grow. In the game, you have to get fruits and other objects. Look at berry's code: public class Berry : PictureBox { ...
1
vote
2answers
830 views

Winform + XNA (Microsoft Example) - Issues with Drawing Texture2D

Before I get started I would just like to say that I have been using the Microsoft Winform + Xna examples found here: WinForms Series 1: Graphics Device I think I somewhat understand how its working ...
1
vote
2answers
174 views

Set vertex position

Can anyone tell me how to set the positions of model vertices? I want to be able to change the position of some of the vertices of a Model. Is there any way to make that happen? And make the changed ...