Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (476)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (530)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Chase Camera  (Read 4154 times)
0 Members and 1 Guest are viewing this topic.
Offline darkprophet

Senior Member




Go Go Gadget Arms


« Posted 2004-05-15 11:38:39 »

Hi all,
I just made a chase camera for a game im developing, and I just wondered if the "player" can use the camera properly.

Anyway's here's part of the game so far. Any Pointers?

Btw. It uses LWJGL and jME (Current)

Here's the link:

http://www.myjavaserver.com/~digiwired/vz2.jnlp

What do you think?

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #1 - Posted 2004-05-17 22:21:20 »

Quote


Smiley as soon as I saw the webstart version I was willing to try it...

...however:

1  
2  
3  
4  
5  
6  
7  
An error occurred while launching/running the application.

Title: Volatile Zapper 2
Vendor: Volatile 7
Category: Launch File Error

JAR resources in JNLP file are not signed by same certificate

malloc will be first against the wall when the revolution comes...
Offline Seekely

Senior Newbie




I am java


« Reply #2 - Posted 2004-05-18 00:56:25 »

Ran at a smooth 150fps for me, and I suppose works well for whatever its supposed to do =p  Although I didn't like so much that I was able to get the model off the screen if I moved the camera fast enough....Of course this is all relative to the purpose of the app/game

This was the zipped version though, the webstart gave the same error as blah^3.

http://www.untoldevils.com  
An RPG like every other, except this one is made by me
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline darkprophet

Senior Member




Go Go Gadget Arms


« Reply #3 - Posted 2004-05-18 09:19:01 »

dam about the webstart thing. Il try again soon.

Thx Seekelyfor your reply, i wanted the person to see where the fighter is going before it got there. But would that kind of camera do for a fighter game?

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Offline darkprophet

Senior Member




Go Go Gadget Arms


« Reply #4 - Posted 2004-05-18 09:46:09 »

kewlies, webstart works now. I haven't got a clue what was wrong before, but I rejared everthing and uploaded and everthing is now as cool as ice.  Cheesy

If anybody has a linux and a mac handy, id love to see if this works on em. Thx

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #5 - Posted 2004-05-18 10:49:38 »

Well webstart had to be run twice before it noticed the u[pdate.

But it still doesn't work - it keeps saying the selected display mode is not valid, although it doesn't bother to say why.

malloc will be first against the wall when the revolution comes...
Offline Jens

Senior Member




Java for games!


« Reply #6 - Posted 2004-05-18 11:02:52 »

It works on Linux, if I choose 24bpp and 0Hz, but I don't know what the app is supposed to do.

Xith3D Getting Started Guide (PDF,HTML,Source)
Offline darkprophet

Senior Member




Go Go Gadget Arms


« Reply #7 - Posted 2004-05-18 11:11:32 »

hehe, right, +/- increase/decrease speed, WASD to move or mouse.

Blah^3, whats your graphics card? and what OS are you using?

Btw, you need to wait a while (around 30 secs to 2 minutes) for the terrain to be generated, Md2 models to load, CamHandler to initialise....etc

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #8 - Posted 2004-05-18 12:34:19 »

GF2 with linux. I strongly suggest you put in some EXPLANATION rather than just an error dialog that says nothing (as is currently the case).

Even better, I still wish someone would just do a "standard" skinnable LWJGL mode-selector and give it everyone else Sad. So many people seem to have problems getting this bit right.

malloc will be first against the wall when the revolution comes...
Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #9 - Posted 2004-05-18 13:12:24 »

Ick, that camera is horrible Shocked

Firstly the biggest problem is that the camera rotates around its own point, it should remain looking at your ship and pivot around that point instead. That way the ship is always on screen.

As well as that the sensitivity was way too high for me, to the point it actually hurts your eyes. Drop the sensitivity and add some smoothing to the camera movement and it'd be easier to view.

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline shmoove

Junior Member




Doh!


« Reply #10 - Posted 2004-05-18 14:59:06 »

I didn't like it either  Sad
I think Orangy Tang's idea is very good. Keep the look-at point of the camera the same, but move the origin so that the ship is always in view.

shmoove
Offline darkprophet

Senior Member




Go Go Gadget Arms


« Reply #11 - Posted 2004-05-18 16:03:06 »

right, so im going to have to implement spherical coordinates. Right, onto that now.

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Offline darkprophet

Senior Member




Go Go Gadget Arms


« Reply #12 - Posted 2004-07-19 10:54:05 »

had a little play with some algos I made up about a chase cam, what do you think of it now?

Btw, its a new URL:

http://www.myjavaserver.com/~digiwired/xv.jnlp

Cheers, DP

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Offline zulo

Junior Member




Java games rock!


« Reply #13 - Posted 2004-09-14 16:49:06 »

runs Smiley fps 3679!! should you not cap the fps at 60
or something? Smiley
Offline darkprophet

Senior Member




Go Go Gadget Arms


« Reply #14 - Posted 2004-09-14 16:53:14 »

Glad to hear it.  Grin

what HW are you on? id love to get your HW (it runs at 400 on my dev pc)

Im going to be implementing a FPS capping game (FixedFramerateGame in com.jme.app) soon. So that will be done.

Btw, which version did you play? cause im in development at the moment...the one with the bus that takes you to another bus room?

DP

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Offline Mojomonkey

Senior Member




ooh ooh eee eeee


« Reply #15 - Posted 2004-09-14 17:02:04 »

700 FPS for me, on a fairly high end machine, not sure how he possibly got 3700 FPS.

Anyways... I'm not sure I understand, the camera doesn't seem to be chasing at all.

Don't send a man to do a monkey's work.
Offline darkprophet

Senior Member




Go Go Gadget Arms


« Reply #16 - Posted 2004-09-14 17:34:27 »

yeah, that thread was from AGES ago.

The design changed and the camera will rotate like a CCTV camera, around an axis rather than actually chase it, perhaps even zoom in/out.

The chase camera was using rotation around the axis and elastically follow the camera (if you remeber my implementation from VZ2 which never took off the ground)

DP

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Offline Mojomonkey

Senior Member




ooh ooh eee eeee


« Reply #17 - Posted 2004-09-14 17:58:00 »

Hmmm I'm not getting the CCTV effect.

Don't send a man to do a monkey's work.
Offline darkprophet

Senior Member




Go Go Gadget Arms


« Reply #18 - Posted 2004-09-14 18:03:03 »

hmm...i should have said the plan is to make it so its like a CCTV camera...its not yet implemented...its the third thing on the list at the moment  Smiley

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Offline darkprophet

Senior Member




Go Go Gadget Arms


« Reply #19 - Posted 2005-06-30 13:54:56 »

Different day, different camera system...would you mind testing this camera system for me?

Its a zip (1.66Mb) with batch and sh files..Forget about the physics for a while, that needs quite alot of tweeking, but is the camera comfortable? When you crash, is the camera giving a good view? Stuff like that...

Regards,
DP

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

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

The first screenshot will be displayed as a thumbnail.

pw (12 views)
2014-07-24 01:59:36

Riven (10 views)
2014-07-23 21:16:32

Riven (11 views)
2014-07-23 21:07:15

Riven (12 views)
2014-07-23 20:56:16

ctomni231 (42 views)
2014-07-18 06:55:21

Zero Volt (38 views)
2014-07-17 23:47:54

danieldean (32 views)
2014-07-17 23:41:23

MustardPeter (34 views)
2014-07-16 23:30:00

Cero (50 views)
2014-07-16 00:42:17

Riven (50 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!