so, map design was a problem for a while, but I'm almost finished with 3 worlds
rooms are way more 3D so I thought, shit. I should just use textures.So, i tried thisdraw_primitive_begin_texture(pr_trianglestrip,sprite_get_texture(SPtexture,0))
draw_vertex_texture(x+60,y,1,0)
draw_vertex_texture(x+70,y+50,1,1)
draw_vertex_texture(x,y+40,0,0)
draw_primitive_end()
draw_primitive_begin_texture(pr_trianglestrip,sprite_get_texture(SPtexture,0))
draw_set_color(c_white)
draw_vertex_texture(x,y,0,0)
draw_vertex_texture(x,y+20,0,1)
draw_vertex_texture(x+30,y+30,1,1)
draw_vertex_texture(x+30,y-10,1,0)
draw_vertex_texture(x,y,0,0)
draw_primitive_end()
I'm assuming you want something like this?
(Edit: Switched to a trianglestrip. I'd normally recommend a trianglelist, but less overhead with a strip.)Use this: