My first visual in PyGame ! THE TRAIN ! .....
One of the first motion pictures was 50 second screening of a train , I took a leaf out of that. My first visual in PyGame is a train passing through a field with birds flying away in the sky.
The visual was made using 4 sketches or rather 3 'sprites' , One for the train , One for the setting and 2 for birds in either directions. The sound effects were my efforts to record train sounds from the London Underground and also the Southern Rail , and then painfully converting them to ogg files.
The visual was made using 4 sketches or rather 3 'sprites' , One for the train , One for the setting and 2 for birds in either directions. The sound effects were my efforts to record train sounds from the London Underground and also the Southern Rail , and then painfully converting them to ogg files.
Video 1 .The Train
THE GOOD BITS !
My first efforts yielded some success !
(1) The train moves !
(2) The birds in both the directions gives a more realistic effect !
(3) 3 movements incorporated in the same scene !
(4) The sound effect was icing to the cake
(5) All of it , from conceptualisation to realisation was mere 4 days !
WHAT REMAINS TO BE DONE !
(1) The train 'glides through' I wish I could make the wheels to go round
(2) It is all too sketchy , B/W ! needs some glamour !
(3) The sound is not in sync with the train's movement
(4) Lack of an user input !
(5) All looks a bit kiddish !
THE CODE
No programming discussion is ever finished without the code !
The code is a single python program (train.py) , available in Reference (2) .
My first efforts yielded some success !
(1) The train moves !
(2) The birds in both the directions gives a more realistic effect !
(3) 3 movements incorporated in the same scene !
(4) The sound effect was icing to the cake
(5) All of it , from conceptualisation to realisation was mere 4 days !
WHAT REMAINS TO BE DONE !
(1) The train 'glides through' I wish I could make the wheels to go round
(2) It is all too sketchy , B/W ! needs some glamour !
(3) The sound is not in sync with the train's movement
(4) Lack of an user input !
(5) All looks a bit kiddish !
THE CODE
No programming discussion is ever finished without the code !
The code is a single python program (train.py) , available in Reference (2) .
(1) Mc Gugan,Will ' Beginning Game Development with Python and Pygame'
(2) Source code , sketches and sound can be downloaded from http://code.google.com/p/pygame-train/downloads/list
(3) MARIO
(4) Pygame project 1380
1 comment:
Very good... keep it up... from Mamma/Baba
Post a Comment