|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Help with cannon gamei am currently making a ame with a cannon where it fires a bullet at a
forty degree angle for an amount of time set by the player and it only
flys like --> /\ instead of curving and i would need to find out how to
make it curve can anyone help?
--
oasion
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------
"oasion" <oasion.24z***@mail.codecomments.com> wrote in message Sounds like you need to grab a math book and read up on parabolas and the news:oasion.24zvlq@mail.codecomments.com... > i am currently making a ame with a cannon where it fires a bullet at a > forty degree angle for an amount of time set by the player and it only > flys like --> /\ instead of curving and i would need to find out how to > make it curve can anyone help? formula that defines them. > Sounds like you need to grab a math book and read ..... or a Physics book in the section where they discuss acceleration, > up on parabolas and the formula that defines them. specifically to part about acceleration due to gravity. Rick "oasion" <oasion.24z***@mail.codecomments.com> wrote in message For small projects like this, remember..... PlanetSourceCode.com (VB news:oasion.24zvlq@mail.codecomments.com... > > i am currently making a ame with a cannon where it fires a bullet at a > forty degree angle for an amount of time set by the player and it only > flys like --> /\ instead of curving and i would need to find out how to > make it curve can anyone help? > category) This one looks good.... Trajectory Calculation Functions (With Graph) http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=53991&lngWId=1 This may be enough.... Cannon Battle (Like scorched Earth) http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=45561&lngWId=1 -- Ken Halter - MS-MVP-VB - Please keep all discussions in the groups.. DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Show quote
Hide quote
"Ken Halter" wrote: This doesn't contribute anything, but I am just curious. Didn't NT use to > "oasion" <oasion.24z***@mail.codecomments.com> wrote in message > news:oasion.24zvlq@mail.codecomments.com... > > > > i am currently making a ame with a cannon where it fires a bullet at a > > forty degree angle for an amount of time set by the player and it only > > flys like --> /\ instead of curving and i would need to find out how to > > make it curve can anyone help? > > > > For small projects like this, remember..... PlanetSourceCode.com (VB > category) > > This one looks good.... > > Trajectory Calculation Functions (With Graph) > http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=53991&lngWId=1 > > This may be enough.... > > Cannon Battle (Like scorched Earth) > http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=45561&lngWId=1 > > -- > Ken Halter - MS-MVP-VB - Please keep all discussions in the groups.. > DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm > ship with a QBasic program with some Gorilla throwing rocks or something which slowly destroyed buildnings? What was the name of it? I wonder if anyone ever ported that thing? -ralph "ralph" <ra***@discussions.microsoft.com> wrote in message Sure did <g> In fact, I searched the Windows folder for '*.bas' before news:488A016A-CCAF-4C62-8365-13D0D0085741@microsoft.com... > > This doesn't contribute anything, but I am just curious. Didn't NT use to > ship with a QBasic program with some Gorilla throwing rocks or something > which slowly destroyed buildnings? What was the name of it? looking on PSC. It was called Gorillas.bas, iirc I think MS stopped installing it (by default anyway) after NT4... > I wonder if anyone ever ported that thing? I haven't seen anything. Of course, it wouldn't be too hard to swap the gorillas for some other graphic so, it's still out there in one form or another. > -ralph -- Ken Halter - MS-MVP-VB - Please keep all discussions in the groups.. DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Are there alternatives to using WIN32_Find_Data?
Best ways for reading and editing text files test for empty array? VB6 Question VB6 applications with SQL Server and Adobe Runtime error 429 ADO Recordset Filter Problem OT: Blew away shortcut to desktop, How to replace it?? Windows 2000 Professional Running external program from access VB6 DataGrid |
|||||||||||||||||||||||