Question

I am working on a 2D game. I want to draw circle (its not completely like circle but player should end at the same point from where he started.

enter image description here

Était-ce utile?

La solution

If you are planning to do this in 2D you can use the Texture2D.SetPixels and Texture2D.SetPixel methods. If you want to make it in 3D you can either create a prodedural mesh or try some clever use of the TrailRenderer.

Autres conseils

Please refer the below link for basic idea

http://www.codeproject.com/Articles/22776/WPF-DrawTools

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top