Since I have huge game rooms (4096+) I thought that surfaces the size of the room would be to big, so what I did was making it smaller and make it move with the view.
The only problem is, it looks like this:

Here it looks like it should, however this is what it looks like when I move the view:

The shadows move too while the object just remains at its position.
The code I use for drawing the surface:
draw_surface_ext(shadowsurf,surfx,surfy,1,1,0,c_white,salpha);
surfx and surfy are updated in the end step event:
surfx = view_xview[0]; surfy = view_yview[0];
Can someone tell me what I'm doing wrong



Find content
Male



