Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support


Post Reply 
i am creating a game similar to this.
Author Message
maxdelphi Offline
Junior Member

Posts: 9
Joined: Jul 2009
Reputation: 0
Post: #11
RE: i am creating a game similar to this.

thanks, but I'm just looking for a mathematical formula.

For example:

P = M * G.

Weight = mass per gravity.
(This post was last modified: 12-23-2010 03:28 AM by maxdelphi.)
12-23-2010 03:27 AM
Find all posts by this user Quote this message in a reply
Spooder Wekd Offline
Senior Member

Posts: 365
Joined: Aug 2010
Reputation: 0
Post: #12
RE: i am creating a game similar to this.

Well it would not be just a formula, there would be a function call to add force to the object...there's not much math involved
12-23-2010 04:08 AM
Visit this user's website Find all posts by this user Quote this message in a reply
matches81 Offline
Junior Member

Posts: 15
Joined: Dec 2010
Reputation: 0
Post: #13
RE: i am creating a game similar to this.

@Spooder Wekd:
Sorry for the misunderstanding, but to me your first post seemed more like "you don't know that so you shouldn't be making games".
I agree with everything you said in your second post, though, except that I still think using a third-party engine is the only way a lot of people will actually finish a game. Although I wouldn't say "never write your own engine when there's so many good free ones around" (I heard that quite a few times, though), I'd still advise people looking to make games to have a good look at their options.

@maxdelphi:
If you have a physics engine running in the background, the only thing you need to figure out is how much force you need to apply to an object to get the desired throw range. There shouldn't be a formula involved, the physics engine should take care of that for you.
The simplest way to get that "throwing force": Trial & error. Just pop in a few rough values until you get to a point that seems reasonable to you, then tweak it.
12-23-2010 04:56 PM
Find all posts by this user Quote this message in a reply
Spooder Wekd Offline
Senior Member

Posts: 365
Joined: Aug 2010
Reputation: 0
Post: #14
RE: i am creating a game similar to this.

(12-23-2010 04:56 PM)matches81 Wrote:  @Spooder Wekd:
Sorry for the misunderstanding, but to me your first post seemed more like "you don't know that so you shouldn't be making games".
I agree with everything you said in your second post, though, except that I still think using a third-party engine is the only way a lot of people will actually finish a game. Although I wouldn't say "never write your own engine when there's so many good free ones around" (I heard that quite a few times, though), I'd still advise people looking to make games to have a good look at their options.

It's all good. the reason I encourage writing your own engine is because I don't like dealing with other programmer's code. It is often hard to figure out how an engine works. Hence this thread even existing. If he had made his own engine he would know everything it can do, and there would be no unnecessary bloat caused by unused features. Also, engines can make games feel generic, because people use the shallow and easily accessible features to make games that feel more like mods than actual games. This is a problem with the over used UDK on indieDB...Sorry if I repeated a lot from my first post, I didn't go back and re-read it to see what I actually said! Tongue
12-23-2010 05:19 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)