Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (567)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2 3 4
  ignore  |  Print  
  Playing with car physic & 3DzzD Update 11  (Read 22597 times)
0 Members and 1 Guest are viewing this topic.
Offline DzzD
« Posted 2008-03-17 22:19:37 »

EDIT: (Update 11)

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



EDIT: (Update 10)


-> Watch video


or try it :










older version below :

here is an exprerimentation on car physic with 3DzzD that it is not yet fixed but that I wich to share

some know bugs: car may disapear ... or simply "explose"

note : there is no ineritia for now this mean that you cannot really jump and the break is immediat

it is a debug scene so design and model may look hugly Smiley

http://dzzd.net/demo/ROAD2/


escape key to pause

EDIT: (Update 3)
http://dzzd.net/demo/ROAD3/

EDIT: (Update 4)
http://dzzd.net/demo/ROAD4/

EDIT: (Update 5)
http://demo.dzzd.net/ROAD5/


EDIT: (Update 6)
http://demo.dzzd.net/ROAD6/

EDIT: (Update 7)
http://demo.dzzd.net/ROAD7/

EDIT: (Update Cool
http://demo.dzzd.net/ROAD8/

EDIT: (Update 9)
http://demo.dzzd.net/Racer3D/Racer3D.html


Online Abuse

JGO Knight


Medals: 12


falling into the abyss of reality


« Reply #1 - Posted 2008-03-17 23:33:08 »

Seemed to work fine until I ran into the wooden post thing, which caused me to get stuck.
On page refresh the "Enter" button stops working, throwing the following :-

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
starting 2
ACTION=ENTER
Exception in thread "AWT-EventQueue-5" java.lang.NullPointerException
   at Road.setGameMainActive(Road.java:184)
   at Road.actionPerformed(Road.java:88)
   at GButton.mouseReleased(GButton.java:87)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)

Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here! https://dl.dropbox.com/u/54785909/EliteIVsmaller.png
Offline DzzD
« Reply #2 - Posted 2008-03-18 11:52:54 »


thanks for the output console do you use FF ? if so refreshing It maybe related to a FF/Applet bug (not sure this is only suposition I need to do further research on that, but it seem that FF reuse the same instance of applet when refreshing rather than create a new one)


sry for the "wooden post thing" I did not realized that it can stuck the car, I will update that.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Online Abuse

JGO Knight


Medals: 12


falling into the abyss of reality


« Reply #3 - Posted 2008-03-18 16:24:48 »

yeah, it was using FireFox

Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here! https://dl.dropbox.com/u/54785909/EliteIVsmaller.png
Offline DzzD
« Reply #4 - Posted 2008-03-18 23:48:57 »

updated, still not perfect but pretty cool



http://dzzd.net/demo/ROAD2/

Offline DzzD
« Reply #5 - Posted 2008-03-19 21:34:17 »

another update, correcting some bugs, the car  turn is now better.

car can turn left right a litlle more, this is no more possible to accelerate when front wells are not in contact with an object

I added a platform that you can reach by driving enought fast on the big blue jump.

to avoid to be stuck you can drive even when car is turned upside down, this is not a bug.


same url:
http://dzzd.net/demo/ROAD2/

Offline DzzD
« Reply #6 - Posted 2008-03-20 01:42:18 »

nothing really new there , just add a ramp to reach the platform



http://dzzd.net/demo/ROAD2/

and a special jump Smiley

Online kevglass

JGO Kernel


Medals: 166
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #7 - Posted 2008-03-20 07:20:18 »

Thats really cool, found it very funny when I can drive upside down Smiley

Jumps are ace, whole thing feels very solid. I still get some graphical glitches (texturing flickering, things popping) with DzzD but it really doesn't touch this experience Smiley

Kev

Offline irrisor

Junior Member





« Reply #8 - Posted 2008-03-20 08:07:36 »

Nice.

I noticed the controls are much better on a slower computer. I even ran this through a remote desktop session, where is felt a bit gooey but better to control. Physics seems really framerate dependent.

Minor glitch: The applet did not load in Opera the first time I got to the site. After hitting reload it was loading but with white backgroud instead of black (black in FF).
Offline DzzD
« Reply #9 - Posted 2008-03-20 09:52:07 »

@kev: thanks'  cool that you enjoy! about graphical issue, they are very hard to fix... Sad

@irrisor:
Quote
Physics seems really framerate dependent
yup it is right, and that's a bug , It use time based function but they are always called with the same parameter (this make the whole FPS dependant), I will fix that tonight

EDIT: seems what I said is studip  Lips Sealed, result should be the same for FPS based, I try on a very slow and very fast computer and got the same results, pressing the front arrow at the applet start (without turning) reach the platform and do a loop by tuching the border of it.

Quote
Minor glitch: The applet did not load in Opera the first time I got to the site. After hitting reload it was loading but with white backgroud instead of black (black in FF).
too bad, I test IE6/IE7 FF2.0 Safari3... not opera could you plz,give to me the java console/screenshot anything that can help ? anyway thank's to have tested it and provided me some feebacks

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Markus_Persson

JGO Wizard


Medals: 15
Projects: 19


Mojang Specifications


« Reply #10 - Posted 2008-03-20 13:04:55 »

to avoid to be stuck you can drive even when car is turned upside down, this is not a bug.

Works great, but my car seems to spend 90+% of the time upside down. Seems like when jumping normally, it pretty much always lands on the roof, but flipping back to drive on the wheels is almost impossible. Frustrating. Undecided

Play Minecraft!
Offline brackeen

Junior Member





« Reply #11 - Posted 2008-03-20 17:42:28 »

Yay, jumps.

The loader still needs work though - the pacifier gif is causing a flicker in the middle of the applet, right where the car is. Mac OS X Leopard / Safari 3.1.
Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


« Reply #12 - Posted 2008-03-20 17:54:28 »

Field of view is too small and it is too dark.  I can't tell where I am going.  Then I will see something flash by, but lose where it is before I stop.

Otherwise it works well in IE6 with Java 1.6

Offline DzzD
« Reply #13 - Posted 2008-03-20 18:32:02 »

new demo with some improvments:
- all wheels are motorized this is a 4*4
- springs are smoother
- more gravity
- wheels turn
- test scene have more light and is us a different model

so, finally all that give a better control of the car

still some bugs I need to find  Angry



http://dzzd.net/demo/ROAD3/


you can download the 3ds model here :

http://dzzd.net/demo/ROAD3/ROAD/ROAD.3DS
http://dzzd.net/demo/ROAD3/ROAD/ASPHALT3.JPG
http://dzzd.net/demo/ROAD3/ROAD/GRYCON7.JPG
http://dzzd.net/demo/ROAD3/ROAD/ROAD2.JPG

if you have good idea and want to try to make your own circuit , I will put t online Smiley

Quote
Yay, jumps.

The loader still needs work though - the pacifier gif is causing a flicker in the middle of the applet, right where the car is. Mac OS X Leopard / Safari 3.1.
thanks I will fix that

Quote
Field of view is too small and it is too dark. 

I have updated for lightning, do you think I still have to increase FOV, it may look fisheyes it is already set to 60° ?



Offline Wildern

Junior Member





« Reply #14 - Posted 2008-03-20 20:22:24 »

I think the problem with the field of view is that you are always looking at the car, and the camera is not in a fixed position behind the car.
When you are going fast and straight, you can see fine, but when you are going slow, and trying to turn around to line up with something, all you get to see is the car and the ground right around it.
Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


« Reply #15 - Posted 2008-03-20 20:48:56 »

I have updated for lightning, do you think I still have to increase FOV, it may look fisheyes it is already set to 60° ?

No.  It is a lot better now.

Offline DzzD
« Reply #16 - Posted 2008-03-21 11:30:07 »

3DzzD is  "Chuck Norris approved" ... Smiley ok maybe not the best joke of the world  Lips Sealed

for people who dont know there is a joke on google, type : find chuck norris then use the button "I feel lucky" not the search button (for FF user you have to go to google homesite the FF start page dont have this button).


Offline ben

Junior Member


Projects: 1



« Reply #17 - Posted 2008-03-21 13:49:05 »

WOW! This is amazing and a lot of fun, very well done!

Right now it looks and feels a little bit like a remote control toy car, maybe because it has very high top speed and acceleration and/or the car seems to be very light weight. I assume it is configurable, to change the characteristics of the car.

I think this would make the basis for a really fun game, are you planning to do that, or are you more interested in concentrating on the engine?

I couldn't get the camera controls to work (tested using both FF and IE), it would be interesting to try with a camera closer to the car/ground, or even from inside the car.

Ben.
Offline thijs

Junior Member




Lava games rock!


« Reply #18 - Posted 2008-03-21 14:00:28 »

I think this would make the basis for a really fun game, are you planning to do that, or are you more interested in concentrating on the engine?

Working on it as we speak Wink

Currently I'm writing a track editor and Bruno is focussing on polishing the rough edges off the engine

<a href="http://www.dzzd.net">3DzzD!</a>
<a href="http://www.arcazoid.com">Arcazoid!</a>
Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #19 - Posted 2008-03-21 15:37:09 »

Looks like it should be good, but far far far too dark so see anything except the occasional highlighted face. Plus the camera seems to be too laggy to properly see where you're going.

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline thijs

Junior Member




Lava games rock!


« Reply #20 - Posted 2008-03-21 16:08:47 »

Looks like it should be good, but far far far too dark so see anything except the occasional highlighted face. Plus the camera seems to be too laggy to properly see where you're going.

?
This shouldn't be the case anymore in our latest demo:
http://dzzd.net/demo/ROAD3/

<a href="http://www.dzzd.net">3DzzD!</a>
<a href="http://www.arcazoid.com">Arcazoid!</a>
Offline nva225

Junior Member





« Reply #21 - Posted 2008-03-21 16:13:34 »

You should add a turbo boost  Grin and maybe experiment with moving the camera down and back slightly in the process.

Cool demo though Smiley
Offline DzzD
« Reply #22 - Posted 2008-03-21 16:17:15 »

Looks like it should be good, but far far far too dark so see anything except the occasional highlighted face. Plus the camera seems to be too laggy to properly see where you're going.

did you try the lastest one ? http://demo.dzzd.net/ROAD3/ it is a lot brighter, isn'it ?

Quote
I think this would make the basis for a really fun game, are you planning to do that, or are you more interested in concentrating on the engine?

I couldn't get the camera controls to work (tested using both FF and IE), it would be interesting to try with a camera closer to the car/ground, or even from inside the car.

thanks, first answer is both, I usually make such demo to see what is missing in the API, where I get stuck (lack of functionnalities), it help improve user needs, but yes I think a game will be bringed out from this, also as I plan to opensource the whole I have a lot of works to do, so I dont know about delay for opensourcing and game release. and as thijs said there will be a track editor too Smiley

for the camera this is normal, controls was only available in the very first demo that have been removed now, in the first demo camera was not linked to the car and you had to manually move it.

dont worry for testing different camera , It is planed to add more camera


Quote
You should add a turbo boost   

that will maybe make the jump very very high, car will need wings  Smiley

Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #23 - Posted 2008-03-21 17:11:31 »

did you try the lastest one ? http://demo.dzzd.net/ROAD3/ it is a lot brighter, isn'it ?
A bit, but not much. The ground is non-black at least but most of the ramps and car are still pretty much near-black on my system.

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline DzzD
« Reply #24 - Posted 2008-03-21 17:24:53 »

Quote
A bit, but not much. The ground is non-black at least but most of the ramps and car are still pretty much near-black on my system.
Ok you should be right, I will add some ambiant light and/or use lighter texture

EDIT: could you give me a mesure of you screen using the image below ? so I will see nearly exacly what you see

you may see a black square at the left of the above picture just give me it width in pixel.



mine is arround 25 wich is not so good...

Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #25 - Posted 2008-03-21 18:02:35 »

Ok you should be right, I will add some ambiant light and/or use lighter texture

EDIT: could you give me a mesure of you screen using the image below ? so I will see nearly exacly what you see

you may see a black square at the left of the above picture just give me it width in pixel.



mine is arround 25 wich is not so good...

Looks like a perfectly smooth gradient from black to white to me.

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline thijs

Junior Member




Lava games rock!


« Reply #26 - Posted 2008-03-21 18:11:36 »

Looks like a perfectly smooth gradient from black to white to me.

Could you post a screenshot from the game running on your config (+specs)?

<a href="http://www.dzzd.net">3DzzD!</a>
<a href="http://www.arcazoid.com">Arcazoid!</a>
Offline DzzD
« Reply #27 - Posted 2008-03-21 18:11:45 »

lucky you, I can get that on mine  Sad, I have arround 20px maybe 1cm of black before gradiant and I can see most texture details even dark one.


Quote
The loader still needs work though - the pacifier gif is causing a flicker in the middle of the applet, right where the car is. Mac OS X Leopard / Safari 3.1.
bracken could you please do another try when you ve got some time ? I have made an update for the gif flickering issue that should fixe this


Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #28 - Posted 2008-03-21 19:41:49 »


[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline DzzD
« Reply #29 - Posted 2008-03-21 19:52:23 »

thnks, yep, I did not notice as maybe I was not enought 'concentrating' on that , you're absolutly right most jump and the platform are too dark. strange that how you can not see something that is in front of you eyes. I update right now.

Pages: [1] 2 3 4
  ignore  |  Print  
 
 

 
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!