I'm working on a mobile game and a level editor for it in C# .NET.
I need a recommendation on which control to use (and some high-level info on how to go about implementing) for the canvas.
I need to be able to:
- drop PNG files, move them, stretch them, rotate, etc.
- be able to read info on all child objects to serialize to XML
- be able to add layers for sprite/png groups
- adjust opacity/ alpha of sprites and layers
Any recommendations on the "canvas" control I should use? I've seen XNA implementations, but given that XNA is moribund and overly complicated, I'd prefer a different, more conventional winforms approach.
Any suggestions greatly welcomed.
Last edited by BigWinston; January 30th, 2013 at 08:25 AM.
Are you writing the editor for use on the Mobile Platform too? An old project i have recently been reviewing used a large picturebox to hold the map image, and a 2d array for placement information. i just added or removed an index to the image into the array, refreshed the picturebox and then moved it to the panel. Dont know if this is the best method but it worked fine for me.
as for the abilities you require, some may be native to c# but i think you may have to write some of the blending stuff (its in XNA but not winforms - i may be wrong though)
i guess you will be targetting more than just windows phones, so im not sure how well XNA will work with Android or Ios, ive never tried or researched the possibilities.