Browse Source

Remove dlls, Increase acceleration

Pabloid 5 years ago
parent
commit
27d36d4ad9
9 changed files with 11 additions and 10 deletions
  1. 5
    4
      TODO.md
  2. BIN
      libatomic-1.dll
  3. BIN
      libgcc_s_dw2-1.dll
  4. BIN
      libgomp-1.dll
  5. BIN
      libquadmath-0.dll
  6. BIN
      libssp-0.dll
  7. BIN
      libstdc++-6.dll
  8. BIN
      libwinpthread-1.dll
  9. 6
    6
      src/programmer.cpp

+ 5
- 4
TODO.md View File

@@ -12,10 +12,11 @@
12 12
  - [ ] ~~Bugs immune to unit tests~~
13 13
  - [ ] ~~Not bug - a feature~~
14 14
  - [x] Reduce programmers spawn rate (maybe cubic function?)
15
- - [ ] Add obstacles to prevent flying across the screen
16
-   - [ ] Edits by customer
17
-   - [ ] QA engineers
18
-   - [ ] Need to land on ground to catch next bug
15
+ - [ ] ~~Add obstacles to prevent flying across the screen~~
16
+   - [ ] ~~Edits by customer~~
17
+   - [ ] ~~QA engineers~~
18
+   - [ ] ~~Need to land on ground to catch next bug~~
19
+ - [ ] Documentation sound
19 20
 
20 21
  - [x] Copy required dlls
21 22
  

BIN
libatomic-1.dll View File


BIN
libgcc_s_dw2-1.dll View File


BIN
libgomp-1.dll View File


BIN
libquadmath-0.dll View File


BIN
libssp-0.dll View File


BIN
libstdc++-6.dll View File


BIN
libwinpthread-1.dll View File


+ 6
- 6
src/programmer.cpp View File

@@ -57,7 +57,7 @@ void Programmer::Update(float dt)
57 57
         vel.y += (70 + tile.x * 30) * dt;
58 58
         vel.y *= 1 - 0.05 * dt;
59 59
     } else {
60
-        vel.x *= 1 - 3 * dt;
60
+        vel.x *= 1 - 2 * dt;
61 61
     }
62 62
 
63 63
     transform.Reset();
@@ -70,18 +70,18 @@ void Programmer::Update(float dt)
70 70
     }
71 71
 
72 72
     if (walkLeft) {
73
-        vel.x -= (150 + tile.x * 30) * dt;
73
+        vel.x -= (200 + tile.x * 30) * dt;
74 74
         userInput = true;
75 75
     }
76 76
 
77 77
     if (walkRight) {
78
-        vel.x += (150 + tile.x * 30) * dt;
78
+        vel.x += (200 + tile.x * 30) * dt;
79 79
         userInput = true;
80 80
     }
81 81
 
82 82
     if (moveDown) {
83 83
         if (!onGround) {
84
-            vel.y += (150 + tile.x * 30) * dt;
84
+            vel.y += (200 + tile.x * 30) * dt;
85 85
         }
86 86
         userInput = true;
87 87
     }
@@ -103,9 +103,9 @@ void Programmer::Update(float dt)
103 103
     auto groundLevel = game->GameScreenHeight() - size.y / 2 - 1;
104 104
 
105 105
     if (pos.y > groundLevel) {
106
-        vel.y *= -0.3;
106
+        vel.y *= -0.2;
107 107
 
108
-        if (std::abs(vel.y) < 2) {
108
+        if (std::abs(vel.y) < 3) {
109 109
             vel.y = 0;
110 110
         }
111 111
         pos.y = groundLevel;

Loading…
Cancel
Save