C
CornerLord
Guest
Hi everyone! How can I change sprite of the floor when my floor+ceiling object code is:
Create event:
Draw event:
I have tried to make a new object and put it top of that default floor by changing depth. It works somewhere but there are some places where it doesnt work
Create event:
Code:
ceil_tex = sprite_get_texture(s_ceiling, 0);
floor_tex = sprite_get_texture(s_floor, 0);
hrep = room_height/32;
vrep = room_width/32;
Code:
d3d_draw_floor(0, 0, 32, room_width, room_height, 32, ceil_tex, hrep, vrep);
d3d_draw_floor(0, 0, 0, room_width, room_height, 0, floor_tex, hrep, vrep);