Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (522)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (590)
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.weight
Upward Swing = BS - c.weight
Downward Swing = BS + d.weight
Thrust = BS
Sideways = BS

a,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.  Smiley
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.  Smiley

Since the future of 3D in Java is unsure, probably the best way to go....
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

trollwarrior1 (29 views)
2014-11-22 12:13:56

xFryIx (71 views)
2014-11-13 12:34:49

digdugdiggy (50 views)
2014-11-12 21:11:50

digdugdiggy (44 views)
2014-11-12 21:10:15

digdugdiggy (38 views)
2014-11-12 21:09:33

kovacsa (62 views)
2014-11-07 19:57:14

TehJavaDev (67 views)
2014-11-03 22:04:50

BurntPizza (64 views)
2014-11-03 18:54:52

moogie (80 views)
2014-11-03 06:22:04

CopyableCougar4 (80 views)
2014-11-01 23:36:41
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
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
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!