Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / 3D Pool (Screenshots)

Author
Message
Robin
21
Years of Service
User Offline
Joined: 22nd Feb 2003
Location: United Kingdom
Posted: 29th Nov 2004 22:04 Edited at: 29th Nov 2004 22:06
Downloaded the Newton DLL for DBP the other day and found out just how amazing it is. So I decided to make a pool game. So far the balls all bounce off each other and the sides realistically, and next I'm going to add 'spin' to the balls, so that you can curl the balls (I use the omega command for that, right?). I have a screenshot, and I'll update this page whenever I make progress.


Yes, it's meant to be dark. It's 'atmospheric'

Any Comments etc. appreciated
Robin

http://www.thegameszone.tk | robin@thegameszone.tk

Attachments

Login to view attachments
Erick G
Retired Moderator
20
Years of Service
User Offline
Joined: 2nd Oct 2004
Location: Texas, USA
Posted: 29th Nov 2004 22:50
That look sweet ! Good Job, will download tonight.
Flashing Blade
22
Years of Service
User Offline
Joined: 19th Oct 2002
Location: United Kingdom
Posted: 29th Nov 2004 23:11
I'm gonna try this Newton DLL - is it easy enough to use?


The word "Gullible" cannot be found in any English Dictionary.
walaber
21
Years of Service
User Offline
Joined: 22nd Oct 2003
Location: Los Angeles, CA
Posted: 29th Nov 2004 23:42
Robin - Screenshot looks nice!

with the new Newton wrapper to be released soon, you'll be able to add realistic spin very simply using the new AddForce commands. you'll simply add a force to the ball, wherever the cue has hit it, and by doing so, it'll spin the ball just like in reality.

to be honest, you could probably actually do it by modelling the pool cue out of a cylinder and let Newton handle the rest. at least it would be worth a try!

how are you detecting if a ball lands in the pocket?

Go Go Gadget DBPRO!

Athlon XP 2400+ || DDR-SDRAM 1GB || Nvidia GeForce 4 Ti4200 AGP 8x 128MB
Robin
21
Years of Service
User Offline
Joined: 22nd Feb 2003
Location: United Kingdom
Posted: 29th Nov 2004 23:52 Edited at: 29th Nov 2004 23:53
Thanks for the comments.
Erick: You can't download it, it's not finished
Flashing Blade: Yes
Walaber: Yes, I was thinking about modelling a cue and making it hit the ball - probably the best bet at the moment. When is the new wrapper due to be released? There are actual holes in the table, so it's just a case of checking if a ball has dropped below a certain height to see if it's been potted.

Robin

http://www.thegameszone.tk | robin@thegameszone.tk
IanG
20
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 30th Nov 2004 00:48
Quote: "It's 'atmospheric' "
and is it also because there is nothing around it?

looks great btw

Used to be Phoenix_insane registered in september 2003 despite what the date says to the left <--
PC - amd athlon 2.0ghz, 512mb, GeForce FX 5200 128mb, 200gb, xp pro sp2
Robin
21
Years of Service
User Offline
Joined: 22nd Feb 2003
Location: United Kingdom
Posted: 30th Nov 2004 05:42
Thanks
Quote: "and is it also because there is nothing around it?"

SSHHHH!!! you're giving the game away

http://www.thegameszone.tk | robin@thegameszone.tk
Chris K
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 30th Nov 2004 06:02
Acutally there's a fully bump & normal mapped 1,000,000 poly pool player standing there.

He's just waiting for his shot.
Robin
21
Years of Service
User Offline
Joined: 22nd Feb 2003
Location: United Kingdom
Posted: 30th Nov 2004 06:07
How did you see him?

http://www.thegameszone.tk | robin@thegameszone.tk
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 30th Nov 2004 07:15
Looks nice.

BatVink
http://biglaugh.co.uk/catalog AMD 3000+ Barton, 512Mb Ram, 120 Gig Drive space, GeForce 5200 FX 128 Mb, Asus A7N8X Mobo.
Terms & Conditions apply
Robin
21
Years of Service
User Offline
Joined: 22nd Feb 2003
Location: United Kingdom
Posted: 30th Nov 2004 18:53
Thanks - I think I'm going to seperate the different parts of the pool table ie the wood, green bit and the chrome parts on the end, and then texture them a bit better. As you can see above, the texture 'bleeds' into the different parts and there isn't a clean cut edge. Also I can texture the chrome part and wood better then - at the moment they're just solid colours.

Robin

http://www.thegameszone.tk | robin@thegameszone.tk
Juso
22
Years of Service
User Offline
Joined: 23rd Sep 2002
Location: Finland
Posted: 1st Dec 2004 05:15
Add shadows (a simple round plane under each ball) and its perfect!
Robin
21
Years of Service
User Offline
Joined: 22nd Feb 2003
Location: United Kingdom
Posted: 6th Dec 2004 21:34 Edited at: 6th Dec 2004 21:35
I’ve got a new screenshot (Below) for you. Having finally worked out how the to get collision information in newton, I’ve started working on actually programming the game. I tried adding shadows, but couldn’t get them to work properly…I’m trying a plane textured with a shadow picture, but it just isn’t working properly. (I’ve tried about every combination of transparency, alpha mapping and ghosting/dark ghosting) Has anyone got any good ideas for how to create just a simple circular soft shadow?
Robin



Ps. Yes I know the shadows are wrong around the edges – They’re just drawn onto the pool table as part of the texture – but the pool table will probably be re-modelled when I finish doing the programming, so for now it will do.

http://www.thegameszone.tk | robin@thegameszone.tk

Attachments

Login to view attachments
Van B
Moderator
22
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 6th Dec 2004 21:58
For the shadows, you might have more luck with a transparent image, like a dark spot but alpha faded - I don't think the negative ghosting stuff is working too well in DBPro since the transparency changes. If you can't make a shadow texture with alpha transparency with the software you have, I could knock up some for you in Photoshop.

I made a demo a while ago in DBC that used negative ghosting - but it also stretched the shadow and rotated it to mimic the centre light source - it looked damn good.


Van-B


It's c**p being the only coder in the village.
Robin
21
Years of Service
User Offline
Joined: 22nd Feb 2003
Location: United Kingdom
Posted: 7th Dec 2004 20:30
I have Photoshop - a while ago I tried something like you mentioned, but I didn't get anywhere because i didn't really know what I was doing. If I draw a black circle and make the background in photoshop so it's transparent (the white and grey sqares), will that work? What file format should I save it in so it would work in DBP?

Thanks
Robin

http://www.thegameszone.tk | robin@thegameszone.tk

Don't waste paper. It's not like it grows on trees.
walaber
21
Years of Service
User Offline
Joined: 22nd Oct 2003
Location: Los Angeles, CA
Posted: 7th Dec 2004 22:20
what you mentioned above will work... save as .PNG format.

the other option is to make the backgound grey (128,128,128), and then use ghosting on the shadow. if I remember correctly, ghost mode 4 works best for that.

Go Go Gadget DBPRO!

Athlon XP 2400+ || DDR-SDRAM 1GB || Nvidia GeForce 4 Ti4200 AGP 8x 128MB
Van B
Moderator
22
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 8th Dec 2004 02:13
There's a mode 4 now!!!

Damn it Lee, next time I want advanced notice!


Van-B


It's c**p being the only coder in the village.
Robin
21
Years of Service
User Offline
Joined: 22nd Feb 2003
Location: United Kingdom
Posted: 8th Dec 2004 20:03
Thanks walaber & Van B, I'll try that.
BTW. Should I download the latest upgrade for DBP? I have 5.4 I think - maybe I should upgrade anyway. It's just a 56K modem which stops me upgrading all the time
Will also get the new newton dll when I get a chance too...

http://www.thegameszone.tk | robin@thegameszone.tk

Don't waste paper. It's not like it grows on trees.
walaber
21
Years of Service
User Offline
Joined: 22nd Oct 2003
Location: Los Angeles, CA
Posted: 8th Dec 2004 20:33
I highly recommend you get the new wrapper version, it's a HUGE improvement over version 1.25!

I just upgraded to 5.7 myself, and have hed no problems with it so far...

Go Go Gadget DBPRO!

Athlon XP 2400+ || DDR-SDRAM 1GB || Nvidia GeForce 4 Ti4200 AGP 8x 128MB
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 8th Dec 2004 21:46
*Raises hand*
I vouch for that definate update to 1.3 for Newton!

And what you have there Robin, looks pretty sweet

Don't forget to keep us updated, and be sure to ask Walaber for his Newton Intro function ( which is also pretty sweet )

Jess.


Team EOD :: Programmer/All-Round Nice Guy
Aust. Convention!
Robin
21
Years of Service
User Offline
Joined: 22nd Feb 2003
Location: United Kingdom
Posted: 8th Dec 2004 21:52
lol Yeah I'll download it when I get the time. At the moment I'm mainly working on programming in the actual rules of the game, so I don't need the new newton so urgently. Whats with the newton intro function?

http://www.thegameszone.tk | robin@thegameszone.tk

Don't waste paper. It's not like it grows on trees.
walaber
21
Years of Service
User Offline
Joined: 22nd Oct 2003
Location: Los Angeles, CA
Posted: 9th Dec 2004 10:25 Edited at: 9th Dec 2004 10:25
http://walaber.com/misc/newton%20logo.avi - I can send you a self-conatined function that you put at the top of your code, that adds this little "realtime splash screen" to your game. you can change the image to something else if you want, it'll still work.

Go Go Gadget DBPRO!

Athlon XP 2400+ || DDR-SDRAM 1GB || Nvidia GeForce 4 Ti4200 AGP 8x 128MB
IanG
20
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 10th Dec 2004 04:28
could you send me that too walaber, as it would be very useful

Used to be Phoenix_insane registered in september 2003 despite what the date says to the left <--
PC - amd athlon 2.0ghz, 512mb, GeForce FX 5200 128mb, 200gb, xp pro sp2
Robin
21
Years of Service
User Offline
Joined: 22nd Feb 2003
Location: United Kingdom
Posted: 12th Dec 2004 20:06
Walaber - That sounds pretty cool - If you could send that to me (the email address below) that would be great.

Well I haven't had much time to do anything the last few days I had an interview at cambridge university and now I've got to spend the whole weekend catching up on work i've missed. That said, I have downloaded 5.7, but now I realise I've got to get Direct X 9.0c...

Robin

http://www.thegameszone.tk | robin@thegameszone.tk

Don't waste paper. It's not like it grows on trees.
Chris K
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 12th Dec 2004 20:35
What college are you applying for?
dj chainz
20
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 12th Dec 2004 23:54
Quote: "I had an interview at cambridge university"


Quote: "What college are you applying for? "


?

I am the lead programmer at red spark studios
I also have a blog on how to make a game engine
http://www.dbgame.blogspot.com
Chris K
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
IanG
20
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 13th Dec 2004 01:13
cambridge and oxford are made up of smaller colleges, there like individual but united under the name of cambridge and oxford respectively

Used to be Phoenix_insane registered in september 2003 despite what the date says to the left <--
PC - amd athlon 2.0ghz, 512mb, GeForce FX 5200 128mb, 200gb, xp pro sp2
Robin
21
Years of Service
User Offline
Joined: 22nd Feb 2003
Location: United Kingdom
Posted: 13th Dec 2004 21:37
I'm appling to Downing College to study Engineering...dunno if I'll get an offer though.

http://www.thegameszone.tk | robin@thegameszone.tk

Don't waste paper. It's not like it grows on trees.
Cloggy
20
Years of Service
User Offline
Joined: 31st Oct 2004
Location: Rayleigh, Essex
Posted: 16th Dec 2004 17:19
The screenshots look very nice, good work

One question, how do you get the balls to slow down properly? I'm writing a mini golf game using the Newton Dll and the ball just seems to take an eternity to stop as if there is no friction.

Cloggy
Robin
21
Years of Service
User Offline
Joined: 22nd Feb 2003
Location: United Kingdom
Posted: 17th Dec 2004 19:13
You can create and assign different materials to objects, and set the friction value between two materials.

http://www.thegameszone.tk | robin@thegameszone.tk

Don't waste paper. It's not like it grows on trees.
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 4th Jan 2005 13:14
So...

How's the game coming along Robin?

Jess.


Team EOD :: Programmer/All-Round Nice Guy
Aust. Convention!
Robin
21
Years of Service
User Offline
Joined: 22nd Feb 2003
Location: United Kingdom
Posted: 11th Jan 2005 21:38
not very well unfortunately...

I didn't get much done over christmas and then went on holiday for a week I came back yesterday and I've got some exams coming up in the next weeks which I need to revise for. Basically I've hardly got any time for the game at the moment :-( I also got five computer games and a new graphics card for christmas which is kind of distracting me from DB lol.
Before christmas i did install the new newton upgrade, but then I realised many of the commands I was using have been removed so I've got to rewrite the whole thing...
I do plan on starting it again, but it will be at least a month before I do so :-( when I do get it going again, I'll repost in this thread.

Robin

http://www.thegameszone.tk | robin@thegameszone.tk

Don't waste paper. It's not like it grows on trees.
soapyfish
21
Years of Service
User Offline
Joined: 24th Oct 2003
Location: Yorkshire, England
Posted: 12th Jan 2005 07:42
Looks nice, I like the moody lighting. Good luck with it.

Formely code2kill
Is it really that hard to check your spelling before clicking the Post Message button?
walaber
21
Years of Service
User Offline
Joined: 22nd Oct 2003
Location: Los Angeles, CA
Posted: 12th Jan 2005 09:42
with the new one, you can basicaly just remove all of the old commands from your source, and most projects will work!

also don't forget to change any "SetGravity" commands to a new "AddForce" or "SetForce" command.

Go Go Gadget DBPRO!

Athlon XP 2400+ || DDR-SDRAM 1GB || Nvidia GeForce 4 Ti4200 AGP 8x 128MB
Robin
21
Years of Service
User Offline
Joined: 22nd Feb 2003
Location: United Kingdom
Posted: 12th Jan 2005 19:53
ok I'll bear that in mind - might be a while before I get it going again though :-(

http://www.thegameszone.tk | robin@thegameszone.tk

Don't waste paper. It's not like it grows on trees.
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 14th Jan 2005 17:38
Ahh, that's a shame.

Well, be sure to post back when the project is underway once again

Jess.


Team EOD :: Programmer/All-Round Nice Guy
Aust. Convention!

Login to post a reply

Server time is: 2024-11-22 23:28:26
Your offset time is: 2024-11-22 23:28:26