Jump to content

how to make real time blood trail and splatter


mickeyren
 Share

Recommended Posts

I'm trying to code this blood trail and splat in the code

5a6d034613e14_2018-01-27at1_35AM.gif.8942cedbbf183d588a3f2cea80b16900.gif

 

After so many hours, I end up with this, a far cry from what i want.

5a6d031dd0358_2018-01-28at6_51AM.gif.0affc2392b80309240ed51bee0c34533.gif

 

I'm only using Phaser Arcade Physics, applying force and rotation to a group of "pixel blood" and stamping randomly sized square pixel and sprites that look like this along the movement of the "pixel blood"

b1.png.9367631892e583956df487826fff3ba6.png

Any chance to do something like above without going through shaders?

Link to comment
Share on other sites

Okay decided I'll go with this instead first:

5a7534df59e7e_2018-02-03at11_59AM.gif.cab8589913ea8117f61b61a5638106a3.gif

If you guys have any suggestions on how to improve this let me know so I can include it in the tutorial i'm writing on how i did this. 

At the moment it's a circle shape, squeeze horizontally to create the blood pool and vertically to create the drops/hangs from the pools.

The rest are just tweens, gravity and tile collision checks.

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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...