Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 20:05
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, kzhao), 901 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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 | 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