Skip to content

Commit

Permalink
Adjusted the number of mechas and robot masters that appear on each g…
Browse files Browse the repository at this point in the history
…iven field size to make it more fair.

Also adjusted styles of the event cells a bit more and tweaked the mission complete animation.
  • Loading branch information
AdrianMarceau committed Apr 25, 2017
1 parent d7f5460 commit 864cc09
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
8 changes: 4 additions & 4 deletions pages/dev_map-test.php
Expand Up @@ -98,7 +98,7 @@ function generate_conquest_playlist(){

$this_map_playlist[] = array('scale' => 8, 'field' => 'final-destination-iii', 'boss' => 'slur');

$this_map_playlist[] = array('scale' => 8, 'field' => 'prototype-complete', 'boss' => 'quint');
$this_map_playlist[] = array('scale' => 8, 'field' => 'prototype-complete', 'boss' => 'quint', 'bonus' => true);

//echo('<pre>$elemental_fields = '.print_r($elemental_fields, true).'</pre>');
//echo('<pre>$elemental_fields_bytype = '.print_r($elemental_fields_bytype, true).'</pre>');
Expand Down Expand Up @@ -371,10 +371,10 @@ function temp_remaining_cell_positions(){
if ($this_map_cells_remaning_count > 0){

// Define the limit for how many robots we can add events for
$this_map_robot_limit = $this_map_scale * 1;
$this_map_robot_limit = floor($this_map_scale * 1.50);

//echo('<hr />');
//echo('<pre>$this_map_robot_limit = '.print_r($this_map_robot_limit, true).'</pre>');
//echo('<pre>$this_map_robot_limit = floor('.$this_map_scale.' * 1.5) = '.print_r($this_map_robot_limit, true).'</pre>');

// Loop through and generate robots events for cells
if (!empty($this_map_robot_limit)){
Expand Down Expand Up @@ -421,7 +421,7 @@ function temp_remaining_cell_positions(){
//echo('<pre>$this_map_cells_remaning_count = '.print_r($this_map_cells_remaning_count, true).'</pre>');

// Define the limit for how many mechas we can add events for
$this_map_mecha_limit = $this_map_scale * $this_map_scale;
$this_map_mecha_limit = floor($this_map_scale * $this_map_scale * 1.10);

//echo('<hr />');
//echo('<pre>$this_map_mecha_limit = '.print_r($this_map_mecha_limit, true).'</pre>');
Expand Down
13 changes: 10 additions & 3 deletions styles/dev.css
Expand Up @@ -163,10 +163,16 @@
border-color: rgba(255, 255, 255, 0.9);
}

#window .field_map .event_grid .cell.complete .event {
#window .field_map .event_grid .cell.complete .event.mecha,
#window .field_map .event_grid .cell.complete .event.robot,
#window .field_map .event_grid .cell.complete .event.boss {
transition: opacity 1.0s;
opacity: 0.4;
}
#window .field_map .event_grid .cell.complete .event.origin,
#window .field_map .event_grid .cell.complete .event.destination {
opacity: 0.9;
}
#window .field_map .event_grid .cell.complete:not(.origin) .sprite {
transition: opacity 1.0s, background 1.0s;
opacity: 0.8;
Expand Down Expand Up @@ -564,12 +570,13 @@
#window .field_counters .results {
display: block;
overflow: hidden;
margin: 0 -10px 4px;
transition: max-height 1s;
margin: 0 -10px 0;
max-height: 0;
transition: max-height 1s, margin 1s;
}
#window .field_counters.complete .results {
max-height: 26px;
margin-bottom: 4px;
}

#window .field_counters .results .result {
Expand Down

0 comments on commit 864cc09

Please sign in to comment.