Luis C.M
728269ff87
ScriptEntityParticle:
...
-Added width, offset, and animation rate attributes to particles.
-Added setSize(), getWidth() and getHeight() functions.
-Added setOffset(), getOffsetX(), and getOffsetY() functions.
-Added setAnimRate() and getAnimRate() functions.
2022-05-06 00:22:28 -05:00
Luis C.M
f16e2402a6
ScriptEntityParticle:
...
-Added scripted particles which can not face the player, having their angles be absolute in the world instead of relative to the camera.
-set/getFacePlayer() functions added.
2022-05-04 18:08:54 -05:00
luisc
1cb27a9e7a
Implemented XYZ rotations correctly, now clearly rotate around an axis respective to the player's camera.
2022-03-04 18:08:05 -06:00
luisc
75b7c01f87
Removed some unnecessary fields in ScriptEntityParticle
2022-03-02 19:36:15 -06:00
luisc
7f8246e04e
PARTICLE ROTATION
2022-03-02 18:18:03 -06:00
luisc
12333de3a1
knockback() function for ScriptEntity now *only* knocks the entity back instead of hitting it.
...
Flying NPC's get knocked back properly, and their vertical speed has been increased.
Flying NPC's vertical flying speed can be changed by npc.setFlySpeed(double speed) from ScriptNpc.
2021-12-06 00:10:10 -06:00
luisc
72f2c3c60a
Implemented global Forge events. Reorganized NPC API files.
2021-10-18 06:33:39 -05:00
luisc
71e13a177f
Removed Entity field from ScriptEntityParticle
2021-09-08 13:45:50 -05:00
luisc
c39ebc4909
Added ScriptEntityParticle class to store and modify scripted particle objects in code. Added support for this calss to ScriptWorld and ScriptEntity.
2021-09-08 13:41:57 -05:00