Java-Gaming.org
Java4K - to go         Javadoc:
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources or peek at the official java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 2 [3] 4
  Print  
  Playing with car physic & 3DzzD Update 11  (Read 14802 times)
0 Members and 3 Guests are viewing this topic.
Offline DzzD

JGO Kernel
*****

Posts: 2119
Medals: 14



« Reply #60 on: 2008-07-03 14:46:58 »

Quote
I'd like the car brighter and the steering looser...
car is now brighter, about steering I am no sure,it is already quite hard to drive no ?


Quote
The only problem I could find is that once when I hit a create at fast speed the car got all glitchy
yup I saw that too (physic engine problem), I will update that when I will disable car flip-flop drive.

Quote
Also whats stopping anyone from driving on the grass then the track? I don't see the grass slowing the car down atm.
the grass dont slow the car for now but you have to compensate the slope, what about to make the grass sllicky ?

Quote
i thought the wheels were funny

damn man! you break my car

some few updates on last version ( update 8 ):
camera is again closer to the car  than previous one
some artwork on the car (textured & a little bigger)



http://demo.dzzd.net/ROAD8/

Offline DzzD

JGO Kernel
*****

Posts: 2119
Medals: 14



« Reply #61 on: 2008-07-03 17:19:00 »

ROAD8 level updated, finally holes have been removed

any idea to make things funnier ?

Online SimonH

JGO Strike Force
***

Posts: 883
Medals: 13



« Reply #62 on: 2008-07-05 23:30:00 »

Brighter car's much better!

I would like a 'flip me back upright' key - space bar maybe?

Funnier? Erm... Oil slicks that spin you round? Exploding boxes? Hedgehogs that make you jump?
Check out Crash Bandicoot for ideas!

Stickmen Wars 2 is in development.
Meanwhile try Bloodridge
Games published by our own members! Go get 'em!
Offline zammbi

JGO Strike Force
***

Posts: 963
Medals: 9



« Reply #63 on: 2008-07-06 00:01:28 »

Yes now I can always see the car. To make things funnier I say make the track more crazy. Huge jumps, crazy corners, driving in a pipe, track splits up, dead ends, tunnel maze, etc...

Current project - Rename and Sort
Offline CommanderKeith

JGO Wizard
****

Posts: 1447
Medals: 9



« Reply #64 on: 2008-07-06 00:59:44 »

I reckon guns/rockets/mines would be the best. That's why mario kart was so cool.

The applet worked well on my computer. I agree that a flip-back-over button is needed, and maybe a few less jumps at the very start.

By the way, this wierd bug happened to me where one of the car's wheels was stuck under the ground?! It happened after I was driving around for a while upside-down

Offline DzzD

JGO Kernel
*****

Posts: 2119
Medals: 14



« Reply #65 on: 2008-07-06 09:13:02 »

Quote
I agree that a flip-back-over button is needed
you are all right this will be the next update

Quote
happened to me where one of the car's wheels was stuck under the ground?!
thanks, if you hardly hit something(box/wall) there is also a bug as the car become crazy.

Quote
Yes now I can always see the car. To make things funnier I say make the track more crazy. Huge jumps, crazy corners, driving in a pipe, track splits up, dead ends, tunnel maze, etc...
yes maybe, but not sure the lack of amusment come from the track geometry, I tried different road with different structure and that's not seem to be a lot more funnier exept for huge jump and looping wich are cool.

Quote
Funnier? Erm... Oil slicks that spin you round? Exploding boxes? Hedgehogs that make you jump?

good idea, Exploding box and the oil slicks.

Quote
I reckon guns/rockets/mines would be the best. That's why mario kart was so cool.
hehe would be cool, but I need to add network first. but rocket launcher will be definitly the best thing to add.

to start I will add flip-back-over button, mine/exploding box and oil slicks.

Offline kuhnibert

JGO n00b
*

Posts: 12



« Reply #66 on: 2008-07-06 12:46:01 »

Hi

It's a really cool game. It's fun to play, but the track should be less boring.

One Question: Why is the flag invisible from behind?

kuhnibert
Offline DzzD

JGO Kernel
*****

Posts: 2119
Medals: 14



« Reply #67 on: 2008-07-06 14:44:19 »


Quote
It's a really cool game. It's fun to play, but the track should be less boring.

you mean more object ? more jump ?

Quote
One Question: Why is the flag invisible from behind?

I done the road 3d modeling and that's not the thing I am the best in, I think this is the main reason Smiley

Offline erikd

JGO Kernel
*****

Posts: 2561
Medals: 7


Maximumisness


« Reply #68 on: 2008-07-07 14:23:03 »

Runs great!

Maybe an idea to turn this into a game is to capture a bit the feel of 'Stunt Car Racer' (http://en.wikipedia.org/wiki/Stunt_Car_Racer):
Elevated rollercoaster-like tracks with (somtimes insane) jumps, computer controlled cars, have the car put back on the track if it falls off the track, maybe 1st person view.

I also feel that if you turn fast in high speeds, the car should skid.

Offline viwoj

JGO n00b
*

Posts: 30



« Reply #69 on: 2008-08-05 04:41:32 »

I agree

Games published by our own members! Go get 'em!
Offline DzzD

JGO Kernel
*****

Posts: 2119
Medals: 14



« Reply #70 on: 2008-09-28 19:40:41 »

long time I did not works on that project, so, just to say that it is not a dead project

Quote
Elevated rollercoaster-like tracks with (somtimes insane) jumps, computer controlled cars, have the car put back on the track if it falls off the track, maybe 1st person view.

I also feel that if you turn fast in high speeds, the car should skid.

thanks for all those idea, NB.: I dont find that 1st person view is so fun but in case of, it will be an option up to the player.

the image joined is a fun accident I had while debugging tonight Grin.

I hope to have enought time to bring out a new demmo soon.

Offline Eli Delventhal
« League of Dukes »

JGO Kernel
*****

Posts: 3478
Medals: 39


Game Engineer


« Reply #71 on: 2008-09-28 22:23:16 »

Hm I get this weird blitting in the middle of the screen and I can drive upside down.

See my work:
OTC Software
<br />
Currently Working On:
Secret project...
Quote from: _Riven
I edit JGO in production, because I simply don't waste time writing bugs
Offline DzzD

JGO Kernel
*****

Posts: 2119
Medals: 14



« Reply #72 on: 2009-04-08 16:30:53 »

alive!

a little update.... what's new ? nothing except it use the current API (and then it have a bug on normal mapping... too bad..) but the code looks a little cleaner now and that's the interresting part of this update wich is more to announce this demo opensourcing in the comming weeks

http://demo.dzzd.net/Racer3D/Racer3D.html

Offline gouessej

JGO Kernel
*****

Posts: 3433
Medals: 26


TUER


« Reply #73 on: 2009-04-09 01:00:15 »

Excellent demo Cheesy

Julien Gouesse
Offline Daniel_F

JGO n00b
*

Posts: 36


Java games rock!


« Reply #74 on: 2009-04-09 04:57:03 »

Very nice, reminds me the old DOS game Terep2

Maybe slow down the car, I think its too fast to control.
Offline DzzD

JGO Kernel
*****

Posts: 2119
Medals: 14



« Reply #75 on: 2009-04-10 12:51:40 »

Quote
Maybe slow down the car, I think its too fast to control.

maybe you are right, but I've tried it sooo much than I  have a lot of training.

I will try to get some time to release source code next week, there is few line of code but there is still one classes that need to be polished before

Offline DzzD

JGO Kernel
*****

Posts: 2119
Medals: 14



« Reply #76 on: 2009-06-15 17:44:36 »

end of this thread,

Update 10 : new level & demo opensourced

-> Watch video

or


- >Try it online







the source code is still not fully optimised but yet enought short & understandable to be released so I am going to open a new thread on shared source code and end here this thread

Online SimonH

JGO Strike Force
***

Posts: 883
Medals: 13



« Reply #77 on: 2009-06-15 21:22:40 »

This looks good!

Unfortunately I just can't play it - the controls are too sensitive; simply staying on the road is really difficult.
Can you ease off the controls? I'd rather overshoot a corner than go off the road before I got to it!

Stickmen Wars 2 is in development.
Meanwhile try Bloodridge
Offline DzzD

JGO Kernel
*****

Posts: 2119
Medals: 14



« Reply #78 on: 2009-06-15 21:39:58 »

This looks good!

Unfortunately I just can't play it - the controls are too sensitive; simply staying on the road is really difficult.
Can you ease off the controls? I'd rather overshoot a corner than go off the road before I got to it!

thanks for feedback, you are probably right as I am really an expert now for controlling this car, maybe slowing down a little the game speed will do the job ? (I already slow down speed from 10ms to 15ms step between logic from previous version as there was some feebacks it was too hard to play).

maybe you can try to change this rate yourself if you want Smiley ( the value to modify is in MainGame.java : logicRateMillis or something like that, just need the applet jars in javac classpath to compil )

also I have put all 3d in separated files rather than in only one big 3ds to make it easier to test different cars or tracks

Online SimonH

JGO Strike Force
***

Posts: 883
Medals: 13



« Reply #79 on: 2009-06-15 21:54:58 »

thanks for feedback, you are probably right as I am really an expert now for controlling this car, maybe slowing down a little the game speed will do the job ? (I already slow down speed from 10ms to 15ms step between logic from previous version as there was some feebacks it was too hard to play).

maybe you can try to change this rate yourself if you want Smiley ( the value to modify is in MainGame.java : logicRateMillis or something like that, just need the applet jars in javac classpath to compil )

also I have put all 3d in separated files rather than in only one big 3ds to make it easier to test different cars or tracks

Yah, too easy to get too good at your own game!  Grin

Don't change the frame rate, change the turn delta for steering - I'd love to play around with the source code - uh, where is it?

Stickmen Wars 2 is in development.
Meanwhile try Bloodridge
Offline DzzD

JGO Kernel
*****

Posts: 2119
Medals: 14



« Reply #80 on: 2009-06-15 22:00:15 »

Quote
Yah, too easy to get too good at your own game! 


hehe sure it is


Quote
Don't change the frame rate, change the turn delta for steering

nono, this is just the logic rate this wont affect the framerate (framerate is not really controled in this version, it just run as fast as it can)


Quote
I'd love to play around with the source code - uh, where is it?

there is a link to the zip just below the applet

Online SimonH

JGO Strike Force
***

Posts: 883
Medals: 13



« Reply #81 on: 2009-06-15 22:42:19 »

K, got it working!

In Car.java I changed
1  
2  
if(this.turnRight) this.turn+=0.01; // was: 0.03
if(this.speed<=0) this.speed=maxSpeed*0.03; // was: 0.1;

And it was much better, but still quite hard...

The physics is a little strange; even with my changes, if you try going round the course slowly (like you were driving a real car) you'll see it behaves oddly, like there's no friction with the road?

Also, when I go upside down I have to restart the applet!  Undecided

Stickmen Wars 2 is in development.
Meanwhile try Bloodridge
Offline DzzD

JGO Kernel
*****

Posts: 2119
Medals: 14



« Reply #82 on: 2009-06-16 04:56:05 »

Quote
The physics is a little strange; even with my changes, if you try going round the course slowly (like you were driving a real car) you'll see it behaves oddly, like there's no friction with the road?
 


there are some kind of friction with road, it is the grip attribute : 1.0 means no grip ( try this it can be fun you will drive like on ice ) and lesser value mean more grip

with the initial setting the controls act like an old racing game on PSP but I cant remember its name... basically you only have to turn a lot at the start of the turn and release the direction key before the end of the turn (the car then should slowly stop turning)

Offline DzzD

JGO Kernel
*****

Posts: 2119
Medals: 14



« Reply #83 on: 2009-06-17 15:03:02 »

seems that  there can be some issue with blender 3ds exported model, so if you plan to use this software to modify some object or create new tracks you may have a look to the following thread and download the fixed 3ds loader (to rebuild the dzzd.jat) or the lastest build of the 3DzzD API jar using the new loader (both are available in the zipped file on the thread) http://forum.dzzd.net/viewtopic.php?f=11&t=358&start=15

Online SimonH

JGO Strike Force
***

Posts: 883
Medals: 13



« Reply #84 on: 2009-06-18 10:27:32 »

I've just been tinkering with the physics to try and get a 'nice' driving experience and boy is it difficult! You get the acceleration feeling good & the cornering gets awkward, fix the cornering & the acceleration goes sluggish...
Good bit of software - ideal for testing these things!

Stickmen Wars 2 is in development.
Meanwhile try Bloodridge
Offline DzzD

JGO Kernel
*****

Posts: 2119
Medals: 14



« Reply #85 on: 2009-07-05 13:45:05 »

thanks,

NB about the physics : the physic engine come from a very basic idea (kind of constrained sphere) but seems to magically respect a lot of physics law that I really never tought it will be able to, one interresting law it respect is the giroscopic effect of an object rotating in the air.


Offline DzzD

JGO Kernel
*****

Posts: 2119
Medals: 14



« Reply #86 on: 2009-10-17 16:02:40 »

a new update, just for fun Smiley, improved physics, still a cupple of bugs but now you should be able to get up when car is up side down



Click here to start

( note that unfortunatly, this demo and further one sources code wont be release )

Offline kappa
« League of Dukes »

JGO Kernel
*****

Posts: 2268
Medals: 50


★★★★★


« Reply #87 on: 2009-10-17 17:24:35 »

software version works great, smooth and fast. Enjoyable controls and do like the shine on the car. Could be turned into a cool little game with a bit more effort and some goals.

hardware version had problems running on my system, it starts but the car just flashes alot with missing polygons.
Offline DzzD

JGO Kernel
*****

Posts: 2119
Medals: 14



« Reply #88 on: 2009-10-17 17:30:28 »


thanks for testing

hardware version had problems running on my system, it starts but the car just flashes alot with missing polygons.

I got other report of the bug you mentionned, seems  that the hardware opengl states are not well handled and this make it work on some computer and not on other, i will investigate more on this

Online Apo

Full Member
**

Posts: 145



« Reply #89 on: 2009-10-18 07:10:28 »

I really like it.
I tested the software version, and it works fast and smooth. The "game" reminds me of my old favorite game revolt. =)
Pages: 1 2 [3] 4
  Print  
 
 
Jump to:  


Add your game by posting it in the showcase section.

The first screenshot will be displayed as a thumbnail.

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.163 seconds with 20 queries.