Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact
A1VBCode Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      

Home » Visual Basic (VB 4/5/6) » Game Programming » Making An Object do a circle


Making An Object do a circleExpand / Collapse
Author
Message
Posted 11/23/2005 8:54:01 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 11/27/2005 4:53:52 PM
Posts: 3, Visits: 5
how do i make  a object to move in  a curve or a circle..........so far my object can move up down , left right etc diagonal but not in a circle or a curve how do i make it do a circle? thanks
Post #15095
Posted 1/30/2006 1:08:45 PM


Forum God

Forum GodForum GodForum GodForum GodForum GodForum GodForum GodForum God

Group: Forum Members
Last Login: 11/19/2008 9:26:27 AM
Posts: 541, Visits: 856
You know the equation for a circle? Use that to assign values to the location of the object. Make sure your radius isn't bigger than your form.

Oh, it's beautiful. Geometry and Computers working together in perfect harmony....It's making me emotional....

Mobius
_____________________________________________________________
No trees were harmed in the making of this post.
However, a large number of electrons were horribly inconvenienced.

Post #16386
Posted 6/7/2007 7:05:21 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 6/7/2007 4:35:28 PM
Posts: 1, Visits: 3
im attempting the same thing, and although i know the circle formula, i dont understand how to use it properly in vb...
Post #22073
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Brian, Peter

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 6:19am