Commit Graph

555 Commits

Author SHA1 Message Date
Collin Smith
018cc9767c Fixed passing connect info in JoinGame 2019-11-30 20:16:58 -08:00
Collin Smith
9f5d134eee Added MSI (master slave instancer) to create child D2GS processes
Added MSI (master slave instancer) to create child D2GS processes
This is intended to act as a temp structure for testing until support for actual servers are added where an API can generate proper instances
2019-11-30 20:02:36 -08:00
Collin Smith
ca94ac5a60 Added support for joining game sessions with MCP
Added support for joining game sessions with MCP
Created MAX_PLAYERS constant in Engine
2019-11-30 15:22:03 -08:00
Collin Smith
4a5a03edbc Added support for creating game sessions with MCP
Added support for creating game sessions with MCP
Forced debug mode for BNLS and MCP for testing purposes
Fixed type with Result#ALREADY_EXISTS constant
Extended GameSession to support builder pattern and CreateGame copy constructor
2019-11-30 02:24:13 -08:00
Collin Smith
ac35310ace Added MCP server module which acts as the server browser
Added MCP server module which acts as the server browser
MCP only supports listing games at this time
Minor changes to LoginScreen to reflect how LobbyScreen was written differently
Added desktop with networking run config which starts up server instances and then a client
Created GameSession class which is used as a cache for mcp GameSession packets
2019-11-30 01:46:56 -08:00
Collin Smith
67b7700f7f Changed LobbyScreen viewport to Riiablo.extendViewport to remove scaling 2019-11-29 21:43:01 -08:00
Collin Smith
7ebf72d231 Added login system and reintegrated realm lobby 2019-11-29 21:33:58 -08:00
Collin Smith
8f3975aeda Added padding to text fields 2019-11-29 15:14:25 -08:00
Collin Smith
83de5e462e Added rough in of audio emitter system 2019-11-29 15:11:28 -08:00
Collin Smith
31e3d7632e Added QuillRat AI and support for missile entities
Added QuillRat AI
Added support for creating and firing Missile entities
Missile entities using separate physics system to step their movement
Added system to load Missile animations
Reduced Fallen trigger distance to 25 from 35 so they are less aggressive while testing
2019-11-29 02:03:56 -08:00
Collin Smith
d21f6b887d Added automatic preloading of common sound assets to avoid hitching (~1.5MB usage) 2019-11-29 00:32:30 -08:00
Collin Smith
2c7d28a098 Implemented sequence system for Fallen and Zombie AIs
Implemented sequence system for Fallen and Zombie AIs
Moved some common AI actions to AI class (pathing, look at, sequence)
SequenceSystem will automatically reset anim speeds when changing modes
2019-11-29 00:31:06 -08:00
Collin Smith
ede01ecf3d Added SequenceSystem and SequenceComponent to provide state transitions 2019-11-29 00:05:01 -08:00
Collin Smith
10dedcfecb Added and disabled map disposing due to bug with multiple instances 2019-11-28 18:11:36 -08:00
Collin Smith
2139747d0c Fixed issue where game would crash if trying to enter multiple games in a single instance 2019-11-28 18:08:33 -08:00
Collin Smith
b1b2e3985f Added flags to control debugging for paths and box2d 2019-11-28 17:57:47 -08:00
Collin Smith
fe1f72332c Added extra condition for debug renderer to not show animation frames for animations with single frames 2019-11-28 17:55:16 -08:00
Collin Smith
a072625dba Moved Map into constructors and removed various setMap(Map) methods
Fixed issue where calling Map#generate() would throw a nested iterator error
2019-11-28 16:28:27 -08:00
Collin Smith
d09828e315 Removed MapLoader (see #13) 2019-11-28 15:32:33 -08:00
Collin Smith
0d1b7819df Rewrote Map and redesigned map/game screen loading strategy to better comply with #13 2019-11-28 15:29:53 -08:00
Collin Smith
58acc6d6bc Replaced GridPoint2 with Vector2
Replaced GridPoint2 with Vector2
Reduced buffer size for DS1 to 8192B
Added extra debugging info for DS1 decode cases with extra bytes
2019-11-27 06:22:04 -08:00
Collin Smith
0249ca2883 Added more robust validation of character state changes for alpha and transform (see #37) 2019-11-26 22:01:47 -08:00
Collin Smith
96823c46b3 Fixes error when creating a new character 2019-11-26 21:43:49 -08:00
Collin Smith
29941e106f Removed object oriented engine code-base
Removed object oriented engine code-base and deprecated remaining classes
Removed some older test classes which implemented the old engine
Moved game screen panel classes to screen.panel package
Changed game screen panel classes to use Riiablo.game reference
2019-11-26 16:23:22 -08:00
Collin Smith
0617942f3e Fixed Engine instantiation and added input processor for testing purposes 2019-11-26 15:27:13 -08:00
Collin Smith
6dd75af2f7 Added support for enforcing labels remain within screen bounds 2019-11-26 15:19:20 -08:00
Collin Smith
735fb021e9 Added support for monster label -- which is a distinction from other labels 2019-11-26 15:12:59 -08:00
Collin Smith
00f61303c4 Code cleanup 2019-11-26 00:51:19 -08:00
Collin Smith
f2ae483e4b Updated UI practices and alignment to other screens -- fixed LoginScreen to use the extended viewport 2019-11-26 00:16:43 -08:00
Collin Smith
085e43d92e Lowered item label height to compensate for them no longer being centered at the offset 2019-11-25 23:52:28 -08:00
Collin Smith
3442d3d3b2 Moved AISystem to correct package and implemented radius check to run AI 2019-11-25 23:48:16 -08:00
Collin Smith
4516249bc0 Committing AI system which will perform AI updates 2019-11-25 23:43:34 -08:00
Collin Smith
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
Collin Smith
e3c608bd33 Disabled drawing labels when a menu or dialog is open 2019-11-25 22:24:19 -08:00
Collin Smith
59cf572815 Added additional condition for Npcs to face player 2019-11-25 22:12:01 -08:00
Collin Smith
c2af0cdbf6 Ported Fallen AI 2019-11-25 14:56:00 -08:00
Collin Smith
4297f76b5c Added Npc greeting and additional state correctness assignments 2019-11-25 04:46:39 -08:00
Collin Smith
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
Collin Smith
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
Collin Smith
ef0b99a02a Added dialog boxes and support for Npc introduction and gossip functions 2019-11-25 03:59:56 -08:00
Collin Smith
98bd87ef61 Ported Zombie AI and fixed NPE case where target entity was not Interactable 2019-11-25 03:50:46 -08:00
Collin Smith
947b5974f9 Added debug text for AI status and added state names for Npc AI 2019-11-25 03:26:48 -08:00
Collin Smith
1fa7c20f3b Added support for generated monster entities 2019-11-25 03:19:35 -08:00
Collin Smith
5688752d71 Added AI system along with ported Npc AI 2019-11-25 00:53:10 -08:00
Collin Smith
1f62cf4aca Added MonsterComponent reference in AI, added component mapping to Npc 2019-11-24 22:40:37 -08:00
Collin Smith
83dc4dae68 Adjusted z-order of mobile controls to prevent interaction and blocking of panels 2019-11-24 22:14:35 -08:00
Collin Smith
cb828b100a Prevent touch movement on android 2019-11-24 22:02:28 -08:00
Collin Smith
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
Collin Smith
e0bee92925 Added ClientScreen reference within Riiablo class and removed it from Engine and ObjectIterator constructors 2019-11-24 16:41:54 -08:00
Collin Smith
d7ba715fef Added control for debug mode 2019-11-24 16:29:04 -08:00