summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHermet Park <hermet@hermet.pe.kr>2016-02-12 02:16:52 +0900
committerHermet Park <hermet@hermet.pe.kr>2016-02-12 02:16:52 +0900
commit377878169f9a7954401da8d6293303b94c7b6cfb (patch)
tree2929d27d25205594d892bda1ea1fa2f339b9ede1
parent7bdf3816f850871e91910e27f98cf1880c23fa9e (diff)
adjust drop speed.
i hope this is last change today.
-rw-r--r--src/bin/etypers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/etypers.c b/src/bin/etypers.c
index a0a436c..7a1ba4a 100644
--- a/src/bin/etypers.c
+++ b/src/bin/etypers.c
@@ -4,7 +4,7 @@
4#define DEFAULT_WIN_H 600 4#define DEFAULT_WIN_H 600
5#define NEW_ENEMY_DURATION_SEC 5 5#define NEW_ENEMY_DURATION_SEC 5
6#define LEVEL_INC_WEIGHT 0.01 6#define LEVEL_INC_WEIGHT 0.01
7#define DROP_DIST_WEIGHT 50 7#define DROP_DIST_WEIGHT 25
8#define DEFENSE_WALL_CNT 15 8#define DEFENSE_WALL_CNT 15
9#define WALL_COLOR 100, 100, 100, 170 9#define WALL_COLOR 100, 100, 100, 170
10#define MINUS_SCORE 25 10#define MINUS_SCORE 25
@@ -280,7 +280,7 @@ _animator_cb(void *data)
280 Enemy *enemy; 280 Enemy *enemy;
281 Eina_Inlist *l; 281 Eina_Inlist *l;
282 float drop_dist = (float) ((current_time - appdata->last_frame_time) * 282 float drop_dist = (float) ((current_time - appdata->last_frame_time) *
283 DROP_DIST_WEIGHT) + (appdata->level * 0.095); 283 DROP_DIST_WEIGHT) + (appdata->level * 0.2);
284 284
285 EINA_INLIST_FOREACH_SAFE(appdata->enemies, l, enemy) 285 EINA_INLIST_FOREACH_SAFE(appdata->enemies, l, enemy)
286 { 286 {