Problem description:
Ok, i'm not really the best at interfaces/interface coding but theres on thing i really need help on is the resolution/map viewing, I am wanting to create a screen that is probably 1100x670 map, since i'm wanting to create a whole screen view of the map rather than a little screen like most games.
the code world/view = ( i'm not sure what to put here to fix the problem, most have it at 8 or "19x17")
and if theres any other code involved , could you please mention it ^.^
if anyone can help it will be most appreciated
ID:618326
|
|
If you haven't already, you may want to check this link out for learning more about interfaces. Making Skins in BYOND 4.0 Lesson 1
As for your specific problem there are probably a couple ways to handle it. Javascript is, indeed, one method. It may be tougher than an alternative or two, but it could be more flexible too. One alternative would be to consider making the interface prepared for a common screen resolution like 1024x768, then just setting the maps anchors to where it will increase in size on maximize. Once that's done, just use the code mentioned above and the game would be full screen just with black space to cover any portion of the map that isn't used by view. The black space may not be ideal, but the only way I know of to prevent it would be to adjust the view along with the map size and since that would be specific for each player some would see further than others, and that's not a good idea for most games. A single player, maybe, but multi-player? Most likely not. I hope this helps, and good luck! |
That should put the game really into full screen. I also would recommend that you look into some Javascripting(I think its Javascript anyways) to retrieve the persons resolution and make the games screen according to the person. I think it can be done in byond too but I only heard about the javascript way.