ID:157364
 
I've been away from coding for awhile so I've completely forgot how to do this, lol.

Here is what I have so far

world/name = "Game Test"
world/view = "15x10"

client
Northeast()
Northwest()
Southeast()
Southwest()

mob
New()
usr.icon = 'PCs.dmi'
icon_state="M_Body"
usr.overlays += /obj/PC/M_Head
Login()
src.loc = locate(1,1,1)

obj/PC/M_Head
icon='PCs.dmi'
icon_state="M_Top"
pixel_y = 32

turf/Test/Grass
icon='BaseTurfs.dmi'
icon_state="Grass"
name=""


When I run this in 32x32 icon view *Not stretched*, there is still a black border stretch around
everything so in a way it's "15x10" but with a large black area dividing the screen from the verbs/menu area.

How do I get where only the "15x10" area is the gameplay area without any black surrounding it?
Set the mapsize to 480 * 320 in the interface editor. 15*10 with 32px tiles will esual a 480*320 map.
In response to Emasym
Emasym wrote:
Set the mapsize to 480 * 320 in the interface editor. 15*10 with 32px tiles will esual a 480*320 map.

I've done this before like a year ago, and I didn't have to edit an interface.
If I run an interface I have to worry about the placements of the objects and such but I don't want to deal with that.

Also If I try to add an interface, the window when i run the game doesn't run maximized by default as well.
There is so many problems when editing an interface...
In response to ElderKain
Well, the interface editor is a real powerful tool if you want your game to stand out. It's definitely become a large aspect of game creation on BYOND.

As for your maximizing, place this on Login/New
winset(src, "default", "is-maximized=true")


Winset SETS a "variable" in the window "default" on player "src". Trying to explain this to my best extent here ;|.
In response to Emasym
Emasym wrote:
Well, the interface editor is a real powerful tool if you want your game to stand out. It's definitely become a large aspect of game creation on BYOND.

As for your maximizing, place this on Login/New
winset(src, "default", "is-maximized=true")

Winset SETS a "variable" in the window "default" on player "src". Trying to explain this to my best extent here ;|.

Either way, I'd have to deal with the placement & anchoring aspects of the parts in the interface anyways. It's too much trouble to deal with >.<i guess i'm gonna have to use an interface with a fixed size non-resizable window then.
<br/> Oh well... >.<

I was hoping to make this project have the "15x10" size without having to use an interface >.<
In response to ElderKain
You could always winset the interface dynamically at run-time.