Changeset 5140
- Timestamp:
- 2014-06-27 10:56:43 (9 years ago)
- Location:
- 2014/26/UunoT
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
2014/26/UunoT/Pong/Pong/Pong/Pong.cs
r5073 r5140 9 9 public class Pong : PhysicsGame 10 10 { 11 Vector nopeusYlos = new Vector(0, 200);12 Vector nopeusAlas = new Vector (0, - 200);11 Vector nopeusYlos = new Vector(0, 600); 12 Vector nopeusAlas = new Vector (0, -600); 13 13 PhysicsObject pallo; 14 14 PhysicsObject maila1; … … 103 103 PhoneBackButton.Listen(ConfirmExit, "Lopeta peli"); 104 104 Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli"); 105 Keyboard.Listen(Key.Space, ButtonState. Pressed, PALLOJA, "");105 Keyboard.Listen(Key.Space, ButtonState.Down, PALLOJA, ""); 106 106 } 107 107 void AsetaNopeus(PhysicsObject maila, Vector nopeus) … … 171 171 void PALLOJA() 172 172 { 173 pallo = new PhysicsObject( 40.0, 40.0);173 pallo = new PhysicsObject(0.1, 0.1); 174 174 Add(pallo); 175 175 pallo.Shape = RandomGen.SelectOne(Shape.Hexagon, Shape.Star, Shape.Heart); 176 176 pallo.Color = RandomGen.NextColor(); 177 pallo.X = -200.0;177 pallo.X = 0.0; 178 178 pallo.Y = 0.0; 179 179 pallo.Hit (RandomGen.NextVector(50,100)); 180 180 181 181 182 -
2014/26/UunoT/testing/testing/testing/obj/x86/Debug/ContentPipeline-{BDDFC29C-71D4-4710-8DED-5A3CD06DACEF}.xml
r5119 r5140 36 36 <Options>None</Options> 37 37 <Output>C:\MyTemp\UunoT\testing\testing\testing\bin\x86\Debug\Content\kentta1.xnb</Output> 38 <Time>2014-06-2 6T13:13:57.2448632+03:00</Time>38 <Time>2014-06-27T10:54:06.6556013+03:00</Time> 39 39 </Item> 40 40 <Item> -
2014/26/UunoT/testing/testing/testing/testing.cs
r5119 r5140 196 196 void LuoPisteLaskuri(double x, double y) 197 197 { 198 laskuri = new IntMeter(1 00000);199 laskuri.MaxValue = 1 00000;198 laskuri = new IntMeter(15000); 199 laskuri.MaxValue = 15000; 200 200 201 201 Label naytto = new Label(); … … 326 326 327 327 } 328 } 329 330 331 332 328 329 } 330 331 332 333 333 334 334 335 } -
2014/26/UunoT/testing/testing/testingContent/kentta1.txt
r5119 r5140 1 1 ############################ 2 2 # * # 3 # p N#3 # N p # 4 4 ################# # 5 5 # ## # 6 # p## #########################6 # ## ######################### 7 7 # ## # 8 8 # #### ## # 9 9 # ###################### ## # 10 #### ################### 10 #### ################### * # 11 11 # # ################### #### # 12 12 # # p ## # 13 # #### p *#14 # ################################# ##########################15 # 16 #* p # p##17 ################### p ###18 # ######### ### *##19 # ################# ############20 # #####21 # ###### #########22 # ##################### ######## p##23 # # V pS##24 # # V S ######## ##25 # # V S #### ##26 # # V pS ######27 # #################### # ######28 # ##### p##13 # #### # 14 # ################################# ####################### 15 # # # ## 16 #* p # # ## 17 ################### # p ## 18 # ###### ### *## 19 # ## #### 20 # ### ## 21 # ######################*p ## ###### ## 22 # ####################### ######## ## 23 # ## SS### p ## 24 # ## V SS ## ## ## 25 # ## SS ## ## 26 # ## pSS #### ## 27 # ####################p## #### ## 28 # ####################### #### ## 29 29 # ## 30 30 # ###### ## 31 # *##31 # ## 32 32 ########################################################################## 33 33 ##########################################################################
Note: See TracChangeset
for help on using the changeset viewer.