|
|
| Player Movement Problem |
|
edwin velasquez
Member #5,578
March 2005
|
i am new to game problem with allegro and i cannot get my object to move without seeing the objects remain as a move. Here is my code
Can anyone tell me how i can fix this code. Thank you in advance. |
|
Kitty Cat
Member #2,815
October 2002
|
Callclear_bitmap(buffer);after blitting it to the screen. Also, you shouldn't acquire the screen while you're not drawing to it. Since you're only blitting to the screen, Allegro will take care of it fine for you. -- |
|
edwin velasquez
Member #5,578
March 2005
|
thx i got it to work. |
|
Ceagon Xylas
Member #5,495
February 2005
|
just a quick note: you do know that you can use the simple math operations like y+=1; right? or if you're doing increments by 1, use y++; or y--; It works exactly the same, just saves ya a little time in coding. Good luck with the game! |
|
|