2d shapes in XNA 4.0?
Posted
by
Lautaro
on Game Development
See other posts from Game Development
or by Lautaro
Published on 2012-12-14T15:35:53Z
Indexed on
2012/12/14
17:21 UTC
Read the original article
Hit count: 322
Having some experience of XNA but none of 3D programming. I have an idea i want to realize but i have not decided to do it in 3d or 2d. Im not sure which one will be best in XNA.
I want to have a shape like a blob that can reshape depending on input. The morphing does not need to be very advanced. It could be a circle (2d) or globe (3d) that just has one point that moves slightly in a random direction.
In ASP.NET i have made this through the 2d Draw classes where i can make lines, circles, squares etc and then modify the points that makes them up. But it seems to me that XNA does not have classes for making 2d shapes (can i get this confirmed?). If it had, then this would be the quickest solution for me.
© Game Development or respective owner