Page 1 of 1

A guide to create Entities?

PostPosted: Wed Aug 28, 2013 09:44
by DigAmy
I want to create ostile and passive entities.. exist a guide to do this?Help me!
-DigAmy

PostPosted: Wed Aug 28, 2013 11:36
by PilzAdam
Entities are just objects that can be moved freely in the world, there is no option for them to be "hostile" or "passive", you have to code all that on your own.

PostPosted: Wed Aug 28, 2013 11:38
by DigAmy
PilzAdam wrote:Entities are just objects that can be moved freely in the world, there is no option for them to be "hostile" or "passive", you have to code all that on your own.
Ok... but exist a guide?

PostPosted: Wed Aug 28, 2013 11:39
by PilzAdam
DigAmy wrote:
PilzAdam wrote:Entities are just objects that can be moved freely in the world, there is no option for them to be "hostile" or "passive", you have to code all that on your own.
Ok... but exist a guide?

No. There is just documentation about the API to create and handle entities, but there is no guide that tells you step by step what to do to get mobs.

PostPosted: Wed Aug 28, 2013 11:41
by Evergreen
DigAmy wrote:I want to create ostile and passive entities.. exist a guide to do this?Help me!
-DigAmy
You can use the mobf framework for passive and aggressive mobs. It is much easier than coding it from scratch. :P

PostPosted: Wed Aug 28, 2013 11:42
by DigAmy
PilzAdam wrote:
DigAmy wrote:
PilzAdam wrote:Entities are just objects that can be moved freely in the world, there is no option for them to be "hostile" or "passive", you have to code all that on your own.
Ok... but exist a guide?

No. There is just documentation about the API to create and handle entities, but there is no guide that tells you step by step what to do to get mobs.
Ah ok thank you

PostPosted: Wed Aug 28, 2013 11:47
by Neuromancer
I'm still suggesting that more of the mob framework be implemented in the C++ engine to prevent lag. We'll see what Pilz and the others say.

PostPosted: Wed Aug 28, 2013 11:57
by DigAmy
Neuromancer wrote:I'm still suggesting that more of the mob framework be implemented in the C++ engine to prevent lag. We'll see what Pilz and the others say.
Good

PostPosted: Wed Aug 28, 2013 15:37
by webdesigner97
Neuromancer wrote:I'm still suggesting that more of the mob framework be implemented in the C++ engine to prevent lag. We'll see what Pilz and the others say.

Don't call him Pilz ;)