|
flickering problem |
meinaW
Member #7,943
November 2006
|
can some please help me i got a problem with a this program( I'm not very experience with allegro) #include <allegro.h> BITMAP *maze1,*bullet,*laser; bool bulleet; void prosses() if(bulleet==true) int drawmaze1() { void setup() void input() int main(){ allegro_init(); set_gfx_mode( GFX_AUTODETECT, 800, 600, 0, 0); test=create_bitmap(800,600); setup(); while ( !key[KEY_ESC]) } } END_OF_MAIN(); |
fleboho
Member #7,681
August 2006
|
Ther reason why you are not getting any replies is probably because you items are too long for any one to read it please try and shorten your thread Oh My Oh My Luv Dat Chick-hen |
Ariesnl
Member #2,902
November 2002
|
OK .. You're a beginner that's without any doubt.. some tips.. - make your code readable !!! and put some comment in it. like this
You have more than just a flicker problem AFTER writing some normal programs in a good style .. try to make a SIMPLE game and ask me or anyone else here if you get stuck Perhaps one day we will find that the human factor is more complicated than space and time (Jean luc Picard) |
meinaW
Member #7,943
November 2006
|
Thanks for the tips.. |
LennyLen
Member #5,313
December 2004
|
Quote: k thanks for the tips Here are some more... sentences start with a capital letter, and end in a period (full stop). The personal pronoun, I, is always capitalized, and there's no such word as "mi."
|
BAF
Member #2,981
December 2002
|
Quote:
// Don't do this use blBullet instead Hungarian notation is the worst thing ever. I'd advise AGAINST it because then if you need to change the type later, you will have to go through and update all your references to it. I'd advice a more OOP approach if you're doing C++ anyway. |
Ariesnl
Member #2,902
November 2002
|
that's just search and replace it's one second work ( almost )
Perhaps one day we will find that the human factor is more complicated than space and time (Jean luc Picard) |
|