Jump to content
  • Advertisement
Sign in to follow this  
Ultimate_Fusion

2d water simplest way

This topic is 4114 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am making a 2d game mario style and one level I want water going across the screen inline with the platform. e.g platform water ________________ _/\_ _/\_ /\__ _/\ I dont want anything fancy, just so it "looks like water" and maybe some collision detection that isn't per pixel. i found this but it loks a bit hard for what i want to do. http://www.gamedev.net/reference/articles/article915.asp thanks for looking UF

Share this post


Link to post
Share on other sites
Advertisement
Build a 2 grid of triangles. Say 10 triangles across and down. Then the top row, you can animate the y position on a sinewave.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!