nicholas-eden
1011b2f030
Add simple index to query map ( #321 )
...
`renderPass2` is looping over every entity for every frame, this updates the method so it only evaluates each entity once.
Adds ability to query by rectangle or circle.
2020-02-26 08:40:32 -05:00
Alex Yatskov
a4efd41383
File format cleanup ( #320 )
...
* Configuration cleanup
* Cleanup
* cleanup file formats
* make palettes a proper fileformat
2020-02-26 08:39:38 -05:00
Ziemas
0f7571a5b9
Render animations from their origin in composite. ( #318 )
2020-02-25 09:49:21 -05:00
Alex Yatskov
418c798c2c
Add RenderFromOrigin method to Animation ( #317 )
...
* Configuration cleanup
* Cleanup
* Add RenderFromOrigin option
2020-02-24 23:04:01 -05:00
Alex Yatskov
6f2c212417
Continued work on GUI ( #316 )
...
* Configuration cleanup
* Cleanup
* Continued UI work
2020-02-24 22:35:21 -05:00
Ziemas
2285c31b53
Fix wall location by removing extraneous offset ( #314 )
2020-02-24 13:36:12 -05:00
nicholas-eden
f6014498ba
Use missile range and subloop ( #311 )
...
Turn on blending. Calculate target using based on range and angle of hero to click.
2020-02-23 03:23:18 -05:00
Alex Yatskov
423cef304d
Screenshot and GIF recording capability ( #310 )
...
* Configuration cleanup
* Cleanup
* Gif animation and screenshot support
2020-02-22 23:59:45 -05:00
Ziemas
e4c84c4fb9
Direction changes. ( #309 )
...
* Take directions in the range of 0-63
* Shift direction handling in animation further back
* Don't need to get the DCC direction here.
Because it was added to animation.
* Check direction is within range
2020-02-22 22:33:58 -05:00
nicholas-eden
bdfdeda67b
Add support for missiles ( #308 )
...
* WIP: Add support for missiles
Break AnimatedEntity into two parts to support single and composite animations. Summon misssiles on right click.
* Break animated entity down further
Move npc only logic to npc struct, reduce duplication in map entities
* Change a bunch of int32s to int
2020-02-22 20:44:30 -05:00
Alex Yatskov
2953d2171b
Configuration improvements ( #307 )
...
* Configuration cleanup
* Cleanup
2020-02-20 08:41:41 -05:00
Alex Yatskov
810b168ebf
Work in progress on GUI ( #304 )
...
* Work in progress on GUI refactor
* Remove WIP file
* Remove WIP style
2020-02-17 22:11:52 -05:00
Alex Yatskov
1983ec395d
Cleanup error handling ( #303 )
2020-02-09 14:12:04 -05:00
Tim Sarbin
9478e2c2be
Fixed pathfinding crash ( #301 )
2020-02-08 21:33:14 -05:00
Alex Yatskov
5e958b9174
Scene and GUI rework ( #300 )
2020-02-08 21:02:37 -05:00
nicholas-eden
b957661915
Add panel to contain hero stats ( #299 )
...
Left framing with stats panel, bound to 'C' key.
2020-02-08 10:51:11 -05:00
Nick
99e6acf2bb
Write default configuration file if one is not found. ( #298 )
2020-02-07 22:21:15 -05:00
liberodark
554a276520
Update run.sh ( #296 )
2020-02-06 20:01:11 -05:00
Alex Yatskov
a04d2389c3
Fix terminal taking input when not visible, fix timescale command ( #294 )
2020-02-02 21:26:08 -05:00
Tim Sarbin
0c618bd31b
Fixed refactor bug for d2config ( #293 )
2020-02-02 18:58:26 -05:00
Tim Sarbin
81013286e6
Added CircleCI badge ( #292 )
2020-02-02 18:52:16 -05:00
Tim Sarbin
e8b315861d
One more CI fix.. ( #291 )
2020-02-02 18:29:28 -05:00
Tim Sarbin
7bb7c35d53
Hopefully fixed CI error ( #290 )
2020-02-02 18:26:53 -05:00
Tim Sarbin
83f7301705
Added CircleCI ( #289 )
...
* Added CircleCI
* Removed the github workflow
2020-02-02 18:23:32 -05:00
Ziemas
0b7a433ed2
Fix up subtile flag stuff ( #288 )
...
* Switch to a 2d array for looking up subtile flags
Also fix up the walkableArea generation
* Check correct tiletype for walls
And fix the subtile tooltip text.
2020-02-02 17:56:58 -05:00
Alex Yatskov
241e8e2875
Cleanup main.go, better error handling, less repetition ( #287 )
2020-02-02 14:59:47 -05:00
Alex Yatskov
f33535cd5d
Add commands for vsync, fullscreen; move timescale implementation ( #286 )
...
* Add commands for vsync, fullscreen; move timescale implementation
* add binding for mapdebugvis
2020-02-02 14:04:37 -05:00
Tim Sarbin
3412c4338c
Added pathfinding and (buggy) collision data. ( #285 )
2020-02-02 12:46:19 -05:00
Tim Sarbin
935789dccf
Added more debugging to map test ( #284 )
2020-02-02 02:57:23 -05:00
Tim Sarbin
6606774ece
Refectoring to reduce code warnings ( #283 )
2020-02-01 21:51:49 -05:00
Alex Yatskov
ea4450f207
Move d2config to d2core, remove d2helper ( #282 )
2020-02-01 21:06:22 -05:00
Alex Yatskov
b5c1f5222d
Move rendering stuff out of d2common into d2render ( #281 )
...
* Move rendering stuff out of d2common into d2render
* Remove d2interface
2020-02-01 20:39:28 -05:00
Tim Sarbin
4cbb755335
Added full error checking to main.go. Removed redundant casts. ( #280 )
2020-02-01 19:42:39 -05:00
Alex Yatskov
8a547ebf0e
Moving files around to make more sense ( #279 )
...
* Prevent input fighting between terminal and other input listeners.
* Moving files around, removing exports
* Add missing line
2020-02-01 18:55:56 -05:00
Alex Yatskov
e878ebcbcd
Prevent input fighting between terminal and other input listeners. ( #278 )
2020-02-01 14:35:55 -05:00
dk
568bc7977e
re-adding local build string ( #277 )
2020-02-01 00:17:56 -05:00
Tim Sarbin
2461142fbd
Minor changes to project layout ( #276 )
...
* Minor changes to reduce interdependencies on modules.
2020-01-31 23:18:11 -05:00
Tim Sarbin
6832a5a0db
merged d2shared into the core package ( #275 )
2020-01-26 00:39:13 -05:00
Alex Yatskov
8de0cde818
Event-based input manager with priority system ( #274 )
2020-01-25 23:28:21 -05:00
Peter David Faria
1653ffc362
Added runtime check for 32-bit windows. ( #273 )
2020-01-18 22:55:59 -05:00
Ziemas
6cea2bded0
Update ebiten ( #272 )
2020-01-02 09:17:55 -05:00
Ziemas
0876a2953d
NPC path: change mode before changing directions. ( #271 )
...
We need the data of the new mode before making a decision on what
direction to use.
2019-12-28 23:33:30 -05:00
nicholas-eden
d6769975cd
Initial inventory handling ( #270 )
...
Add struct to display inventory panel.
Add struct to handle inventory and merchant grids.
Hook up `i` key to toggle inventory panel.
2019-12-28 23:32:53 -05:00
Alex Yatskov
c01bedaedf
Do not advance state in render ( #269 )
...
* Do not advance state in render
* Update advance logic for sprite and region
2019-12-28 23:32:24 -05:00
Alex Yatskov
49b9a190f2
Render to surface, not ebiten texture ( #268 )
...
* Render to surface, not ebiten texture
* Fix debug text
2019-12-28 16:46:08 -05:00
Ziemas
0c2b7cfd8d
Advance hero animations on char select screen. ( #267 )
2019-12-26 11:14:26 -05:00
Alex Yatskov
b7e50bf098
Add terminal, surface, assetmanager commands ( #266 )
...
* Add terminal, surface, assetmanager commands
* echo command
* add verbose logging
* more logging, word wrap
* add timescale command
2019-12-26 11:13:05 -05:00
Alex Yatskov
0ee937f01b
Rename Paperdoll to Composite ( #265 )
...
Make AnimatedEntity use Composite
2019-12-24 01:48:45 -05:00
Alex Yatskov
1b03e691b9
High level resource caching; resource cleanup ( #264 )
...
* Work on resource loading
* Use new material flag name. (#261 )
Update ebiten ref while at it
* Hopefully fix CI (#262 )
* Don't try to copy config.json on travis (#263 )
I doesn't exist anymore
* Update D2Shared references
* Fix character selection rect
Co-authored-by: Ziemas <ziemas@ziemas.se>
2019-12-21 20:53:18 -05:00
Ziemas
29c5839876
Don't try to copy config.json on travis ( #263 )
...
I doesn't exist anymore
2019-12-19 20:25:44 -05:00