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:
surfx and surfy are updated in the end step event:
surfx = view_xview; surfy = view_yview;
Can someone tell me what I'm doing wrong ?