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.

Dark Physics & Dark A.I. & Dark Dynamix / Dark Physics Challenge

Author
Message
Mike Johnson
TGC Developer
21
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 11th Aug 2006 12:15 Edited at: 12th Aug 2006 10:08
How about this for a coding challenge:

* create a room that has windows
* the player can walk around the room
* the player can interact with other objects
* the player can shoot objects

Sounds simple enough but how about adding in some interesting features such as:

* shooting the windows and them smashing up into little fragments
* curtains over the windows which can be torn apart
* being able to pick up objects and throw them around

Who is up for the challenge of creating an interactive room demo? Everyone on here can judge the entries and the top 3 entries win another expansion pack for DB Pro

We'll make the timeline last till end of this month. Gives everyone who wants to enter about 3 weeks to come up with something.
ESP
17
Years of Service
User Offline
Joined: 2nd Aug 2006
Location: London, England, U.K.
Posted: 11th Aug 2006 13:30
Hi Mike/All,

Count me in. I am very new to DBPro and even newer at Physics

I am creating a showroom application using DBPro/DarkPhysics but I need a distraction or two... Still awaiting my Ageia card, but even in software this rocks!

What timeline for the challenge? Any limit to the file size?

Robin
ESP
17
Years of Service
User Offline
Joined: 2nd Aug 2006
Location: London, England, U.K.
Posted: 11th Aug 2006 13:41
Hi Mike,

Should this and the Techniques thread be 'sticky'?

Robin
imekon
17
Years of Service
User Offline
Joined: 3rd Jul 2006
Location:
Posted: 11th Aug 2006 14:06
I've already got a room you can walk around and, um, kick boxes around. Gravity is all wrong as the boxes float around the room. There's a door which I was going to add a curtain across. Windows... hmmm...

Oh yeah, and sound effects.

"Reality Bites"
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 11th Aug 2006 14:54 Edited at: 11th Aug 2006 14:55
What about some more ideas for the pot:

1. Wall shelves with metal angle irons, with wooden planks resting on them. Fill the shelf with objects and then allow the player to interact with the items, or even take the shelf apart!

2. Construct table and chair structures with weak joints so if the player puts a heavy object on the table, it collapses under the weight, or a chair is shattered when picked up and thrown.

3. Create a false wall, made from bricks mortered together with weak joints, and make it seamless. When the player throws a hard object at the wall, or kicks the wall, the bricks can be slowly bashed out leaving a hole to the next room.

4. Place a light fitting on the ceiling, connected to a spherical joint, with a real spot light at the end of the cable. You can throw objects at the light and the light moves around, casting its cone of light around the room. Add five of these lights for a cool effect, and even allow the player to break the lights!

5. What about the star wars wall crusher trick, where a switch on the wall causes your entire room to be crushed by two movable walls, pushing and breaking chairs, tables, crates and items.

As you can guess, I am quite excited about the application of real physics to our imaginary worlds

"Small, smart, and running around the legs of dinosaurs to find enough food to survive, bedroom programmers aren't extinct after all "
ESP
17
Years of Service
User Offline
Joined: 2nd Aug 2006
Location: London, England, U.K.
Posted: 11th Aug 2006 16:09
Hi Lee,

Do we divide this up between those with the PPU and those without?

Robin
Elite Gaming
20
Years of Service
User Offline
Joined: 10th May 2003
Location: Isle Of Wight, UK
Posted: 11th Aug 2006 21:53
Looks like i'll get to work! What about doors that swing on the hinges?
Syncaidius
19
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: United Kingdom
Posted: 12th Aug 2006 00:54
hi mike,

You should update the first post so that people who are new to this thread can see the new information without scrolling down.

WORLD - A free World editor, capable of creating the most complex of worlds (including physics, skies, water, shaders, terrain editing and more). Best of all, it's FREE!
David iz cool
18
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 12th Aug 2006 04:10
cool!! im in! do we get to pick the expansion?
imekon
17
Years of Service
User Offline
Joined: 3rd Jul 2006
Location:
Posted: 12th Aug 2006 12:58
Let's see, so far I've got crates you can knock around the room, a cloth over the door, and now tables...

Still got gravity issues, the tables and crates appear very light. I guess I'm more amused by the effect - seeing a table fly around the room is just hilarious!

The legs of the table bend and wobble but don't break - I did try setting a limit but then if I hit the table, the top flies off leaving the legs behind standing!

"Reality Bites"
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 12th Aug 2006 13:07
imekon give your object some mass with

phy set rigid body mass ID,mass#

Plus to make joint berakable use this

phy set joint break limits id, max_force , max_torque

Dark Physics makes any hot drink go cold.
Black Mesa
18
Years of Service
User Offline
Joined: 25th Mar 2006
Location:
Posted: 12th Aug 2006 18:58
imekon I had the same problem. When dropping a sphere from above the entire table would sink onto the supports then bounce off and break. And that was with the joints.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 12th Aug 2006 19:12
Ah! that was fun to find out what was happening, if you put an object on screen at say

position object 1,0,0,0

then you place one on top it, you do this

position object 2,0,0.1,0

if you don't it jump up then back down.
hope that helps.

Dark Physics makes any hot drink go cold.
BiggAdd
Retired Moderator
19
Years of Service
User Offline
Joined: 6th Aug 2004
Location: != null
Posted: 14th Aug 2006 03:22
Ooo i think i'll Enter this!

im not very good at programming but i'll give it my best shot!

imekon
17
Years of Service
User Offline
Joined: 3rd Jul 2006
Location:
Posted: 14th Aug 2006 09:20
I figured out the table top issue - if another object hits the tables, the legs break as expected. If I ram the table with a character controller, and manually apply a force to the top, it only applies to top, not the legs as well.

"Reality Bites"
Syncaidius
19
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: United Kingdom
Posted: 19th Aug 2006 12:49 Edited at: 19th Aug 2006 12:58
heres a screenshot of my entry so far:



Not much working, apart from a lantern attached to the ceiling of the room which does swing back and forth when it has been hit.

Heres what else I plan to add:
Breakable shelves (with plenty of objects resting on them, for those who like to make a mess of rooms )
Breakable windows
Breakable doors
A few mechanical objects, like a portcullis (a gate from a castle) which can be opened by turning a cog with a chain attached to it
A few cloth wall hangings (tearable too )

Obviously this isnt going to fit in one room so im going to make two or three rooms together which can be entered through doors and gates.

WORLD - A free World editor, capable of creating the most complex of worlds (including physics, skies, water, shaders, terrain editing and more). Best of all, it's FREE!

Attachments

Login to view attachments
bosskeith
18
Years of Service
User Offline
Joined: 5th Dec 2005
Location:
Posted: 22nd Aug 2006 06:38
DBking your screen shot has struck fear into my entry attempt I bow down before you and that cool looking room

Ink all over the screen...and dang it! Signature still does not show.
Lukas W
20
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 22nd Aug 2006 14:48
i was going to enter this competition but i am too lazy to learn this plugin at the moment. besides, i need to learn other stuff, like how do i get a girl.
bosskeith
18
Years of Service
User Offline
Joined: 5th Dec 2005
Location:
Posted: 22nd Aug 2006 15:12 Edited at: 22nd Aug 2006 15:23
oh that one is easy...after using the shower command apply the brush function passing both the hair and teeth parameters make sure that you use the proper flag for the proper brush. Make sure that you include the deodorant and cologne. Then gosub your hunting ground with an infinite loop inc complements by the direct value of her beauty and add 2 until success=1 then exit the loop and return with girl.

worked for me a little too well i am now married and have 4 kids

P.S. If she passes arguments before you exit subroutine then immediately terminate program do not give yes or no options this can only lead to crashes.

Ink all over the screen...and dang it! Signature still does not show.
Medieval Coder
18
Years of Service
User Offline
Joined: 31st Dec 2005
Location:
Posted: 22nd Aug 2006 23:00
I think I may enter this...

Syncaidius
19
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: United Kingdom
Posted: 23rd Aug 2006 00:07
@bosskeith:

Quote: " DBking your screen shot has struck fear into my entry attempt I bow down before you and that cool looking room "


thanks!

Dont let it put you off entering though, its a competition for the best implementation of Dark Physics not the best graphics on display

I dont have a much chance of winning with a chain and a lantern do I...... although, i've made alot of changes since that screenshot.

WORLD - A free World editor, capable of creating the most complex of worlds (including physics, skies, water, shaders, terrain editing and more). Best of all, it's FREE!
Medieval Coder
18
Years of Service
User Offline
Joined: 31st Dec 2005
Location:
Posted: 23rd Aug 2006 00:33
Is there file size rule?

David iz cool
18
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 23rd Aug 2006 01:19
heh heh heres my entry,100 % code,no media needed.
i even finished early.




imekon
17
Years of Service
User Offline
Joined: 3rd Jul 2006
Location:
Posted: 24th Aug 2006 01:04
Here's mine so far...

Windows, crates, dodgy tables, bottles, trees etc. Plus a ton of balls you can throw around the scene and cause mayhem.

"Reality Bites"

Attachments

Login to view attachments
bosskeith
18
Years of Service
User Offline
Joined: 5th Dec 2005
Location:
Posted: 27th Aug 2006 07:44
bummer does not look like a lot of people are going to compete in this one

Ink all over the screen...and dang it! Signature still does not show.
Medieval Coder
18
Years of Service
User Offline
Joined: 31st Dec 2005
Location:
Posted: 27th Aug 2006 16:21
Im planning to finish mine tonight

Syncaidius
19
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: United Kingdom
Posted: 28th Aug 2006 00:46
Quote: "bummer does not look like a lot of people are going to compete in this one"


Well maybe it might be a good idea to extend the deadline for this competition, for a few reasons off the top of my head:

1) The people that have entered haven't got enough time to complete their entries because of work, etc

2) I've blown the PSU in my desktop computer which means I cant work on my entry until the actual deadline

3) lots of us are still playing around with all the cool features of Dark Physics.

maybe TGC might be kind to us and give us more time.

WORLD - A free World editor, capable of creating the most complex of worlds (including physics, skies, water, shaders, terrain editing and more). Best of all, it's FREE!
Alfred
17
Years of Service
User Offline
Joined: 22nd Jun 2006
Location: Jalisco, Mexico
Posted: 29th Aug 2006 01:12
I am working very hard to place my entry here too! However I am going to have a hard time to finish on time.

I am new to this challenge system. Where exactly can we post our entries?

Can we post directly here or must we send the file(s) to Mike Johnson notifying that we are going to enter?

Thanks to everybody in advance.

Hallowed are the ori.
Medieval Coder
18
Years of Service
User Offline
Joined: 31st Dec 2005
Location:
Posted: 29th Aug 2006 02:11
I was just about to ask that!

bosskeith
18
Years of Service
User Offline
Joined: 5th Dec 2005
Location:
Posted: 29th Aug 2006 03:17
having some issues with mine definatley not going to be able to add any shine to it just the physics

Ink all over the screen...and dang it! Signature still does not show.
Mike Johnson
TGC Developer
21
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 29th Aug 2006 10:01
How about we extend it till the end of September and give everyone further time to get things right and perhaps a few more people time to enter.
BillR
21
Years of Service
User Offline
Joined: 19th Mar 2003
Location: United States
Posted: 29th Aug 2006 10:03 Edited at: 29th Aug 2006 10:04
I could enter if we extend it, I just ran out of time, been really busy.
ESP
17
Years of Service
User Offline
Joined: 2nd Aug 2006
Location: London, England, U.K.
Posted: 29th Aug 2006 12:00
Hi All,

That would be great Mike, I am still having problems with jitter...

Robin
Syncaidius
19
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: United Kingdom
Posted: 29th Aug 2006 13:06
Quote: "How about we extend it till the end of September"


Well.. we could all use those extra 4 weeks.

Thanks Mike

WORLD - A free World editor, capable of creating the most complex of worlds (including physics, skies, water, shaders, terrain editing and more). Best of all, it's FREE!
Mike Johnson
TGC Developer
21
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 29th Aug 2006 13:07
Okay deadline is extended to 29th September

When you have your entry ready please either email it to me or post in this thread.
Elite Gaming
20
Years of Service
User Offline
Joined: 10th May 2003
Location: Isle Of Wight, UK
Posted: 29th Aug 2006 13:15
Thanks Mike,

thought i was going to have to do an all-nighter to get it finished because the glass was shattering properly.
bosskeith
18
Years of Service
User Offline
Joined: 5th Dec 2005
Location:
Posted: 30th Aug 2006 01:07
nice and away we go

Ink all over the screen...and dang it! Signature still does not show.
Medieval Coder
18
Years of Service
User Offline
Joined: 31st Dec 2005
Location:
Posted: 30th Aug 2006 03:40 Edited at: 30th Aug 2006 03:41
Well my entry has almost 70 different objects at the moment and I havent even put books or flags in.
Here is a fast pic.

Edit: By different I mean you will be able to know they over or collaspe them.

Attachments

Login to view attachments
Elite Gaming
20
Years of Service
User Offline
Joined: 10th May 2003
Location: Isle Of Wight, UK
Posted: 30th Aug 2006 22:27
Just wondering if their was a limit to the size of the demo? I have a full house, with 10+ rooms, with doors that swing etc. Its quite big!
Mike Johnson
TGC Developer
21
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 30th Aug 2006 22:45
Doesn't matter about how large things are.
imekon
17
Years of Service
User Offline
Joined: 3rd Jul 2006
Location:
Posted: 31st Aug 2006 01:02
Quote: "10+ rooms"




I've only got two rooms!

"Reality Bites"
Medieval Coder
18
Years of Service
User Offline
Joined: 31st Dec 2005
Location:
Posted: 1st Sep 2006 16:58 Edited at: 2nd Sep 2006 02:38
Ignore tis

Medieval Coder
18
Years of Service
User Offline
Joined: 31st Dec 2005
Location:
Posted: 1st Sep 2006 22:08 Edited at: 2nd Sep 2006 02:38
Ignore this

Medieval Coder
18
Years of Service
User Offline
Joined: 31st Dec 2005
Location:
Posted: 2nd Sep 2006 02:37 Edited at: 2nd Sep 2006 02:38
Is this competion still on? With the new competition?

Edit: Sorry for post ing three times in a row...

Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 4th Sep 2006 00:01
You could do books with real cloth for the pages! Also you could rip up the book and skatter the pages everywhere

What about a water bed!
Make some cloth attached on each side to an object on the floor, then fill it with water! You could shoot the cloth and watch as water sprays out of the whole

Oh well, DP won't run on my PC

There are three types of people, those that can count and those that can't.
bosskeith
18
Years of Service
User Offline
Joined: 5th Dec 2005
Location:
Posted: 5th Sep 2006 22:31 Edited at: 6th Sep 2006 04:12
incoming including this i have 3 programs going on so ended up dropping this one in as is.

you can push things or shoot things not as involved as i would like but there is what i feel a pretty neat ball removal device at end of the platform powered by particles. If you are careful you can even enter into it.

it would help if i added the file

[edit] would have liked to add more but trying to get my current non physics game and therefore indie company launched[/edit]


Attachments

Login to view attachments
Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 5th Sep 2006 23:18
What about a rubber ball that you could through at the walls

There are three types of people, those that can count and those that can't.
RickV
TGC Development Director
23
Years of Service
User Offline
Joined: 27th Apr 2000
Location: United Kingdom
Posted: 6th Sep 2006 10:53
Nice demo bosskeith, I like the destruction factor!

Financial Director
TGC Team
[Check out Jed McKenna - http://www.wisefoolpress.com/]
ESP
17
Years of Service
User Offline
Joined: 2nd Aug 2006
Location: London, England, U.K.
Posted: 6th Sep 2006 13:01
Hi BossKeith/All,

What should I see? I get the number 62460 in the top left and the screen is half white/green. As soon as I move the mouse, I am back in windows.

Robin
Medieval Coder
18
Years of Service
User Offline
Joined: 31st Dec 2005
Location:
Posted: 6th Sep 2006 13:27
You aim where your going with the mouse. Then move forward or backwards with the keypad.

Login to post a reply

Server time is: 2024-03-29 11:52:42
Your offset time is: 2024-03-29 11:52:42