Commit Graph

819 Commits

Author SHA1 Message Date
0617942f3e Fixed Engine instantiation and added input processor for testing purposes 2019-11-26 15:27:13 -08:00
6dd75af2f7 Added support for enforcing labels remain within screen bounds 2019-11-26 15:19:20 -08:00
735fb021e9 Added support for monster label -- which is a distinction from other labels 2019-11-26 15:12:59 -08:00
00f61303c4 Code cleanup 2019-11-26 00:51:19 -08:00
f2ae483e4b Updated UI practices and alignment to other screens -- fixed LoginScreen to use the extended viewport 2019-11-26 00:16:43 -08:00
085e43d92e Lowered item label height to compensate for them no longer being centered at the offset 2019-11-25 23:52:28 -08:00
3442d3d3b2 Moved AISystem to correct package and implemented radius check to run AI 2019-11-25 23:48:16 -08:00
4516249bc0 Committing AI system which will perform AI updates 2019-11-25 23:43:34 -08:00
b49bcb6ef1 Added secondary stage called scaledStage
scaledStage will be used to render UI components with the isometric camera -- this will make components easier to read and select on mobile
2019-11-25 23:38:28 -08:00
e3c608bd33 Disabled drawing labels when a menu or dialog is open 2019-11-25 22:24:19 -08:00
59cf572815 Added additional condition for Npcs to face player 2019-11-25 22:12:01 -08:00
c2af0cdbf6 Ported Fallen AI 2019-11-25 14:56:00 -08:00
4297f76b5c Added Npc greeting and additional state correctness assignments 2019-11-25 04:46:39 -08:00
6e5d71545f Set cof speeds back to 136 delta -- still needs work on proper formula, but this is fine for now 2019-11-25 04:40:47 -08:00
38ceb8cd72 Extended InteractableComponent to support counter for number of concurrent interactions and added support in Npc AI for this 2019-11-25 04:10:02 -08:00
ef0b99a02a Added dialog boxes and support for Npc introduction and gossip functions 2019-11-25 03:59:56 -08:00
98bd87ef61 Ported Zombie AI and fixed NPE case where target entity was not Interactable 2019-11-25 03:50:46 -08:00
947b5974f9 Added debug text for AI status and added state names for Npc AI 2019-11-25 03:26:48 -08:00
1fa7c20f3b Added support for generated monster entities 2019-11-25 03:19:35 -08:00
5688752d71 Added AI system along with ported Npc AI 2019-11-25 00:53:10 -08:00
1f62cf4aca Added MonsterComponent reference in AI, added component mapping to Npc 2019-11-24 22:40:37 -08:00
83dc4dae68 Adjusted z-order of mobile controls to prevent interaction and blocking of panels 2019-11-24 22:14:35 -08:00
cb828b100a Prevent touch movement on android 2019-11-24 22:02:28 -08:00
bff683203d Added AIComponent and implemented Interactor into AIs
Added AIComponent and implemented Interactor into AIs
Added support for NpcMenu along with correct stage placement
2019-11-24 21:54:04 -08:00
e0bee92925 Added ClientScreen reference within Riiablo class and removed it from Engine and ObjectIterator constructors 2019-11-24 16:41:54 -08:00
d7ba715fef Added control for debug mode 2019-11-24 16:29:04 -08:00
cb95b0c8ce Removed unused code and reduced pathing limit to 300 nodes now that raycasting can take over 2019-11-24 03:36:17 -08:00
bca49f4633 Added WarpInteractor and improved target handling within TouchMovementSystem 2019-11-24 03:15:28 -08:00
8f147094a7 Refined TouchMovementSystem to work more smoothly near walls
Refined TouchMovementSystem to work more smoothly near walls by turning off pathing and using raycasting and box2d
Replaced gdx-ai raycaster with my own implementation that supports passing size and flags
Exposed MapGraph#getOrCreate(Vector2) -- may move this class and return these to package access later
2019-11-24 02:48:41 -08:00
d29ed177ca Added support for touch movement and interaction
Added interact system and interactors for object and items
Added minimum bounds to item entities to make them easier to interact with
Committing EntityAdapter -- should have been included a few commits ago
Added ClientScreen to Engine constructor
Committing ClientScreen -- tbd replacement for GameScreen
Added CollisionSystem to update Box2D bodies with current object state
2019-11-23 22:52:40 -08:00
6cd0777557 Workaround for interactable entities not allowing to be pathed to (since their coords were flagged on map) 2019-11-23 19:22:25 -08:00
29cbcead58 Made item entities interactable 2019-11-23 18:29:31 -08:00
dcf7b28402 Cleaned up UI a bit -- added function hotkeys bar to top
Fixed issue where right click wouldn't clear previous paths
2019-11-23 18:21:10 -08:00
7603adb26c Renamed MapViewerTool to MapViewer -- replacing previous MapViewer 2019-11-23 18:04:11 -08:00
a06bd449dc Deleted MapViewer 2019-11-23 18:03:21 -08:00
49d552d7b8 Added MapViewerTool which uses ECS engine and deprecates MapViewer 2019-11-23 18:01:06 -08:00
917c461e37 Extended PathfindDebugSystem to better support using independently from engine to test path finding
Added support for drawing ellipses with DebugUtils
2019-11-23 17:59:11 -08:00
407d41c7ba Implemented a JPS path finder (see #63) 2019-11-23 16:58:37 -08:00
ab9fe45d22 Replaced pixel coords x,y with cursor world coords x,y 2019-11-23 03:40:21 -08:00
b2d8b7f8b9 Fixed variable names 2019-11-23 02:04:30 -08:00
1d820b8bb2 Folded NodeRecord into Point2
Renamed IndexAStarPathFinder to AStarPathFinder because it isn't indexed anymore
2019-11-22 23:49:49 -08:00
42c440618f Minor change to enforce correct heuristic type is assigned to heuristic fields 2019-11-22 22:34:46 -08:00
99914c2c23 Rewrote path finding related classes to be more tailored to my needs (see #63) 2019-11-22 22:20:53 -08:00
673463da91 Refactored and moved some things around -- changed node category to byte 2019-11-22 16:17:04 -08:00
8545fc22fc Replaced node records array with one that is dynamically resized 2019-11-22 16:00:41 -08:00
a5898b568f Moved graph indexing abstraction to node interface
Moved graph indexing abstraction to node interface
Created clearanced node interface
Simplified IndexedAStarPathfinder
2019-11-22 03:26:15 -08:00
f7bdd339e4 Added support for item entities
Created ItemLoaderSystem to defer flippy file loading
Item entities are selectable only after their flippy file has been loaded since they have no bbox
Changed implementations from EntityListener to EntityAdapter
2019-11-21 04:11:16 -08:00
07ec6a9bc1 Relaxed family constraint that all entities should have a COF -- items do not 2019-11-21 03:39:31 -08:00
354c715261 Fix for shoving NPCs 2019-11-21 02:00:14 -08:00
2e264abb66 Fixed issue setting flags for multiple rows 2019-11-21 01:58:12 -08:00