So i'm tryna make this game shit, but the beautiful scene envisioned on the map is not making its debut on the game. I added a screen size change system and everything, but it doesn't seem to be getting any better, can you guys tell me how it would look better?
http://img821.imageshack.us/img821/1847/gamething.png
ID:156716
Aug 9 2010, 4:59 pm
|
|
Aug 9 2010, 5:03 pm
|
|
world/view and client/view are what set the size of the map screen in tiles.
|
In response to Skyspark
|
|
I see, could you go more into detail with that, like the code? (Newb coder)<--
|
In response to AnimeBeyond
|
|
In response to AnimeBeyond
|
|
By default, world/view is '5'. It's the default for client/view, so client/view is also '5'.
That means that a player's map area is going to show '5*2 + 1', or 11, tiles. If you want to show more or less tiles then change view to something else. You can have rectangular views too. world/view = "10x5" would have a map area 10 tiles wide and 5 tiles high. If you want to know how many pixels that is for a map element at 100% size, multiply it by the width of your tiles. With a view size of 10x5 and a default tile size of 32x32 pixels, that's 320 by 160 pixels. |
In response to Skyspark
|
|
Oh yeah, I have both of those coded in, but I can't seem to find just the right balance to make it look good, it looks so off focus.
|
In response to AnimeBeyond
|
|
If it looks off-focus, it's probably because the view size, in pixels, doesn't exactly match the size of the map element in the interface.
The map properties in the interface has a button called 'size to view' that lets you size the map perfectly. There's also a checkbox for stretching the icons to fit the map when they don't match up. You can unclick that checkbox too if you want. |
In response to Skyspark
|
|
WHEW! Thanks for that, its fixed.
|