1
0
Fork 0
Commit graph

208 commits

Author SHA1 Message Date
Michaël Lemaire 6b58ba6858 New ship list placeholder graphics and behavior 2015-04-26 19:15:45 +02:00
Michaël Lemaire 5bf278db1e Added InputManager and cheat mode 2015-04-24 00:36:57 +02:00
Michaël Lemaire 8e49ca6dfc Fixed weapon effect not using audio manager 2015-04-22 23:53:13 +02:00
Michaël Lemaire 2e962ca301 Added music to map and arena stages
For future credits :
http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1300005
http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1100020
2015-04-22 23:42:40 +02:00
Michaël Lemaire b60cd52510 Adjusted initial ship placement to work with a fleet of 5 ships 2015-04-22 22:18:49 +02:00
Michaël Lemaire 477b51bd9f Added display of temporary effects in ship list (no graphics yet) 2015-04-22 22:03:59 +02:00
Michaël Lemaire 0650605db9 Added removal of defeated encounter from location, allowing the winner to continue its journey 2015-04-22 00:17:00 +02:00
Michaël Lemaire f204bc4321 Added minimal distance between star locations 2015-04-21 23:40:15 +02:00
Michaël Lemaire cb278959a9 Added collision prevention on move actions 2015-04-21 22:14:17 +02:00
Michaël Lemaire ef0756c0e0 Made Bully AI move towards an enemy when no more maneuver is available 2015-04-15 02:00:00 +02:00
Michaël Lemaire e0468338fd Added messages system (basic at the moment) 2015-04-15 02:00:00 +02:00
Michaël Lemaire 3bc4afc4ce Updated phaser ts definitions 2015-04-09 02:00:00 +02:00
Michaël Lemaire c9c11d23ce Added encounter fleet generation (unbalanced) 2015-04-07 02:00:00 +02:00
Michaël Lemaire c9412ec8ef More state refactoring 2015-04-07 02:00:00 +02:00
Michaël Lemaire 6700685062 Refactored states + "battle" message on fight start 2015-04-07 02:00:00 +02:00
Michaël Lemaire b1999822f0 Added encounters in locations (WIP - no fleet at the moment) 2015-04-07 02:00:00 +02:00
Michaël Lemaire 287805c8cc Updated to phaser 2.3.0 2015-04-07 02:00:00 +02:00
Michaël Lemaire f48df7155a Fixed some display issues with universe and system maps 2015-03-30 02:00:00 +02:00
Michaël Lemaire 4298222637 Added ability to travel, and jump between stars 2015-03-27 01:00:00 +01:00
Michaël Lemaire b76a83c157 Added star system names 2015-03-25 01:00:00 +01:00
Michaël Lemaire 83d4b0f97f Generate one warp location for each link to other star systems 2015-03-25 01:00:00 +01:00
Michaël Lemaire f7eb13abe1 Added fleet location display on map 2015-03-25 01:00:00 +01:00
Michaël Lemaire 40925d54e1 Added star system map view 2015-03-24 01:00:00 +01:00
Michaël Lemaire c6d68e36c9 Renamed scripts to app 2015-03-24 01:00:00 +01:00
Michaël Lemaire d562acb409 Universe map only displays visited systems 2015-03-19 01:00:00 +01:00
Michaël Lemaire 74d302b64c Added star system links generation 2015-03-19 01:00:00 +01:00
Michaël Lemaire 86b20ffd2b Added basic star systems generation and displaying 2015-03-19 01:00:00 +01:00
Michaël Lemaire 9cc228e47c Added missile weapon effect 2015-03-16 01:00:00 +01:00
Michaël Lemaire dd2d5949ef Some init polishing, and beginning of main menu 2015-03-12 01:00:00 +01:00
Michaël Lemaire 98733dc94b Small renaming 2015-03-12 01:00:00 +01:00
Michaël Lemaire 5cffb1680c Refactored BullyMove, using the new AIManeuver
For future AI helpers
2015-03-12 01:00:00 +01:00
Michaël Lemaire 8b256aa95c Fixed serializer ID sequence not being reset on load 2015-03-12 01:00:00 +01:00
Michaël Lemaire fcf696f7c1 Moved level from fleet to ships
Now, generated 'lucky' loots are from the dead ship level, not the winner one (more logical that way)
2015-03-12 01:00:00 +01:00
Michaël Lemaire 488b059913 Added unit testing for SubMunitionMissile 2015-03-12 01:00:00 +01:00
Michaël Lemaire af82ffff7a Added handling of in-space targets for area effects 2015-03-11 01:00:00 +01:00
Michaël Lemaire cc6b6695f8 Started visual feedback for blast radius (WIP) 2015-03-06 01:00:00 +01:00
Michaël Lemaire 496b75b982 Improved targetting display (with 2 colors) 2015-03-06 01:00:00 +01:00
Michaël Lemaire 28d431e40e Fixed arena not destroying properly when changing UI state 2015-03-06 01:00:00 +01:00
Michaël Lemaire 17afcb2b0d Fixed action tooltip remaining visible after turn ended 2015-03-05 01:00:00 +01:00
Michaël Lemaire cf2f585109 Fixed loading/saving unit testing not being stable (due to stored timestamp in AI) 2015-03-05 01:00:00 +01:00
Michaël Lemaire 96d91e6b3d Added game saving and loading to localStorage (just with keyboard shortcuts now) 2015-03-04 01:00:00 +01:00
Michaël Lemaire 07b80d75df Merge branch 'serialization' 2015-03-04 01:00:00 +01:00
Michaël Lemaire 7eec39276e Added action tooltip (very WIP) 2015-03-03 01:00:00 +01:00
Michaël Lemaire faac0a8648 Made the game state fully serializable 2015-03-03 01:00:00 +01:00
Michaël Lemaire b3bb84b81a Added range hint display on actions 2015-03-03 01:00:00 +01:00
Michaël Lemaire fc66e2a70f Added serialization of references and cycles 2015-03-03 01:00:00 +01:00
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