tile - How to repeat a bitmap with allegro 5 -
i have 400x400 image need tile in allegro 5. need tile various sizes cannot create larger image. however, google search returned nothing this, nor did search on site. there way of doing (like can in directx/opengl texture wrapping, clamping , reflecting) without drawing image on , on again?
both graphic apis internally, there no "tiling" function included on allegro have implement own.
render time impact non-existing since still below millions of triangles per second current cards can draw. bonus, can use al_hold_bitmap_drawing(true)
draw tiles wish same bitmap have more framerate.
Comments
Post a Comment