1
0
Fork 0
Commit graph

612 commits

Author SHA1 Message Date
Michaël Lemaire 466193f88f Added serialization of arrays of Serializable 2015-03-02 01:00:00 +01:00
Michaël Lemaire fd9bdfffdd Added recursive serialization 2015-03-02 01:00:00 +01:00
Michaël Lemaire 508f2e3f94 Added initial work for game data serialization 2015-03-02 01:00:00 +01:00
Michaël Lemaire e18ad47c78 Added draft for ship card, with gauges and portrait (WIP) 2015-02-28 01:00:00 +01:00
Michaël Lemaire 6a007817a3 Disabled browser context menu on right click 2015-02-28 01:00:00 +01:00
Michaël Lemaire 432a598675 Added cancel button on action bar 2015-02-28 01:00:00 +01:00
Michaël Lemaire fbaa31f9d5 Moved "AI playing" indicator on top of action bar 2015-02-28 01:00:00 +01:00
Michaël Lemaire 0ee65ca0cd Added graphics for hull, shield and AP display in ship list 2015-02-28 01:00:00 +01:00
Michaël Lemaire 8c85102ccc Using Universe object in GameRouter to initialize the game 2015-02-27 01:00:00 +01:00
Michaël Lemaire df9da97b8f Added battle log events for temporary effects 2015-02-27 01:00:00 +01:00
Michaël Lemaire b89c443f13 Added sticky temporary effects, and EnergyDepleter weapon (WIP) 2015-02-27 01:00:00 +01:00
Michaël Lemaire f01a9059e9 AP consumption is now done by BaseAction 2015-02-26 01:00:00 +01:00
Michaël Lemaire 9814f08883 Added dynamic fading on move actions 2015-02-26 01:00:00 +01:00
Michaël Lemaire 675a7f80c9 Added fading on actions that will become unavailable (WIP) 2015-02-26 01:00:00 +01:00
Michaël Lemaire 7236afe74b Fixed a bug when hovered ship died 2015-02-23 01:00:00 +01:00
Michaël Lemaire 0d5f748386 Added graphical lines to link hovered ship info 2015-02-23 01:00:00 +01:00
Michaël Lemaire fd5bb9b9b9 New hover and playing graphics on ship sprite 2015-02-23 01:00:00 +01:00
Michaël Lemaire 01877b8e37 Added action icons 2015-02-23 01:00:00 +01:00
Michaël Lemaire 93cf052f5e Turn ship to face the target when firing 2015-02-23 01:00:00 +01:00
Michaël Lemaire 8cf4e31d95 Added truncated mode to value bars 2015-02-22 01:00:00 +01:00
Michaël Lemaire d56c19be1e Added Animation helper to handle fadein and fadeout 2015-02-20 01:00:00 +01:00
Michaël Lemaire e01cf6bb12 Added space key to end a turn 2015-02-20 01:00:00 +01:00
Michaël Lemaire b60aa3fd18 Added safety margin to AI to avoid numerical precision errors on AP estimate 2015-02-20 01:00:00 +01:00
Michaël Lemaire 86ff98707d Added weapon visual effects and sound 2015-02-20 01:00:00 +01:00
Michaël Lemaire 53fefc25b8 Fixed AI not using AP while moving (cheater...) 2015-02-19 01:00:00 +01:00
Michaël Lemaire ba56824151 Remove dead ships from the battlefield 2015-02-18 01:00:00 +01:00
Michaël Lemaire fbc4774cdf Bully A.I. now chooses the nearest target 2015-02-18 01:00:00 +01:00
Michaël Lemaire cc5331ee5a Added actions by Bully A.I. 2015-02-17 01:00:00 +01:00
Michaël Lemaire 6d9093061d Started work on Bully A.I. 2015-02-17 01:00:00 +01:00
Michaël Lemaire 7ad81617f3 Added ship change sound 2015-02-16 01:00:00 +01:00
Michaël Lemaire 97771a9b0a Added player interaction status and icon 2015-02-16 01:00:00 +01:00
Michaël Lemaire 2239d1e06d Added looting of enemy ships after battle 2015-02-13 01:00:00 +01:00
Michaël Lemaire 8354f03cfb Added looting from the battle outcome (WIP) 2015-02-13 01:00:00 +01:00
Michaël Lemaire 728119877b Added git hooks to run tests and lint on commit 2015-02-09 01:00:00 +01:00
Michaël Lemaire de81186faf Added end battle conditions and event 2015-02-09 01:00:00 +01:00
Michaël Lemaire 30e6323bf3 Added unit tests 2015-02-06 01:00:00 +01:00
Michaël Lemaire f6a7c0b8d9 Added capabilities to ships, and matching requirements in equipment 2015-02-06 01:00:00 +01:00
Michaël Lemaire 2c73a62893 Added death status and death event when hull reaches 0 2015-02-06 01:00:00 +01:00
Michaël Lemaire f7d97ef831 Added layer for action icons on action bar 2015-02-04 01:00:00 +01:00
Michaël Lemaire 361269cede Fixed assets 2015-02-04 01:00:00 +01:00
Michaël Lemaire 96389f02b4 Added ship portraits in ship list 2015-02-04 01:00:00 +01:00
Michaël Lemaire 9a62388e57 Added hover indicator in ship list 2015-02-04 01:00:00 +01:00
Michaël Lemaire 8287d9c3cd Set highlight on currently selected action 2015-02-04 01:00:00 +01:00
Michaël Lemaire 169b840e80 Added ship list graphics 2015-02-03 01:00:00 +01:00
Michaël Lemaire 6918c4f59e Updated action buttons graphics 2015-02-03 01:00:00 +01:00
Michaël Lemaire 22454512f2 Added battle background image 2015-02-03 01:00:00 +01:00
Michaël Lemaire ca43fa2e53 Added damage display on ship sprites 2015-02-03 01:00:00 +01:00
Michaël Lemaire 7c0908b29c Fixed a freeze when ValueBar was set to 0 2015-02-03 01:00:00 +01:00
Michaël Lemaire 9b09bb96ec Added background for action buttons, with active state 2015-01-29 01:00:00 +01:00
Michaël Lemaire 66f86b4ddb Removed Ship.movement_cost, in favor of engine-defined AP cost
Ship movement and AP consumption is now handled by MoveAction
2015-01-29 01:00:00 +01:00
Michaël Lemaire 55615600b8 Added temporary display of hull and shields, to see weapon effects 2015-01-28 01:00:00 +01:00
Michaël Lemaire 4d29d2cbc2 Added AP usage checking on weapons 2015-01-28 01:00:00 +01:00
Michaël Lemaire ef1f0914b8 Added hull and shield attributes, and weapon damage on them 2015-01-28 01:00:00 +01:00
Michaël Lemaire 32885d9651 Apply weapon distance 2015-01-28 01:00:00 +01:00
Michaël Lemaire e59d88f2c0 Added target effects and basic weapon structure (WIP) 2015-01-28 01:00:00 +01:00
Michaël Lemaire 38d40fbe58 Fixed ship facing angle animation (avoid a 360 turn) 2015-01-26 01:00:00 +01:00
Michaël Lemaire 36b54e7b75 Fixed ship facing angle 2015-01-26 01:00:00 +01:00
Michaël Lemaire a545251257 Refactored "hovered" state, to be more like "playing" state for arena ships 2015-01-23 01:00:00 +01:00
Michaël Lemaire e357686a64 Added basic "playing" ship indicator for arena 2015-01-23 01:00:00 +01:00
Michaël Lemaire d69459a7e3 Fixed preload bar centering on chrome 2015-01-23 01:00:00 +01:00
Michaël Lemaire caf4e82515 Changed ship initiative to be a proper Attribute 2015-01-23 01:00:00 +01:00
Michaël Lemaire 04035cce8c Reorganized assets 2015-01-23 01:00:00 +01:00
Michaël Lemaire 875ef03d03 Added animation on ValueBar 2015-01-22 01:00:00 +01:00
Michaël Lemaire 4b940942aa Temporary fix for arena sizing on Chrome 2015-01-22 01:00:00 +01:00
Michaël Lemaire ca4f493b65 Added action points display in action bar 2015-01-22 01:00:00 +01:00
Michaël Lemaire 3a5e963240 Manage AP recovery and initial value with equipment effects 2015-01-22 01:00:00 +01:00
Michaël Lemaire d1222ef26a Added effect generation from templates 2015-01-22 01:00:00 +01:00
Michaël Lemaire 5f1913da6d Added permanent effects on attributes for equipement 2015-01-22 01:00:00 +01:00
Michaël Lemaire 135609002c Merge branch 'master' of bitbucket.com:thunderk/spacetac 2015-01-22 01:00:00 +01:00
Michaël Lemaire c77056ac4c Fixed bootstrap and coding style 2015-01-21 01:00:00 +01:00
Michaël Lemaire 7695540a77 Added missing asset 2015-01-21 01:00:00 +01:00
Michaël Lemaire 8569ea4b3d Fixed initial arena size 2015-01-21 01:00:00 +01:00
Michaël Lemaire a4edaf5430 Added hover effects on ships in the arena 2015-01-21 01:00:00 +01:00
Michaël Lemaire be434b4eb4 New attribute system for action points 2015-01-19 01:00:00 +01:00
Michaël Lemaire fc5c8a7c55 Fixed preload bar centering 2015-01-18 01:00:00 +01:00
Michaël Lemaire 62e2e3239d Added action points progress bar graphics 2015-01-18 01:00:00 +01:00
Michaël Lemaire be72bfd4d1 Added action bar background 2015-01-18 01:00:00 +01:00
Michaël Lemaire b94553f913 Added ship sprite rotation when moving 2015-01-16 01:00:00 +01:00
Michaël Lemaire 7fae46b53e Added action listing from attached equipment 2015-01-16 01:00:00 +01:00
Michaël Lemaire 6d5b0090a0 Missing asset 2015-01-16 01:00:00 +01:00
Michaël Lemaire 872ac12159 Added a ShipList to hold ship icons in battle view 2015-01-14 01:00:00 +01:00
Michaël Lemaire 0f45244a8e Added the first weapon (Gatling Gun), using LootGenerator, LootTemplate and the slots system 2015-01-14 01:00:00 +01:00
Michaël Lemaire 2a12a671a2 Fixed loot level generation 2015-01-14 01:00:00 +01:00
Michaël Lemaire 968c22c59f Fixed karma running tests twice in parallel (causing mush trouble) 2015-01-14 01:00:00 +01:00
Michaël Lemaire 0df8eabe08 Added LootGenerator 2015-01-14 01:00:00 +01:00
Michaël Lemaire 7d62ee42e2 Start of loot system 2015-01-13 01:00:00 +01:00
Michaël Lemaire 92131cbde6 Added move interpolation 2015-01-09 01:00:00 +01:00
Michaël Lemaire 3261e7bdb5 Destroy the test game after each unit test 2015-01-08 01:00:00 +01:00
Michaël Lemaire 09d07188aa Fixed tslint errors 2015-01-08 01:00:00 +01:00
Michaël Lemaire 9766193944 Added unit testing for BattleView 2015-01-08 01:00:00 +01:00
Michaël Lemaire 389db8d220 Added missing assets and test game destroying 2015-01-08 01:00:00 +01:00
Michaël Lemaire 34e3fbdb24 Added ValueBar 2015-01-08 01:00:00 +01:00
Michaël Lemaire a7f1cb41ab Added tslint style checker 2015-01-07 01:00:00 +01:00
Michaël Lemaire 18a20a7855 Improved tests coverage for actions 2015-01-07 01:00:00 +01:00
Michaël Lemaire 39fda0ffce Added missing type specs (no more implicit 'any') 2015-01-06 01:00:00 +01:00
Michaël Lemaire 709c43ade4 Added end turn action 2015-01-06 01:00:00 +01:00
Michaël Lemaire 16b67b94a7 Added targetting visual line for move action 2015-01-06 01:00:00 +01:00
Michaël Lemaire 8870b8839e Added ship sprite moving on move actions 2015-01-06 01:00:00 +01:00
Michaël Lemaire 9d55c8d085 Added action bar with action icons, using Targetting (WIP) 2015-01-02 01:00:00 +01:00
Michaël Lemaire eb727d4ff4 Added mouse move capture on arena background (for space targets) 2014-12-31 01:00:00 +01:00
Michaël Lemaire 6a30e1a045 Refactoring of some View code 2014-12-31 01:00:00 +01:00
Michaël Lemaire 4a5f975d25 Module renaming to avoid some errors due to file compiling order 2014-12-31 01:00:00 +01:00
Michaël Lemaire 1efa4a0595 Added action types (WIP) 2014-12-31 01:00:00 +01:00
Michaël Lemaire 37b7bd40d2 Added ship hovering system 2014-12-31 01:00:00 +01:00
Michaël Lemaire 4efaafafd9 Added battle log system (WIP) 2014-12-31 01:00:00 +01:00
Michaël Lemaire 006d95ae6b Added code to advance to next ship in play order 2014-12-31 01:00:00 +01:00
Michaël Lemaire 791a545abe Added code for move and action points 2014-12-31 01:00:00 +01:00
Michaël Lemaire a2b149bba5 Added basic test assets (sprites) 2014-12-30 01:00:00 +01:00
Michaël Lemaire 8a75ca968e Added ship icons and sprite in the BattleView 2014-12-30 01:00:00 +01:00
Michaël Lemaire ba27eddd55 Added unit testing with jasmine + battle play order by initiative throws 2014-12-30 01:00:00 +01:00
Michaël Lemaire b4b37a46d2 Added basic battle structure 2014-12-29 01:00:00 +01:00
Michaël Lemaire 89d793cb33 Initial bootstrap 2014-12-28 01:00:00 +01:00