Do note that aspect ratio and resolution are different things. When you go from 4:3 to 16:10, you want the stuff in the bottom left to stay in the bottom left rather than he halfway across the screen, and you also want it to not be stretched; this is correcting for aspect ratio. Correcting for resolution is making them stay the same onscreen size.
Both are easy to do with a spriting system, but as long as your HUD is composed of separate elements you can actually adjust for aspect ratio quite easily using 2D mode too just by using relative positioning (e.g. draw at XSize - rightN rather than an absolute leftward number). Of course you will see much better results with a sprite system anyway (much better performance for a start).
For dealing with scaling, you should look up the term "virtual resolution". As long as your base graphics are detailed enough, or vectorised, the 2D engine can be made to do all the work for you without any code modification.
|