Special case with texture

N

Neihra

Guest
Hi all :)

I have a special problem with my texture which works perfectly when i'm using view tool in the room editor:



but now i need to custom a little bit this view and when i modify it directly in a step event i get this:



If you can't see the images it's like a texture bug, we can see the borders of the texture on the second one and not on the first one, i don't really know why


I just added this in a step event:

Code:
if(instance_exists(obj_body))
{
view_xview[0] = obj_body.x - view_wview/2;
view_yview[0] = obj_body.y - view_hview/2;
}
obj_body is the player
 
Top