continious ball movement
Well if you refer to a key_down event or a key_up event, then you right because it's the same but the hard part for me was the continious movement and that I linked from XNA to my VB.net edtion and as...
View Articlecontinious ball movement
Okay, I haven't used XNA, just knew that Refresh() was best for GDI+. But I still don't get that movement is harder to do with XNA.
View Articlecontinious ball movement
Thnx for the respons, but I have two remarks on your comment.First the me.invalidate is a better methode then refresh when using XNA framework and sec. it wasn't the math calculation that was annoying...
View Articlecontinious ball movement
This wasn't really the programming, but the math and logic that kept you from solving the problem.Anyway, I think calling the Refresh() method instead of Invalidate() is better, and it shouldn't be...
View Articlecontinious ball movement
Well I already solved the problem on a holidayIf you're interested how I got the movement going, I'll post the code. Cheers Forcecast
View Articlecontinious ball movement
Please stay tuned for a bit Force, it is a holiday weekend in the USA. The burgers were yummy, so was the beer. I did mine yesterday. Official start of summer thing. Meanwhile, something you could...
View Articlecontinious ball movement
NoBugz, You take this one. I don't know XNA framework. Vector2 and some other types arenot defined in the code provided. Plus, my wife has me quite busy this weekend!
View Articlecontinious ball movement
Maybe comment on this code so I know what's wrong Thnx in progress Forcecast
View Articlecontinious ball movement
Okay sphere fear: Sudden urge to remove circular objects from your code.good fear: Sudden urge to remove circular references from your code. Sorry, my mentor has spoken. I have a bad case of sphere...
View Articlecontinious ball movement
I started to coded this code, I maded a possible timer with a location where the ball needs to move to but it doens't work ^^Maybe because I'm using the XNA framework ?? Here's the code: Public...
View Articlecontinious ball movement
Well first of all, this is no homework if you know what I mean and second, for a forum moderator your not quite using the right style to deal with problems, just a tip not to scare people of posting...
View Articlecontinious ball movement
Sorry dude, we don't answer homework questions here. I gave you the hard parts, take the ball and run with it! When you get stuck, you're welcome to post your code and explain why you can't make it...
View Articlecontinious ball movement
Well I would be very happy if I could figure it out myself but could you post an example code of your explenation because I'm not a full VB.net programmer so I don't know all the terms and syntax in...
View Articlecontinious ball movement
Add a Point member to your class to store the ball position and a Double to store the current ball moving angle. Add a timer, set at 50 milliseconds. In the Tick event, calculate the next ball...
View Articlecontinious ball movement
Well that would help but the problem is the movement code Thnx in progress Forcecast
View Articlecontinious ball movement
Use A Timer with the interval set to 100/75then put the ball moving code in the timer1_tick method
View Articlecontinious ball movement
Hi, I need to know how it is possible to make a ball move on it's own like a NPC.So if the form loads, the ball needs to move up,down,right,left,... on it's own not with a keydown or keyup expression....
View Article
More Pages to Explore .....