Original Post
Someone on gamedev referred me to Jason Lam's site for his e-book on J2ME games. I'm wondering about the way he structures his menu system. Basically each menu and submenu is a List. But since it's a game, you'd probably want to make each one a Canvas so you could use colored fonts and images. (He also has a couple examples of menus with Canvases). What do you guys think of this design? It seems ok at first, but that's gotta be taking up so much memory on a teeny tiny cell phone. It seems like it would be better to just have one canvas and have if statements to see which menu you're in, or if you're in the game. Of course this would make the code sloppier and there would be way more code per file. Plus the game would be running if statements every loop. Which approach do you think is better? Or is there another design that you use?