Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
4 registered members (fogman, Grant, AndrewAMD, juanex), 989 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Newton breakable entity example #182586
02/07/08 19:40
02/07/08 19:40
Joined: Jul 2007
Posts: 616
Turkey, Izmir
Emre Offline OP
User
Emre  Offline OP
User

Joined: Jul 2007
Posts: 616
Turkey, Izmir
Dear friends,
This is newton breakable entitys example (for shooter project template c-script)
(a6&a7.06)




Video (Youtube)

rapidshare
Filefront

Re: Newton breakable entity example [Re: Emre] #182587
02/07/08 20:33
02/07/08 20:33
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline
Expert
Germanunkol  Offline
Expert

Joined: Jun 2006
Posts: 2,640
Earth
wow... looks great. would something like this work for breaking asteroids in a space game as well?

Last edited by Germanunkol; 02/07/08 20:33.

~"I never let school interfere with my education"~
-Mark Twain
Re: Newton breakable entity example [Re: Germanunkol] #182588
02/07/08 20:55
02/07/08 20:55
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Very nice contribution!

Re: Newton breakable entity example [Re: Pappenheimer] #182589
02/07/08 21:45
02/07/08 21:45
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
really nice, its pretty good!

Re: Newton breakable entity example [Re: Scorpion] #182590
02/08/08 01:54
02/08/08 01:54
Joined: Mar 2003
Posts: 4,264
Wellington
Nems Offline

.
Nems  Offline

.

Joined: Mar 2003
Posts: 4,264
Wellington
Doesnt work on 7.07

Re: Newton breakable entity example [Re: Nems] #182591
02/08/08 11:04
02/08/08 11:04
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
Quote:

Doesnt work on 7.07




Idem

Cheers

Frazzle


Antec® Case
Intel® X58 Chipset
Intel® i7 975 Quad Core
8 GB RAM DDR3
SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB
NVIDIA® GeForce GTX 295 Memory 1795GB
Re: Newton breakable entity example [Re: frazzle] #182592
02/09/08 09:53
02/09/08 09:53
Joined: Jul 2007
Posts: 616
Turkey, Izmir
Emre Offline OP
User
Emre  Offline OP
User

Joined: Jul 2007
Posts: 616
Turkey, Izmir
Old newton dll doesn't work on 7.07.
I don't know why. Because my english is not very good.
Anyway.If you use 7.07, change this code:(in the dd.wdl)


Replace this code:



function main()
{
....................
// now load the level
level_load(level_str);
ifdef USE_NEWTON_GAME_DYNAMICS;
wait(1);
dll_handle=newtonHandle;
NewtonAddMap(level_str,0);
endif;
fade(-16,vector(0,0,0));
wait(2); // let level load
............................
}


//////WITH THIS CODE:

function newton_load()
{
ifdef USE_NEWTON_GAME_DYNAMICS;
wait(1);
dll_handle=newtonHandle;
NewtonAddMap(level_str,0);
endif;

}

/////////////////////////////////////////////////////////////////
// Desc: The main() function is started at game start
function main()
{
..................
// now load the level

level_load(level_str);
on_level=newton_load;
fade(-16,vector(0,0,0));
wait(2); // let level load
........................
}
-------------------------------------
it's working now on 7.07.

Re: Newton breakable entity example [Re: Emre] #182593
02/18/08 14:35
02/18/08 14:35
Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
great dude.

harika.


3333333333
Re: Newton breakable entity example [Re: Quad] #182594
02/18/08 16:30
02/18/08 16:30
Joined: Aug 2002
Posts: 673
Las Cruces, NM
JimFox Offline
User
JimFox  Offline
User

Joined: Aug 2002
Posts: 673
Las Cruces, NM
I sat down and worked with this a few minutes. With your code change, it worked fine on my system (A7). Without your changes, it crashed.
This is really quite impressive.
Do you have any tips for making breakable models? I think I see what you did, but my attempt is not coming together easily.
Anyway, a very helpful demo.
Thank you very much.


Jim
Re: Newton breakable entity example [Re: JimFox] #294116
10/16/09 13:05
10/16/09 13:05
Joined: May 2009
Posts: 5,365
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,365
Caucasus
SOME ONE, PLEASE REUPLOAD THIS GREAT CONTRIBUTION!!! frown


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1