meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ssotc2009:group02 [2009/08/22 15:06]
hevi
ssotc2009:group02 [2009/08/23 18:31] (current)
eepi
Line 9: Line 9:
   * Erik Taavila (eepi)   * Erik Taavila (eepi)
   * Petri Heinilä (hevi)   * Petri Heinilä (hevi)
 +
 +Final screenshot of working game application
 +
 +{{:ssotc2009:plusone_photo2.jpg|Photo on the final app screen}}
 +
 +
  
 ==== IDEA ====  ==== IDEA ==== 
Line 14: Line 20:
 //Two player challenge each other in memory game. Game is in N810 screen where each players has 5 sound buttons to press. First player press 1 sound button. Second player responds to it and adds one sound more to memory sequence. First player the responds to 2 sounds and adds one sound more. Second responds to 3, first to 4, second to 5 and so on. The player who make first error in correct order in sound sequence loses and other player wins.// //Two player challenge each other in memory game. Game is in N810 screen where each players has 5 sound buttons to press. First player press 1 sound button. Second player responds to it and adds one sound more to memory sequence. First player the responds to 2 sounds and adds one sound more. Second responds to 3, first to 4, second to 5 and so on. The player who make first error in correct order in sound sequence loses and other player wins.//
  
-{{:ssotc2009:first_layout.png|}}+Initial schetcing of UI layout 
 +{{:ssotc2009:first_layout2.png|Initial idea on the UI}}
  
 **+1 Memory Game** is a musical game software where two or more users compete with each other in recognizing what musical notes the opponent played in recent turn. Also this game will be developed with an intention to teach users the various basic musical notations like guitar chords or drum notes or piano chords. **+1 Memory Game** is a musical game software where two or more users compete with each other in recognizing what musical notes the opponent played in recent turn. Also this game will be developed with an intention to teach users the various basic musical notations like guitar chords or drum notes or piano chords.
Line 63: Line 70:
 ===== Technical problems and help ===== ===== Technical problems and help =====
  
-Scaling image doesnt work properly then heres a sample code!+If you need to scale image then heres a sample code!
  
         def getImageFromFile(self, fileName, width):                 def getImageFromFile(self, fileName, width):        
-        #GUITAR IMAGES +          pixbuf = gtk.gdk.pixbuf_new_from_file(fileName) 
-        pixbuf = gtk.gdk.pixbuf_new_from_file(fileName) +          pixbuf = pixbuf.scale_simple(width, width, gtk.gdk.INTERP_BILINEAR) 
-        pixbuf = pixbuf.scale_simple(width, width, gtk.gdk.INTERP_BILINEAR) +          fileImage = gtk.Image() 
-        fileImage = gtk.Image() +          fileImage.set_from_pixbuf(pixbuf) 
-        fileImage.set_from_pixbuf(pixbuf) +          return fileImage
-        return fileImage +
- +
  
 +Code for enabling and disabling buttons
  
 +disable
 +      self.guitarButton.set_sensitive(False)
 +      self.drumButton.set_sensitive(False)
 +enable
 +      self.guitarButton.set_sensitive(True)
 +      self.drumButton.set_sensitive(True)
  
  
Line 81: Line 92:
 ===== Result ===== ===== Result =====
 What did we end up with? Save codes here. What did we end up with? Save codes here.
 +
 +* {{:ssotc2009:plusone-0.1.zip|Result from Code Camp}}
 +
 +* {{:ssotc2009:multimedia.zip|Pictures&Video}}
  
  
Line 88: Line 103:
 * https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/data/themes/?root=jammo * https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/data/themes/?root=jammo
  
-* {{:ssotc2009:media.zip|media.py, just rename .zip to py}} 
-  * media.py inside the directory mediafile {{:ssotc2009:mediafile.zip|}}