سؤال

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