Changeset 5693 for 2014/30/MikkoI/rainbowSimulator
- Timestamp:
- 2014-07-25 12:35:58 (8 years ago)
- Location:
- 2014/30/MikkoI/rainbowSimulator
- Files:
-
- 4 added
- 2 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
2014/30/MikkoI/rainbowSimulator/frakt.sln
r5650 r5693 2 2 Microsoft Visual Studio Solution File, Format Version 11.00 3 3 # Visual Studio 2010 4 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = " frakt", "frakt\frakt\frakt.csproj", "{F9E4E698-C16A-4607-A0C5-F26305364268}"4 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "rainbowSimulator2014", "frakt\frakt\rainbowSimulator2014.csproj", "{F9E4E698-C16A-4607-A0C5-F26305364268}" 5 5 EndProject 6 Project("{ 96E2B04D-8817-42C6-938A-82C39BA4D311}") = "fraktContent", "frakt\fraktContent\fraktContent.contentproj", "{223295BE-ACF3-44C6-B8A3-41C3A9AB2E31}"6 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "fraktContent", "frakt\fraktContent\fraktContent.contentproj", "{223295BE-ACF3-44C6-B8A3-41C3A9AB2E31}" 7 7 EndProject 8 8 Global -
2014/30/MikkoI/rainbowSimulator/frakt/frakt/Game1.cs
r5650 r5693 11 11 using System.Threading; 12 12 13 namespace frakt13 namespace rainbowSimulator 14 14 { 15 15 /// <summary> 16 16 /// This is the main type for your game 17 17 /// </summary> 18 public class WooooFract: Microsoft.Xna.Framework.Game18 public class rainbowSimulator2014 : Microsoft.Xna.Framework.Game 19 19 { 20 20 GraphicsDeviceManager graphics; … … 32 32 33 33 34 public WooooFract()34 public rainbowSimulator2014() 35 35 { 36 36 graphics = new GraphicsDeviceManager(this); 37 graphics.PreferredBackBufferWidth = 800;38 graphics.PreferredBackBufferHeight = 600;37 graphics.PreferredBackBufferWidth = 400; 38 graphics.PreferredBackBufferHeight = 300; 39 39 Content.RootDirectory = "Content"; 40 40 } … … 110 110 for (int x = 0; x < image.Width; x++) 111 111 { 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); 113 113 } 114 114 } -
2014/30/MikkoI/rainbowSimulator/frakt/frakt/Program.cs
r5650 r5693 1 1 using System; 2 2 3 namespace frakt3 namespace rainbowSimulator 4 4 { 5 5 #if WINDOWS || XBOX … … 11 11 static void Main(string[] args) 12 12 { 13 using ( WooooFract game = new WooooFract())13 using (rainbowSimulator2014 game = new rainbowSimulator2014()) 14 14 { 15 15 game.Run();
Note: See TracChangeset
for help on using the changeset viewer.