Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 16,643 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
entity definition vs entity creation #165091
11/02/07 05:52
11/02/07 05:52
Joined: Feb 2006
Posts: 32
Philippines
Rush Offline OP
Newbie
Rush  Offline OP
Newbie

Joined: Feb 2006
Posts: 32
Philippines
Good day everyone

Can anybody tell me the difference between a model that has been defined and one that is invoked using ent_create() function? Would there be any significant differences in rendering speed and/or behavior (like how it will react everytime you load a new level)?

Thanks in advance


FAVORITE CHARACTERS KO:
***
[image]http://www.freewebs.com/circledemonbloodrush/avatar2.JPG[/image]
***
The easiest way to kill the most lethal martial artist in the world is to get a gun.
Re: entity definition vs entity creation [Re: Rush] #165092
11/02/07 09:45
11/02/07 09:45
Joined: May 2007
Posts: 175
Germany
dblade Offline
Member
dblade  Offline
Member

Joined: May 2007
Posts: 175
Germany
Now, with ent_create(), you can create entities dynamicaly,
means you can write sth. like
Code:

...
while(1)
{
ent_create(...); //create a lot of useless ents :D
wait(...);
}
...


A defined model isn't generated dynamicaly, it is automatically created, when
you load the level with it.

Re: entity definition vs entity creation [Re: dblade] #165093
11/02/07 16:18
11/02/07 16:18
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
A defined entity is in your Game from beginning ( Monsters and so on ).
A entity with ent_create can come later in your Game ( Fireballs, that the
monster shot on the player if he sees him). That is the only different


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | 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