Frage

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

War es hilfreich?

Lösung

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.

Andere Tipps

Please refer the below link for basic idea

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top