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/21 18:16]
raj
ssotc2009:group02 [2009/08/23 18:31] (current)
eepi
Line 1: Line 1:
 +==== BACK TO MAIN ====
 +* [[ssotc2009:start|Click here]]
 +
 ====== Group 2: +1 Memory Game+1 MEMORY GAME ====== ====== Group 2: +1 Memory Game+1 MEMORY GAME ======
  
Line 6: 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 11: 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 29: Line 39:
  
  
-=== Lesson Logic ===+=== Music Classroom Logic ===
 Here users are a Teacher and students (Multiple) Here users are a Teacher and students (Multiple)
   * The teacher selects the theme for musical instrument to teach (like guitar, drum, paino etc)   * The teacher selects the theme for musical instrument to teach (like guitar, drum, paino etc)
-  * The teacher plays one chord or music note and the student in response plays the same music note or chord. In this way students get to hear and learn the different musical instrument notations.+  * The teacher plays one chord or music note and the student in response plays the same music note or chord. In this way students get to hear and learn the different musical instrument notations.
  
  
Line 47: Line 57:
  
  
 +=== Sound Files Used ===
 +  * Format: wav
 +  * Sound Samples of Drum , Guitar, Violin, Trumpet and Piano. {{:ssotc2009:sound_files_ready.zip|}}
  
 +=== Icon Files Used ===
 +  * Format: png
 +  * Icons of Drum , Guitar, Violin, Trumpet and Piano. {{:ssotc2009:new_icon_file.zip|}}
  
  
  
  
 +===== Technical problems and help =====
  
 +If you need to scale image then heres a sample code!
  
 +        def getImageFromFile(self, fileName, width):        
 +          pixbuf = gtk.gdk.pixbuf_new_from_file(fileName)
 +          pixbuf = pixbuf.scale_simple(width, width, gtk.gdk.INTERP_BILINEAR)
 +          fileImage = gtk.Image()
 +          fileImage.set_from_pixbuf(pixbuf)
 +          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 61: Line 93:
 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}}
 +
 +
 +===== Resources =====
 +* https://garage.maemo.org/plugins/scmsvn/viewcvs.php/virtual_instruments/?root=jammo
 +
 +* https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/data/themes/?root=jammo