1
0
Fork 0
Commit graph

233 commits

Author SHA1 Message Date
Michaël Lemaire cde4b2fdf1 Added flashing effect on ship list when receiving damage 2017-01-15 23:05:00 +01:00
Michaël Lemaire 1f1f693a8c Replaced fading action overlay by blinking lights 2017-01-13 01:28:23 +01:00
Michaël Lemaire 41a257df7a Updated actionbar theme and action icons 2017-01-13 00:57:28 +01:00
Michaël Lemaire b0b7d89eb6 Added automatic scaling 2017-01-12 22:53:34 +01:00
Michaël Lemaire 337bb5c74f Dim dead ship sprite instead of removing it 2017-01-12 01:37:05 +01:00
Michaël Lemaire 356486c6ce Grant initial AP at start of battle, and recover when turn ends 2017-01-12 01:36:34 +01:00
Michaël Lemaire cfaeb8da7a Round some displayable attributes to integers 2017-01-11 18:31:21 +01:00
Michaël Lemaire 6c47655472 Added attributes to ship tooltip 2017-01-11 01:38:08 +01:00
Michaël Lemaire 026af8bdd2 Added ship frame in arena to know which side they are on 2017-01-10 01:22:59 +01:00
Michaël Lemaire 166557c0d6 Added ship tooltip 2017-01-10 00:24:33 +01:00
Michaël Lemaire f80ab3350c Updated ship hover effect 2017-01-09 01:37:15 +01:00
Michaël Lemaire 3fba641b5b Improved action tooltip 2017-01-08 23:42:53 +01:00
Michaël Lemaire 327fb63173 Added experimental flat design for new shiplist UI 2017-01-08 23:04:07 +01:00
Michaël Lemaire 4aa30265dd Always use strict mode 2017-01-03 23:26:56 +01:00
Michaël Lemaire c84bac7d59 Added typings 2017-01-03 23:17:52 +01:00
Michaël Lemaire 59f5e6b61b Directory structure 2017-01-03 22:53:36 +01:00
Michaël Lemaire 71493cc317 Fixed small issues 2016-10-26 23:27:43 +02:00
Michaël Lemaire 2a319c149c Simplified build process 2016-10-26 23:15:04 +02:00
Michaël Lemaire 301bce75e0 Added a ship model system 2015-05-05 21:49:33 +02:00
Michaël Lemaire dcbfbca891 Added action points usage indication in action bar, while targetting 2015-04-28 18:35:48 +02:00
Michaël Lemaire 9045f7e5c3 Fixed game saving when an AI is in play 2015-04-28 09:27:45 +02:00
Michaël Lemaire ee8bf3b4a3 Fixed music restarting on startMusic, even when the same key was used 2015-04-28 09:27:45 +02:00
Michaël Lemaire a0125d1a04 Quick integration of two temporary ship models 2015-04-27 22:05:59 +02:00
Michaël Lemaire e48eedf0a6 Removed ship card on right side of screen during battles
Will be replaced later by a tooltip
2015-04-26 21:34:55 +02:00
Michaël Lemaire 7454cbc3e4 Added ship list background 2015-04-26 21:09:52 +02:00
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