0
votes
1answer
188 views

Removing drawn Allegro texts and primitives

I'm working on a game with Allegro 5 that has a loop. I'd like to make the program write onto the screen, how much time the loop has ended. These are the rounds of a turn-based game, obviously. I use ...
2
votes
1answer
372 views

How to refresh allegro textprintf_centre_ex text upon keypress?

I'm trying to print the coordinates of a drawn square upon movement. The problem is that the x value doesn't get refreshed on screen. This is the code I have: #include <allegro.h> BITMAP ...