Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///scr_ts();
- var obj=argument[0];
- var tl=argument[1];
- var tl_w=background_get_width(tl);
- var tl_h=background_get_height(tl);
- for (var row=0; row<obj.image_yscale; row++){
- for (var col=0; col<obj.image_xscale; col++){
- tile_add(tl,0,0,tl_w,tl_h,obj.x+(col*tl_w),obj.y+(row*tl_h),obj.depth);
- }
- }
- ///Create the tiles on top of the wall/slope
- scr_ts(id,ts_1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement