Alexander wrote:
hi alexander, i know we have at least one other user from brazil, so you might be able to get some portuguese help? for now you'll have to try reading my help.I'm brazilian and I don't speak english, but I try.
Recently I decide write school games using python. But I never write games in any language.games are a little different than most programs. it is sort of like writing programs with full UIs. the part that makes it hard is that no part of the game can take too long, or it makes the entire game stop.
since you have used these other languages, you should have no trouble learning python. there are many good tutorials, but if you just look at other people's programs you should learn enough to get started.I program in PHP, ASP, VB, Perl and C, but never with games.
do you mean stays black? or is something blinking? in pygame, anytime you draw on the display Surface you need to tell pygame to update the screen. the simplest way is to call pygame.display.flip(), which will update the entire screen.So, I need some help to start my first screen. I just need create one screen with one color. I can do this, but my screen stay blink all the time.
Somebody can send to me one example(with coments) about create one screen with some color(what module i need use, what functions, what make that functions).here is the simplest example i can come up with to fill a window with a color. everytime the mouse is pressed it will change colors.