Which would be better...

Hey,

I just had a thought after checking out a few new threads around here and I wasn’t sure what to search for to find an answer to this question so… When creating a simple interface for a game such as the one being used here ( http://www.java-gaming.org/topics/farming-game/30253/view/topicseen.html ) would it be better to create the interface as image files and then load/render them on the screen or draw it out using math and a few g.drawLine()'s or whatever the proper statement is.

Images. Especially with something that simple. There would be no real gain from drawing them directly outside of a slightly smaller executable. But really, with a UI that is such low res and has such few colors, the images would be quite small.

I guess if you just wrote a function/method that you could send in a couple parameters to give you any size/shape container, then I suppose drawing them yourself wouldn’t be so bad as it would be easier to hold the theme for all your components without having to create a separate image for each.

I don’t really know how all that is done, though. I just use images.

I would do it the same as in a ‘complicated’ game… Math, math, image there, image there, text here… So it looks good on all screen sizes and you can easily expand it with new fruit types, etc.