Original Post
Just want to start out saying that I love this forum, and GameDev.net as a whole. No other site has been as inspiring and helpful, and I thank all of you who are willing to give up programming time, to share your knowledge and experience of the noble art of game development. That said, I shall proceed to introduce my project that began as an idea about one year ago. About a year ago I began working on an idea for a 2D role-playing game. Being a beginner I have written and re-written the game engine a number of times as I have learned new things Here's some info: For graphics I'm using bitmap images, and Direct3D's sprite renderer, and the code is written in C#. Now, I'm not going to bore you with too many details on the project, but I need some advice: The game's perspective is a 2D isometric view from above, where I simulate depth by rendering the more distant sprites first. The difficulty comes when I want to add simple primitives like rectangles for controls and textboxes for example. I use the Direct3D.Device object's DrawUserPrimitives method to render these, but the problem is that they end up behind my sprites. Of course, the primitives drawn with this method are really 3D-objects so they are rendered differently than the sprites. Any advice on how to solve this? And should I really be using the DirectX.Direct3D library for a 2D game? Or should I try another library? Thanks