ID:268750
 
I created a grid effectively around player using -

screen_loc="" to ""

that's fine and dandy but with turning on the edge_perspective thing so that you don't see the edge of the map, the player will move but the screen objects won't...

what would you reccommend for getting around this and having the grid move with the player? Just getting rid of edge perspective?
Is the grid density = 1? I can't remeber correctly but,you might just want to make the different parts of the grid an overlay, and set their pixel_y and pixel_x then have their density 0. I had this for a two tiled mob, and his head was able to go under the edge.

I have an example...if you want to see what I mean.
Also, Ill add in how I made it not go past the edge(both player and his head)

area
playerhead
density = 0
icon = 'Mob.dmi'
icon_state = "BLUETOP"
layer=MOB_LAYER+9999-
pixel_y=32
mob
Login()
src.icon='Mob.dmi'
//src.icon_state = "player"
world << "[src] has logged in!"
src.loc=locate(1,2,1)
src.overlays+=/area/playerhead

Now for the part to stop him...
client
North()
var/atom/T=locate(mob.x,mob.y+2,mob.z)
if(T){if(T.density){return};else{return..()}}
if(world.maxx==usr.x+1)return
West()
var/atom/T=locate(mob.x-1,mob.y+1,mob.z)
if(T){if(T.density){return};else{return..()}}
else return ..()
East()
var/atom/T=locate(mob.x+1,mob.y+1,mob.z)
if(T){if(T.density){return};else{return..()}}
else return ..()