Вопрос

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

Это было полезно?

Решение

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.

Другие советы

Please refer the below link for basic idea

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top