Now display warning message for people not using Chrome.
Added ST logo to the load screen.
Start workers now auto-harvest carbon upon spawning.
Added some form validation on the chat for security.
Rank checkbox now toggles visibility based on whether the game is eligible for ranking (e.g. if a computer is in the game room, the game is not eligible).
Each user in the logged in user list in the lobby links to their ELO and match history screen.
Map now reveals at the end game screen.
Revamped lobby UI fixing a lot of bugs and visual glitches along the way. The chat area is much bigger and the background game is blurred in the new lobby.
Fixes
Cleaned up the menu button graphic.
Fixed double burners showing on AI or enemy player units.
Implemented handling for various networking edge cases, such as both players disconnecting simultaneously.
Made some slight performance improvements for games involving AI.
Fixed victory/defeat sometimes displaying inaccurately.
Gameplay
Turrets build time reduced from 40 sec to 35 sec.
Bombard Cannons no longer do damage in an area. Bullet damage increased from 60 to 300. Turn speed reduced from 300 to 50.
Laser Turrets are now stronger against air and weaker against ground with bonus air damage increased from 10 to 15 and base damage reduced from 10 to 5.
Javelin cost changed from 150 ore, 50 energy to 100 carbon, 50 ore.
AI are now significantly smarter and more challenging, particularly in the early game.
Computer surrenders faster.
[EXPERIMENTAL] Increased population max to 100.
[EXPERIMENTAL] Removed energy entirely. Stuff that used to cost energy now costs carbon instead. Power generators are no longer a build option.
Bomber damage increased from 140 to 200.
Manta damage increased from 35 to 40.
Hotfixes 7/7/17
Can no longer enter scripts in chat.
Turned blast marks back on.
Hotfixes 7/8/17
Fixed being able to join games already in session.
The manta, when controlled by an AI, will maneuver in the air while attacking to simulate human microing.
Added a sound for tech completion.
Manta, harpy and droid now spin to their death.
You can now see the number of units being produced in a building's queue overlaying the current selected icon when the building is selected.
Redid the explosion flash effect. It should be a lot more noticeable now.
Added "Ionic Thrusters," a gunship speed upgrade tech. After researching, your mantas, harpies and ion cannons will be faster and easier to control with increased maximum velocity and acceleration.
Added "Advanced Radar" tech which increases your line of sight by 25%.
Added "Pulsar Cannons" tech which upgrades the gladiator cannons to fire a mortar-like round which does area of effect damage. The gun firing rate and bullet speed is slower but damage is signifigantly increased.
Fixes
Reduced bandwidth usage for people in the lobby.
Reduced bandwidth usage by ~40% for people in a game by using numeric indices instead of human-readable property names on network packets.
Reduced default music volume.
Converted some unit names and tech names in system message to human readable (e.g. "tier_1_mining" complete to "Tier 1 Mining complete").
Aircraft burners no longer visible on death.
Fixed stealth sometimes being applied to enemy AI units when you finished the research.
Fixed the bullfrog gun animation.
You can now only research one tech at a time (no queueing at the tech lab).
Gameplay
Ion Cannon, Manta and Harpy no longer fly torwards their targets but stop as soon as they get in range.
Ion Cannon, Manta and Harpy can now move very small distances.
Gunship speeds in tooltip are now accurate.
Prevented bomber bombs from exploding before they reach their destination.
Command Center build time increased from 40 to 60.
Added security measures to prevent two people from playing with the same account on the same server at the same time.
Fixed a number of backend network stability and security issues.
Building parts now animate with lights turning on/off based on wether the building is producing units or researching tech.
Added sound to the gladiator.
Added sound to the command center for when it powers down (finishes construction).
Added stealth technology research for bomber at the tech lab. Stealth bombers are difficult to see and enemy units cannot auto-target them. Instead, stealth units must be manually clicked to attack. When you are being attacked by a stealth unit, a notification appears.
Added 6 eco techs you can research at the command center. Tier 1, 2, 3 ore mining and tier 1, 2, and 3 carbon mining. Each tier increases worker efficiency by 10%.
Added super weapons tech. Super weapons can no longer be built immediately after constructing a tech lab, you must research the super weapons tech first.
Fixes
Observer mode now working again.
Fixed issues with reconnecting when there are AI in the room.
You can no longer join a game room after the game is over.
Changed the text formatting on the "ELO Change" column in match history.
Carbon and ore should no longer get set to "infinity" when you leave the tab and come back.
Fixed population randomly showing "NAN."
Removed the message which displays when a unit does not have guns capable on targeting another unit (e.g. bomber targeting aircraft).
Updated a bunch of tooltip descriptions and added info about bonus damage and splash damage.
Ground unit speed in tooltip now reflects the accurate speed.
Gameplay
Javelin energy cost reduced from 100 to 50.
Energy generation from power generators increased by ~30%.
Demolisher damage increased from 125 to 175.
Silencer damage increased from 100 to 150.
Peregrine gains 50 bonus damage vs. aircraft.
Ore per plot increased from 1250 to 2000.
Carbon per plot increased from 350 to 500.
Disruptor cannon build time reduced from 130 to 60 seconds.
Battleship and Ion Cannon population cost set to 3 (only 1 more than a standard military unit).
Ion Cannon build time reduced from 100 to 50 seconds and carbon cost from 200 to 0.
Battleship energy cost reduced from 200 to 150; ore cost from 300 to 200 and carbon from 300 to 200.
Ion cannon damage increased from 40 to 100.
Battleship cannon damage increased from 40 to 100 and machine gun damage increased from 30 to 50.
Main lobby room now has chat and a panel which shows a list of the logged in players for that server.
Removed "room #" from the list of games in the main lobby.
Added a game type label to the game type select box in the pre-game room.
After building a tank factory, you can now build a tech lab which gives you access to research tier 1, 2 and 3 armor and attack. Each tier gives all of your units an added (not compounded) 10% attack or defense. The tech lab also enables you to build the demolisher at the tank factory and the harpy, peregrine, battleship and ion cannon at the airstrip.
Roller and gladiator now require tank factory to be built.
Added a second restore default button for restoring hotkey defaults. The other reset default button restores everything but the hotkeys.
The host can now set a game as ranked or unranked in the pre-game room.
Fixs
Random disconnects should be a thing of the past as I've rewritten large aspects of the networking layer to deal specifically with that problem.
The list of games which automatically populates in the lobby should not longer show numbers before populating.
Survival no longer shows non-integers (e.g. 6.5 mantas approaching) when units approach.
Updated a bunch of the text in unit tooltips.
The camera no longer moves based on the mouse position in the lobby.
Redid a bunch of the hotkey defaults to not use the "ASD" row and instead use "ZXC," because "ASD" is reserved for system hotkeys like attack and cancel.
You can no longer add an AI to a full room.
Gameplay
The manta is now more micro-friendly and maneuvers like the harpy. Its health is increased from 700 to 850; damage increased from 30 to 35.
Peregrine machine gun damage increased from 100 to 200. Missile damage increased from 150 to 200.
Turrets are now cheaper, making static defense more viable. Both turrets now cost 100 carbon and 25 ore.
Survival mode gets more difficult after you complete the first list of unit waves.
Gnat is now a suicidal air unit that costs 50 ore and 50 carbon and does 250 damage to any units within its 50-pixel blast radius.
Gnat health decreased from 550 to 450.
Warhawk removed and all gunship hanger units moved to the airstrip. The gunship hanger is now the tech lab.
Droids now cost 40 carbon.
Collection rates reduced by 10%.
Ore plots now give you 1250 ore instead of 1000.
Javelin is now a glass cannon artillery unit with low health (1,000 reduced from 2,400), slow firing rate (4 seconds) but massive range (1500 pixels) and firepower (400 damage). The javelin has reduced movement speed and cannot fire at air units. I also changed the sounds it makes when clicked and the firing sound.
Hotfixes 6/21/17
Fixed not being able to change the team select on AI.
Hotfixes 6/22/17
Fixed collection rates (ore collection rate was accidentally increased by a significant amount).
Fixed a de-sync issue which was caused by a rounding inconsistency with the new armor tech upgrades.
Survival mode is now multiplayer cooperative. The number of units you start with is proportionate to the number of teammates you have. Resources earned from destroying enemy units is divided equally among allies.
End game screen for survival now shows the wave you made it up to and your best wave (instead of victory/defeat).
Survival more difficult with resources earn reduced by 20% and more units spawning in each wave.
Messages sent from the server now appear in a separate pop up message instead of the normal chat.
Fixes
When your opponent tabs away at the end game screen, you no longer get a reconnecting screen.
The cost of units are now properly reset after you join a standard game after playing a survival game.
Fog of war turned back on in survival (it was accidentally turned off).
Lobby background game no longer pauses when you enter the menu.
Fixed some air unit targeting issues.
When the authority leaves the game room, everyone else is now properly kicked.
Kick button in game room now working properly.
Reduced network bandwidth used in multiplayer games by a small margin.
Fixed issue which prevented a player from creating a new game when kicked from a game.
Survival restart button should now work properly.
Gameplay
Starting unit number in survival reduced from 8 to 7.
Survival production building health reduced from 25K to 15K.
You can now spawn units in-between waves in survival.
Added new flying scout unit. You start out with a scout in standard games and can build them from the command center.
Command Center now increases your population limit by 10 (same as silo).
The manta shoots less discriminantly resulting in much more damage output.
Gladiator range increased from 600 to 750.
Hotfixes (6/14/17)
Scout now moves away from the command center on spawn to prevent selection issues with workers.
Fixed custom unit hotkeys not working.
Fixed time to build getting smaller and smaller each time you started a new survival game.
In survival, the "Spawning in ..." text now shows the number of units that will spawn. In addition, the spawn countdown timer starts at 5 seconds instead of 10.
In survival, enemy ground units getting stuck on spawn should be a rarer occurrence. Enemy units should also walk torwards the nearest enemy when they've destroyed their initial target.
Survival should no longer say "undefined" for best wave, if you've not played a game before.
Fixed a server issue which would prevent the lobby from showing when you finished a game
Made survival mode significantly more challenging and micro-oriented. Some enemy waves will also spawn with multiple unit types instead of just one.
[Feature] Improved network performance quite a bit by not sending all game room data when the player is already in a game.
[Feature] You can now see the current players in the room, their player colors, team, ping and connection status by hitting the TAB key.
[Feature] Aircraft movement in multiplayer games significantly improved. You should not see harpies teleporting anymore and in general, air units will be where they are supposed to be across all clients.
[Feature] The game now pauses and displays a message when a player disconnects and is attempting to reconnect. When the player reconnects, the game continues. This will prevent a lot of de-sync issues.
[Feature] Firefox now supported.
[Feature] Game now pauses in multiplayer when you leave the tab. If you leave the tab for too long, you are kicked from the game.
[Feature] Button to restart game added to end game screen in survival.
[Fix] Current wave box in Survival fixed.
[Fix] Fixed issue which caused waves to stop in Survival.
[Fix] Fixed some styling on dialog boxes like the position of the close button.
[Fix] Game pause text no longer displays "left click to unpause" as pausing is currently involuntary in network games.
[Fix] Burners now shown on enemy droids.
[Gameplay] Enemy units revealed in fog of war now show for 3 seconds instead of 5.
[Gameplay] Bullfrog build time reduced from 15 to 12.
[Gameplay] Manta build time reduced from 15 to 10.
[Gameplay] Droid build time reduced from 20 to 15.
[Gameplay] Bomber maximum velocity reduced from 700 to 600.
[Gameplay] Peregrine now fires more discriminately.
[Gameplay] Overhauled air movement again by switching back to angular velocity to handle turns instead of tweening. Air unit turning and animations should be a lot smoother now, but should be similar in maneuverability to the tween turn system (previous overhaul). Air unit turning is handled with physics but switches to tweens when the desired angle is almost achieved (for more accurate guns).
[Gameplay] Workers collect carbon and ore at 60% of the previous rate.
[Gameplay] Command Center carbon cost reduced to 200.
[Gameplay] Mech Factory build time reduced from 40 seconds to 30.
[Gameplay] Manta carbon cost reduced from 100 to 75.
[Feature] Added new survival game mode (prototype), available on any 4 player map. Currently the game mode is single player only but will eventually support multiplayer cooperative. To play survival mode, the host needs to change the game mode from a select box which appears in the game room before the start of a game. Read more about it here.
[Feature] Game now pauses when opening menu in non-multiplayer games.
[Feature] Current selected icons health turns red when low. When the health bar changes (e.g. from taking damage), it no longer animates but changes instantly, giving you a more accurate indication of health.
[Feature] Added new 4-player map called "Four Beaches" which is specifically designed for the survival game mode but also make a great 1v1/2v2/FFA map.
[Feature] You can now click on your current selected unit icons. The unit will appear selected when clicked.
[Fix] Fixed some in-game chat styling (chat box being too big or too small).
[Fix] Build unit icons now properly recreate if you change your player color going from one game to another.
[Fix] Selected resource no longer appears on top of the end-game screen.
[Fix] Mechs should no longer randomly walk in place.
[Fix] Fixed ground units getting stuck in some circumstances.
[Fix] Map editor now loads maps properly (was throwing an error before).
[Fix] Resources no longer disappear when you play a game on the same map without refreshing the browser.
[Gameplay] Players with slow computers and low FPS will no longer be put at a disadvantage with resource collection. The resource collection rate will be the same in a 30FPS environment as it is in a 60FPS environment.
[Gameplay] Both peregrine guns (missiles and machin gun) can now target ground.
[Gameplay] Peregrine homing missile firing rate decreased from 10 sec to 3 sec. Damage decreased from 500 to 150.
[Feature] You can now be an observer by setting your team to "observer" in the game room before a game starts. As an observer, you can see everything on the map (no fog of war). Currently games with observers are unranked but this will change after the feature is thoroughly tested.
[Feature] Control left-click selects all units of a type currently in the camera.
[Fix] Fixed some styling issues in the game room (e.g. long usernames will no longer break the layout).
[Fix] Kicking a player from the game room should now work correctly.
[Fix] Units in background game of lobby no longer explode when a player leaves the lobby.
[Fix] Right click menu appearing when you right click the top right of the screen should be fixed for good now.
[Fix] Removed white border around unit type icons and resource panel in top right.
[Fix] Smart casting now takes into account the number of units currently in the build que and distributes build commands accordingly.
[Fix] Air units leaving the map should now return properly (hopefully this is fixed for the last time).
[Fix] Command center had an area which was walkable but should have been unwalkable.
[Fix] CTRL-A no longer sets units to a control group (as that was conflicting with CTRL-A, select all military system hotkey).
[Fix] Lights on top of mech factory should no longer appear above the gantry and crane which tweens on top.
[Fix] Attempting to place a building on top of an unwalkable area no longer deselects the worker.
[Fix] Fixed various selection problems, like resource amounts showing when you place a building on top and click drag not working when you hold down control key for too long.
[Gameplay] Reduced size of workers, merks and bullfrogs slightly and reduce the size of factories and airstrips. This should make bases feel less claustrophobic and give you more space to build stuff and move units around. The following screenshot shows the new size of the mechs, factory and airstrip:
[Gameplay] Demolisher damage increased from 100 to 125.
[Gameplay] Silencer bullets now path through targets dealing 1/2 damage. Bullets do full damage to bullet target (if hit).
[Gameplay] Base unit ranges normalized and decreased from 700 to 600 (the same constant used for the line of sight).
[Gameplay] Manta turning no longer happens instantly but instead, near-instantly. The turn is now a tween instead of and instant angle change, which will result in smoother graphics.
[Gameplay] Manta pop cost decreased from 2 to 1.
[Gameplay] Gunship hanger build time decreased from 40 to 30.
[Gameplay] Airstrip only requires mech factory to be built now.
[Gameplay] Airstrip build time increased from 40 to 50.
[Gameplay] Slight delay added back between start worker spawn time. Previously the delay was 250 milliseconds. It was set to 0 in a previous patch but is now set to 50 milli. This is to prevent them from clumping on top of each other in the beginning. 50 milliseconds is so fast that it should appear as though they span instantly.
[Feature] Added back in lights on buildings.
[Gameplay] Silencer energy cost increased from 0 to 50.
[Gameplay] Demolisher now does damage in an area (blast radius of 50 pixels).
[Gameplay] Demolisher health reduced from 4500 to 3000.
[Gameplay] Gnat cost increased from 50 to 76 carbon. Gnat supply cost decreased from 2 to 1.
[Gameplay] Easy, medium and hard AI no longer cheat by starting out with more resources.
[Gameplay] Added option for "cheating" AI which is a super hard AI which cheats by starting out with more resources.
[Gameplay] Improved some AI behavior (e.g. AI will rebuild command center if it is destroyed, various difficulties have various minimum first attack times).
[Gameplay] You can no longer place buildings on top of ground units.
Hotfixes
Fixed the bug which would cause selection issues and multiple buildings to place when you click a build unit icon more than once.
Stopped right click menu from appearing when clicking production menu in lower right.
Made Peregrine turn animation smoother.
Fixed units continuing to fly after their target was destroyed.
[Feature] You can now set building rally paths to units which allows you to more easily send reinforcements to your military units.
[Feature] You can now select all military units with CTRL-A.
[Fix] Long range units can no longer shoot at buildings which are revealed but not within line of sight
[Fix] End game screen now appears when your surrender with an AI ally still alive.
[Fix] Cancel unit no longer resets production progress on the currently building unit.
[Fix] You can no longer get a free unit which builds instantly by right clicking a unit production icon at the right time.
[Fix] Removed old "water" tab from the map editor.
[Fix] In the map editor, placing objects with no unwalkable areas (i.e. ore) no longer get placed multiple times with a single click.
[Fix] The Warhawk and Harpy no longer randomly pick up ground units when flying above them.
[Fix] The ion cannon no longer stops spinning.
[Fix] The right click menu should no longer appear when right-clicking at the top-right of the screen.
[Fix] Removed the rounding from the squares of around the unit type icons in the top right.
[Fix] Clicking unit type icons should work even if the mouse drags over the icon or is clicked fast.
[Fix] Lowered the position of the idle worker icon, which was appearing on top unit type icons in some browsers.
[Fix] Fixed problem where some units in the selection group would not go to attack a target if one unit in the group could not target that unit (i.e. bomber targeting air).
[Fix] You can no longer manually toggle production cycles with the tab key. This may have been disrupting the production cycle.
[Fix] Air units should no longer fly off the map for too long.
[Gameplay] Radial gun can no longer be built.
[Gameplay] Disrupter cannon can now be built and is tested to work for multiplayer games.
[Gameplay] Air units in selection group will get closer together if they are greater than 500 pixels apart (down from 1000).
[Gameplay] Command Center HP increased from 4800 to 6000.
[Gameplay] Battleship cannon damage increased from 60 to 120.
[Gameplay] Increased bomber firing rate (time till next fire) from 50 milli to 100. Bomber speed increased from 595 to 700. This will give the bombs a larger spread which means less concentrated firepower.
[Gameplay] Harpy damage increased from 30 to 35.
[Gameplay] Disrupter Cannon now does damage to units within the blast radius of exploding rounds.
[Gameplay] Max population increased from 70 to 80.
[Gameplay] Workers now spawn instantly at the beginning of the game instead of coming out one by one.
[Gameplay] Gladiator guns fire less discriminantly, making it better against moving targets.
[Gameplay] Warhawk damage increased from 20 to 40. This unit needs considerable firepower because it is one of the only air units which can only attack ground.
Hotfixes
Air unit max distance in selection group set to 300 (decreased from 500).
Fixed strange movement behavior when moving air units over water or any type of unwalkable area.
Hitting alt-tab should no longer mess up unit selection. To acheive this, I disabled the alt-drag to select only workers.
Removed max selected limit (40) which had been enabled by accident.