e3 Real Estate Website Templates

Welcome Guest (Register -  Login)  Active Topics Active Topics Display List of Forum Members Memberlist Search The Forum Search Help Help
 Navigation

 Latest Forum Posts
» Need Bantumi VB Codes
Last Reply By acha22
» School Project -> VB Game
Last Reply By ruger
» Game Idea
Last Reply By ruger
» Careers in Gaming
Last Reply By tarun321
» vb2008 dx9 triangle
Last Reply By bluatigro
» GDI+ Flickering Problem
Last Reply By blupig
» VB2010
Last Reply By blupig
» modding xbox360 games project
Last Reply By blupig
» how to ? vb6 lesson
Last Reply By bluatigro
» Firing Bullet at an angle
Last Reply By bluatigro
» shading in vb2008
Last Reply By bluatigro
» Game-ready model shops
Last Reply By Tinlau
» pa help game of the generals..... 
Last Reply By peejay
» dart game
Last Reply By yik17
» Heeelp me someone
Last Reply By Miranu

Math and Physics
 Vb games Math and Physics
Subject Topic: Firing Bullet at an angle Post ReplyPost New Topic
 Firing Bullet at an angle
<< Prev Topic | Next Topic >>
TChai
Posted: October 16 2009 at 12:05pm | IP Logged Quote TChai
Avatar
Newbie
Newbie


Group: Newbie
Joined: October 16 2009
Location: United Kingdom
Posts: 1
Hi all

Im pretty new here and i am starting to like the place
already!

Anyway i want to know how can i shoot picturebox in angle
where my mouse is?
 
Online Status: Offline
View TChai's Profile Search for other posts by TChai Back to Top
 
bluatigro
Posted: December 11 2009 at 7:05am | IP Logged Quote bluatigro

Newbie
Newbie


Group: Newbie
Joined: December 10 2009
Location: Netherlands
Posts: 4

you shout know : where is my pic.ture

then use mousemove event to read

mouseX and mouseY [ who must be gobal ]

angle = math.atan( mouseX - pic.x , mouseY - pic.y )

 
Online Status: Offline
View bluatigro's Profile Search for other posts by bluatigro Back to Top
 
2 User(s) are browsing this topic, 2 Guest(s) and 0 Member(s)
0 Members:
<< Prev Topic Math and Physics Next Topic >>

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum


[ Users browsing page: none ]

Terms and Conditions | Privacy | Contact Us

Copyright © 2010 VbGames. All rights reserved.

This site is best viewed at 1024x768 screen resolution.
Back to Top

Designed by Micronet Technologies