1 decade ago by Blammo
It would be nice to be able to make two versions of a game at different scales but keep the same game logic - and I don't mean using the current "scale" parameter passed into main. I mean, for example, I might want to have a website that runs a game at 960x640 and uses a graphics set with 48-pixel tiles, and a phone version that runs at 480x320 and uses another graphics set with 24-pixel tiles - and maybe even a "mini" version at half that size!
Currently all I can do is make the pixels bigger or smaller. I could sort of hack it together, by coding for a large size and specifying 0.5 or 0.25 in the scale param, but that's not as nice.
No big deal if you can't do this - just a thought, that's all. :o)
Currently all I can do is make the pixels bigger or smaller. I could sort of hack it together, by coding for a large size and specifying 0.5 or 0.25 in the scale param, but that's not as nice.
No big deal if you can't do this - just a thought, that's all. :o)