1) How to I wrap text with winset? I am using 3 seperate labels cause I couldn't figure it out. (By wrap text I mean the equivalent of new line "\n")
So this is my code currently:
Login()
var/savefile/F = new(ckey)
Read(F)
usr.Move(locate(55,27,1))
icon_state = gender
PLAYERS.Add(src)
winset(src, "usernameLabel", "text = [src.key]")
winset(src, "rankLabel", "text = Administrator")
winset(src, "goldLabel", "text = [usr.gold] gold")
world << "<b>[usr] has logged in!"
..()
http://prntscr.com/bqkvi3
As you can see I am using 3 separate labels instead of 1 since I couldn't figure it out. Also for some reason after a variable or a colon the rest of the text does not seem to appear so clarification on that would be appreciated for future reference.
2) Making game screen bigger? I have a custom interface set up and in the following screenshot is what I mean. (P.S: Do not mind the runescape sprites they are simply there to remind me what each button is. I would NEVER release a game without having proper asset licensing!)
http://prntscr.com/bqkvi3
3) Is there any code examples on how big icons are used? It is a necessity for my game that i use larger tree sprites, among other resources needed to be above 32 x 32, and couldn't see any examples on the docs.
*BONUS QUESTION* 4) Is it possible to have a minimap system in byond? I know it's a stretch but I am curious if it's actually possible to render a minimap that scrolls with player movement, similar to runescape's.
http://prntscr.com/bqkwjc
Probably the safest solution:
See the DM Reference entry for winset() for more information. The DM Reference is also built into Dream Maker; access it with F1.
(also you're mixing up usr and src in your Login() proc, just fyi)
2) Set client.view at runtime to fit your map element on resize.
Ter13 has a tutorial on this.
3. There's nothing special you have to do for big icons. They just work automatically, unless you're using the old world.map_format = TILED_ICON_MAP, which is not default.
DM Reference entry on using big icons
DM Reference entry on using tiled icons
4. DarkCampainger's Interface Minimap library might help.