Re: [Tutor] moving objects in only one direction at a time

2015-06-11 Thread Danny Yoo
In an event-driven game, you need to give control back to the event loop in order for the framework to pass events to your program. Your main function, however, doesn't do so: you've got a while loop that monopolizes control flow: def game(): # ... game initialization logic while playing:

Re: [Tutor] moving objects in only one direction at a time

2015-06-11 Thread Alan Gauld
On 11/06/15 08:19, Tudor, Bogdan - tudby001 wrote: Sorry if this sends twice, I had to change subject line. I am using python 3.4.3 on windows 7 64bit. OK, But always start a new topic with a new message. By replying to an old post your message is now buried at the bottom of a very old thread

[Tutor] moving objects in only one direction at a time

2015-06-11 Thread Tudor, Bogdan - tudby001
Hi, Sorry if this sends twice. I am using python 3.4.3 on windows 7 64bit. I'm using John M. Zelle graphics module. Graphics module: http://mcsp.wartburg.edu/zelle/python/graphics/graphics/graphics.html I am trying to create user movable blocks that can only move in one direction at a time. Th

[Tutor] moving objects in only one direction at a time

2015-06-11 Thread Tudor, Bogdan - tudby001
Hi, Sorry if this sends twice, I had to change subject line. I am using python 3.4.3 on windows 7 64bit. I'm using John M. Zelle graphics module. Graphics module: http://mcsp.wartburg.edu/zelle/python/graphics/graphics/graphics.html I am trying to create user movable blocks that can only move i