Commit Graph

445 Commits

Author SHA1 Message Date
Jan Šimek
67193f52dc Fixed launching the game without resolution arguments 2019-07-03 19:21:47 +02:00
Collin Smith
092f7de91b Removed dependency on LibGDX 1.9.9 headless backend -- now using same version as rest of project 2019-06-26 15:51:05 -07:00
Collin Smith
cc2ea8ba00 Removed eclipse stuff from gradle (was giving warnings and completely unused) 2019-06-24 03:25:43 -07:00
Collin Smith
bd6758626d Fixed deprecation warning in android gradle 3.0 2019-06-24 03:17:34 -07:00
Collin Smith
b8660a5458 Removed cache field 2019-05-28 01:33:42 -07:00
Collin Smith
49122a045d Scrolling now adjusts MapRenderer zoom 2019-05-14 19:05:35 -07:00
Collin Smith
0414472042 Added debug rendering for toTile50 2019-05-12 02:04:09 -07:00
Collin Smith
5acbaa54f1 Moved iso updates to post tick and extended debug tile grid size 2019-05-11 18:40:13 -07:00
Collin Smith
f8d1397d95 Added cursor movement with a timestep 2019-05-10 15:46:50 -07:00
Collin Smith
f7bdf363dc Simplified implementation 2019-05-10 02:00:32 -07:00
Collin Smith
709642b5a7 Fixes formatting 2019-05-10 01:21:25 -07:00
Collin Smith
cbc514e288 Closes #23 2019-05-10 01:20:38 -07:00
Collin Smith
0fab1a4c94 Moved class to com.riiablo.camera
Moved class to com.riiablo.camera
Improved debug overlay -- added labels
2019-05-10 00:45:07 -07:00
Collin Smith
2ae55d9eb8 Changed translation amount
Changed translation amount
Added support for toTile50 for position coords because of centering
Display iso position and tile position
Changed access of offset and position
2019-05-10 00:20:58 -07:00
Collin Smith
a7682d8743 Added support for isometric offsets 2019-05-09 23:46:44 -07:00
Collin Smith
eaf97baf6e Added translation support
Added translation support
Changed IsometricCamera to use tile coordinates for position coords
2019-05-09 16:00:07 -07:00
Collin Smith
7b4b58ee2d Algebraic simplifications 2019-05-08 23:43:14 -07:00
Collin Smith
a5ff6233c9 Removed unneeded qualification 2019-05-08 23:37:38 -07:00
Collin Smith
fe1e15d1fc Committing new camera classes 2019-05-08 23:34:44 -07:00
Collin Smith
06b91341bf int pixel coords to float 2019-05-07 02:52:23 -07:00
Collin Smith
c8d0a7e9a2 Basic aggregation of walls in y-axis 2019-05-06 20:00:40 -07:00
Collin Smith
59fb2c21c4 Adjusted math to use logical coords instead of inverting map y coordinates 2019-05-06 19:50:42 -07:00
Collin Smith
7e2b2679ba Aggregation of horizontal walls 2019-05-06 10:29:09 -07:00
Collin Smith
c36313304b Improved direction math to use backing MapRenderer to result in correct angle 2019-05-05 20:52:20 -07:00
Collin Smith
a0817b26a7 Disabled shadows and removed unneeded pos calculation 2019-05-05 18:13:36 -07:00
Collin Smith
b5c1c0933c Integrated MapRenderer to draw world 2019-05-05 17:44:18 -07:00
Collin Smith
fbbaee714d Fixed initial starting position 2019-05-05 17:13:13 -07:00
Collin Smith
794dd8cff7 Disabled camera movement when path generated 2019-05-05 15:14:53 -07:00
Collin Smith
c079787cac Moved MapViewer to tools module -- deleted mapbuilder module 2019-05-05 15:09:43 -07:00
Collin Smith
1c2a299045 Added support for box2d lights 2019-05-05 03:39:25 -07:00
Collin Smith
4fc44bb8cd Increased base velocity to 1 m/s 2019-05-05 01:26:04 -07:00
Collin Smith
f79baf0c4c Changed player to circle shape
Changed player to circle shape
Player will now face direction of linear velocity
2019-05-05 01:20:55 -07:00
Collin Smith
1aae833301 Improved movement behavior 2019-05-05 01:14:08 -07:00
Collin Smith
4b01a73460 Integrated mouse for entity movement
Integrated mouse for entity movement
Bound camera to player entity position
2019-05-05 01:10:00 -07:00
Collin Smith
7f192ebea6 Added test player body 2019-05-04 23:25:51 -07:00
Collin Smith
40b864c400 Created WallAggregatorTool to assist with developing box2d integration 2019-05-04 22:51:47 -07:00
Collin Smith
3b9311b11e Bugfix for some null layers for barb cofs 2019-05-04 17:05:32 -07:00
Collin Smith
8fa660f175 Added support for direction actor to COFs -- need to add support for other animation controls 2019-05-04 16:55:40 -07:00
Collin Smith
32a73e31f6 Added DirectionActor to make choosing directions more logical 2019-05-04 16:52:12 -07:00
Collin Smith
421519eba0 Added remaining DC6 data infos 2019-05-04 16:00:30 -07:00
Collin Smith
b4f8b12ced Added remaining DCC data infos
Added remaining DCC data infos
Adjusted default split amount slightly to fit content better
2019-05-04 15:47:01 -07:00
Collin Smith
b5483606d3 Added support for direction and bbox info 2019-05-04 15:04:56 -07:00
Collin Smith
0946cf4ddb Added support for DC info headers 2019-05-04 14:19:46 -07:00
Collin Smith
c10af745b9 Small optimization for mobile to limit updates to entities about 1-2 screen away 2019-05-04 03:20:22 -07:00
Collin Smith
60ecc72fca Fixed quillrat missile
Fixed quillrat missile initial direction
Exposed Entity.screen vector
Integrated EngineUtils into Missile updates
2019-05-04 02:07:28 -07:00
Collin Smith
b9b74768ee Added entity debug size support to monsters 2019-05-03 18:11:00 -07:00
Collin Smith
274e756cce Bugfix for NPE thrown by layers -- creating issue #51 2019-05-03 17:54:24 -07:00
Collin Smith
e672466200 Added support for draw debug entity sizes
Added support for draw debug entity sizes
Fixed bug with debug shape type in draw walkable tiles
Assigned Player entities to size 2
2019-05-03 17:50:10 -07:00
Collin Smith
1b7b7ed350 Added drawDiamond functionality to DebugUtils
Added drawDiamond functionality to DebugUtils
Propagated change to classes
Added drawDiamond2 variation to interpret x,y as bottom left corner
2019-05-03 17:37:32 -07:00
Collin Smith
00c7a6c31a Fixed issue where engine entities weren't cleared after exiting GameScreen 2019-05-02 22:02:55 -07:00