Ignore:
Timestamp:
2014-07-25 12:35:58 (8 years ago)
Author:
mijoilmo
Message:
 
Location:
2014/30/MikkoI/rainbowSimulator
Files:
4 added
2 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • 2014/30/MikkoI/rainbowSimulator/frakt.sln

    r5650 r5693  
    22Microsoft Visual Studio Solution File, Format Version 11.00 
    33# Visual Studio 2010 
    4 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "frakt", "frakt\frakt\frakt.csproj", "{F9E4E698-C16A-4607-A0C5-F26305364268}" 
     4Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "rainbowSimulator2014", "frakt\frakt\rainbowSimulator2014.csproj", "{F9E4E698-C16A-4607-A0C5-F26305364268}" 
    55EndProject 
    6 Project("{96E2B04D-8817-42C6-938A-82C39BA4D311}") = "fraktContent", "frakt\fraktContent\fraktContent.contentproj", "{223295BE-ACF3-44C6-B8A3-41C3A9AB2E31}" 
     6Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "fraktContent", "frakt\fraktContent\fraktContent.contentproj", "{223295BE-ACF3-44C6-B8A3-41C3A9AB2E31}" 
    77EndProject 
    88Global 
  • 2014/30/MikkoI/rainbowSimulator/frakt/frakt/Game1.cs

    r5650 r5693  
    1111using System.Threading; 
    1212 
    13 namespace frakt 
     13namespace rainbowSimulator 
    1414{ 
    1515    /// <summary> 
    1616    /// This is the main type for your game 
    1717    /// </summary> 
    18     public class WooooFract : Microsoft.Xna.Framework.Game 
     18    public class rainbowSimulator2014 : Microsoft.Xna.Framework.Game 
    1919    { 
    2020        GraphicsDeviceManager graphics; 
     
    3232 
    3333 
    34         public WooooFract() 
     34        public rainbowSimulator2014() 
    3535        { 
    3636            graphics = new GraphicsDeviceManager(this); 
    37             graphics.PreferredBackBufferWidth = 800; 
    38             graphics.PreferredBackBufferHeight = 600; 
     37            graphics.PreferredBackBufferWidth = 400; 
     38            graphics.PreferredBackBufferHeight = 300; 
    3939            Content.RootDirectory = "Content"; 
    4040        } 
     
    110110                    for (int x = 0; x < image.Width; x++) 
    111111                    { 
    112                         data[x + y * image.Width] = getColor(x + (float)random.NextDouble() * anim / 100 + anim, y + 2); 
     112                        data[x + y * image.Width] = getColor(x + anim, y+100); 
    113113                    } 
    114114                } 
  • 2014/30/MikkoI/rainbowSimulator/frakt/frakt/Program.cs

    r5650 r5693  
    11using System; 
    22 
    3 namespace frakt 
     3namespace rainbowSimulator 
    44{ 
    55#if WINDOWS || XBOX 
     
    1111        static void Main(string[] args) 
    1212        { 
    13             using (WooooFract game = new WooooFract()) 
     13            using (rainbowSimulator2014 game = new rainbowSimulator2014()) 
    1414            { 
    1515                game.Run(); 
Note: See TracChangeset for help on using the changeset viewer.