Jump to content

Using Particles


MistPhizzle

Recommended Posts

I am looking to play a particle effect around the player. How would I go about doing this. I would need a way to customize the type of particle (I am not looking into adding any new particles), the radius around the player it goes, and how long it goes. I was unable to find a tutorial on this stuff. Thanks in advance for any help.

Link to comment
Share on other sites

Use EntityFX or any subclass.

 

I was looking at the player.worldObj.spawnParticle, and that seemed to do the trick. I'm more interested in knowing how to make particle effects last for some period of time (repeating (I assume with a for loop) and how to make them swirl around the player. (Possibly using a radius)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.