Java-Gaming.org Hi !
 Featured games (90) games approved by the League of Dukes Games in Showcase (754) Games in Android Showcase (229) games submitted by our members Games in WIP (842) games currently in development
 News: Read the Java Gaming Resources, or peek at the official Java tutorials
 Home Help Search Login Register
 Show Posts Pages: [1]
 1 Game Development / Game Mechanics / Re: Physics of a melee weapon swing on: 2004-01-26 23:32:22 Without modelling various muscle groups and so forth, this is going to be largely an exercise in gross approximation. I would just find an equation that appears to look nice and stick with it. (e.g. speed of blade = a.(strength - k.(weight))    )The main problem I see with this is that there are many muscle groups in each motion, all of which act on the forces in the blade in different ways to each other. (as a martial artist I can tell you that this also includes abdominal and leg muscles)Thus shoulder muscles would be using most of their force to counteract the gravitational force, while the back muscles will be almost exclusively pulling the sword sideways. (assuming a man in normal stance, if he is on an angle or something, stuff changes)I think the idea here should be KISS. Spend your time on things the user will actually notice...As an example of what I mean...Basic speed calculation...Basic Speed  BS = a.strength - b.weightUpward Swing = BS - c.weight Downward Swing = BS + d.weightThrust = BSSideways = BSa,b,c etc = costants. may be replaced with more complex formula to get exponential curves etc if need be.
 2 Game Development / Game Mechanics / Re: ODE Physics for Java on: 2003-09-28 23:28:43 This project sounds great. I will definitely be giving it a look. I tried a while ago to use odeforjava and found that it only compiled for linux. (this may have changed of course) I did my best with the make files, but I certainly no expert in that area. I am sure a make expert would have been able to make it go.
 3 Game Development / Performance Tuning / Re: Timing on: 2003-07-10 21:53:37 The timers in windows based systems are not accurate and other background processes will cause inaccuracies. My experience of this is in profiling my Prolog program. (using SCI Prolog FYI)The docs say that you will never get super accurate results because windows does NOT count actual CPU cycles devoted to a process. So the timings a estimates at best. (Making sure all your background processes are switched off will help)Linux, of course, will return very accurate results.This explains why Jeff is getting good results, you wont/can't on your windows systems.This is very frustrating in my case because I will be using profiling to estimate execution times on a 600 machine cluster that has a mixture of XP and Linux boxes. Bugger.
 4 Game Development / Game Mechanics / Re: Basic Physics Engine on: 2003-07-07 00:52:59 BTW anyone tried building the project on a windows system? I managed to build the ODE C code fine after having to edit source code to make it work with VS.net, but the javaforode stuff is not compiling.I can get the .java files to compile into the bin directory, but the "make jni" stuff is failing - obviously since it was written for linux/unix.Anyone have any ideas?PS: Make is suppose to make compiling easier?? My god what a horrendous mess of a a setup. Its almost as if the designers WANTED it to be a mess...
 5 Game Development / Game Mechanics / Re: Basic Physics Engine on: 2003-07-06 23:02:46 Actually they just finished unintegrating it from Java3D so that it is framework independant.  Since the future of 3D in Java is unsure, probably the best way to go....
 Pages: [1]
 DesertCoockie (22 views) 2018-05-13 18:23:11 nelsongames (74 views) 2018-04-24 18:15:36 nelsongames (68 views) 2018-04-24 18:14:32 ivj94 (751 views) 2018-03-24 14:47:39 ivj94 (81 views) 2018-03-24 14:46:31 ivj94 (605 views) 2018-03-24 14:43:53 Solater (97 views) 2018-03-17 05:04:08 nelsongames (178 views) 2018-03-05 17:56:34 Gornova (388 views) 2018-03-02 22:15:33 buddyBro (1048 views) 2018-02-28 16:59:18
 Java Gaming Resourcesby philfrei2017-12-05 19:38:37Java Gaming Resourcesby philfrei2017-12-05 19:37:39Java Gaming Resourcesby philfrei2017-12-05 19:36:10Java Gaming Resourcesby philfrei2017-12-05 19:33:10List of Learning Resourcesby elect2017-03-13 14:05:44List of Learning Resourcesby elect2017-03-13 14:04:45SF/X Librariesby philfrei2017-03-02 08:45:19SF/X Librariesby philfrei2017-03-02 08:44:05
 java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org