Ignore:
Timestamp:
2011-06-30 10:36:54 (8 years ago)
Author:
teeevasa
Message:

initial bullet collision

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2011/26/JaakkoL/Rogue Agent 2372/Rogue Agent 2372/Rogue Agent 2372/Peli.cs

    r2337 r2338  
    1717    { 
    1818        Gravity = new Vector(0, -1000); 
    19  
    2019        createLevel(); 
    2120 
     21        // Starts playing the background music, which is set to repeat 
    2222        MediaPlayer.Play("Sounds/Stage1Music"); 
    2323        MediaPlayer.Volume = 0.5; 
     24        MediaPlayer.IsRepeating = true; 
    2425 
    2526        Camera.Follow(player); 
     
    2829    } 
    2930 
     31 
     32    // Creates the level from a text file 
    3033    void createLevel() 
    3134    { 
     
    4346    { 
    4447        player = new Player(33, 74, Shape.Rectangle); 
    45         //Image i = LoadImage("Images/character"); 
    46         //player.Image = i; 
    4748        return player; 
    4849    } 
Note: See TracChangeset for help on using the changeset viewer.