Skip to content

MemoryLeakHub/Water2D-Unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity 2D Water Tool

This is simple tool to create 2D Water, the whole code is exaplained and dispalyed how it works in a tutorial here: (2D Water Tutorial with Sprite Shape in Unity - YouTube) It contains 2 Scenes:

  1. ExamplesScene - you can see how the water is made step by step.
  2. FinalPreviewScene - the full water and a box that interacts with it

2D%20WATER.png

All the Steps with the timestamps:

  1. Intro: (00:00)

  2. Creating a spring movement: (00:40)

  3. Damping movement: (02:25)

  4. Spreading movement between springs on impact: (02:57)

  5. Creating a shape with sprite shape: (04:07)

  6. Adding points dynamically to the sprite shape: (05:20)

  7. Moving the sprite shape waves with the springs: (07:06)

  8. Smooth waves: (08:42)

  9. Update wave count: (09:30)

  10. Create wave on impact: (10:27)

  11. Add buoyancy 2d: (11:48)

  12. Outro: (12:23)

If you would like to see more Guides for Unity, adding more examples for existing ones or completely new series and you have ideas or something you are interested in. contact me or write in the comments of some of the videos.

If you would like to support the channel you can leave a like and subscribe as this helps me a lot!