Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Bowman

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Game Development
View previous topic :: View next topic  
Author Message
nwongfeiying
Grandmaster Cheater
Reputation: 2

Joined: 25 Jun 2007
Posts: 695

PostPosted: Thu May 21, 2009 11:34 pm    Post subject: Bowman Reply with quote

Does anyone know how to calculate the strength and angle and all of that for shooting an arrow (such as the one in the Bowman flash game)?
Back to top
View user's profile Send private message
Odecey
Master Cheater
Reputation: 1

Joined: 19 Apr 2007
Posts: 259
Location: Scandinavia

PostPosted: Fri May 22, 2009 12:35 am    Post subject: Reply with quote

Vector functions? I've never tried this so I'm not sure how the angle factors in, but in math class we did some calculations involving curves of thrown objects, where vector functions were used to describe the movement pattern.
Edit:
I attached an example in GeoGebra that you might be able to get something out of.
By gliding the Time object back and forth you will be able to see where the object will be at that given time. The other gliders are there to adjust the curve. If the names aren't clear enough, you can see how they affect the curve by right clicking the object named z under "dependant objects" and then selecting "redefine". Remember to change the file extension from .ct to .ggb to be able to open it in GeoGebra.

attachment deleted

_________________
Never confuse activity with productivity. You can be busy without a purpose, but what's the point?- Rick Warren
Back to top
View user's profile Send private message MSN Messenger
nwongfeiying
Grandmaster Cheater
Reputation: 2

Joined: 25 Jun 2007
Posts: 695

PostPosted: Fri May 22, 2009 8:31 am    Post subject: Reply with quote

Thanks for the reply. Now I got to learn how to draw in C++.
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Fri May 22, 2009 11:00 am    Post subject: Reply with quote

This is high school kinematics. Just remember that movement in one axis does not affect the movement in another. You can calculate how far the arrow will fly by first finding out how long it can stay in the air, then using the force provided by the bow to determine the initial acceleration and the velocity of the arrow over that time frame.
Back to top
View user's profile Send private message
nwongfeiying
Grandmaster Cheater
Reputation: 2

Joined: 25 Jun 2007
Posts: 695

PostPosted: Sat May 23, 2009 9:09 pm    Post subject: Reply with quote

Fuck, I should've taken physics.
Back to top
View user's profile Send private message
jedijoey
Newbie cheater
Reputation: 0

Joined: 23 May 2009
Posts: 13
Location: united kingdom

PostPosted: Thu May 28, 2009 8:53 am    Post subject: Reply with quote

Laughing Very Happy u should of but even i didn't know that Very Happy Laughing
_________________
One person made me join this which tht is beyond awsemomness he made me want to join this
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Game Development All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites