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
Collin Smith
801df645a3
Added check for param equality (will result in invalid value if same reference for both params)
2019-05-02 21:25:20 -07:00
Collin Smith
058d7e9944
Integrated EngineUtils into MapRenderer
2019-05-02 21:23:38 -07:00
Collin Smith
f2941cc9ca
Deprecated DirectionUtils and removed it from repo
...
Deprecated DirectionUtils and removed it from repo
Propagated changes back into DirectionTool
Fixed bug regarding direction4 math
2019-05-02 20:59:38 -07:00
Collin Smith
b15f76b2bf
Formatting fix
2019-05-02 20:41:26 -07:00
Collin Smith
4947d8a8a9
Replaced pixel location calculations with single reference calculated during act(float)
2019-05-02 19:05:29 -07:00
Collin Smith
69da1eef24
Inlined array declarations with pre-generated values
2019-05-02 05:38:15 -07:00
Collin Smith
4c2b8f8d1c
Replaced initial branch statement with code similar to existing branchless code
2019-05-02 05:06:05 -07:00
Collin Smith
2a0ed7d40a
Created direction tools to provide interactive testing tool for new directions
2019-05-02 02:51:35 -07:00
Collin Smith
e853f68d9d
Fixed compilation error
2019-05-02 01:58:39 -07:00
Collin Smith
74cc7b82e2
Improved time steps so animation speeds look consistent across varying fps
2019-05-01 20:34:37 -07:00
Collin Smith
b4ad257503
Created AnimationTool to test smoothed vs original animation deltas
2019-05-01 01:45:05 -07:00