PDA

View Full Version : Projectile Motion



Yakman
03-20-2008, 11:13 PM
i was experimenting with some physics and mechanics, the motion with which projectiles fly through the air
but I'm finished now, here you go.

air resistance and wind could be added, a way to change the initial velocity would be handy too i guess

http://img149.imageshack.us/img149/8278/screenshotfe5.png

meh

Harry
03-20-2008, 11:15 PM
Another release from Yakman! Good job with Java! The best I can do in it is write a Hello World App :(

Bobarkinator
03-21-2008, 02:09 AM
This could actually be just what I need ;)

kingarabian
03-21-2008, 07:58 AM
Well this would be perfect if it was compatible with runescape private servers.

It would be used for ranging, i believe.

JuKKa
03-21-2008, 10:56 AM
Well this would be perfect if it was compatible with runescape private servers.

It would be used for ranging, i believe.
naw, because runescape is 3d it uses x, y, z. Z is height in world.
You would have to add that Z variable because yakmans is only 2d :(

good job ;)

mastaraymond
03-21-2008, 01:14 PM
How do I run this? :rolleyes:

Yakman
03-21-2008, 06:56 PM
i didnt leave any binary files in that zip file
to compile it, run "ant" on the command line while in that directory
you need Apache Ant for this (google it, its really great)

or if you use windows, you could run this batch file (if you have the JDK installed)
compile.bat


@echo off
javac -d bin com\yakman\projectile\Projectile.java
pause


and this one
run.bat


@echo off
java -cp bin com.yakman.projectile.Projectile
pause

ShowerThoughts
03-21-2008, 08:35 PM
that is why i love delphi it is a .exe :D i have always have the wrong java...

Wizzup?
03-21-2008, 09:04 PM
that is why i love delphi it is a .exe :D i have always have the wrong java...

But java can run in your browser.

ShowerThoughts
03-21-2008, 09:05 PM
yeah that is true..

pointer
04-21-2008, 06:54 PM
Big red X