Tim Sarbin
5bfec3ccb0
Removed render singleton. Updated refs.
2020-07-03 14:00:56 -04:00
David Carrell
c8ec4c018e
first pass at resolving linting issues in d2asset ( #518 )
2020-07-01 14:09:18 -04:00
Maxime Lavigne (malavv)
3990df3bac
Fixes #496 and improves memory consumption on render of game_controls ( #501 )
...
* Fixes #496 using ebiten.SubImage to Render Section of a Surface.
I had to add matching functions to both animation and sprite to get it to be called
for a sprite object.
* Fixed linter warning on comments for Sprite and Animation.
* Removing what's remaining of the old Sprite re-generation and caching.
2020-06-30 12:43:13 -04:00
Tim Sarbin
e2572b8745
More linting ( #500 )
2020-06-30 09:58:53 -04:00
dk
55dc3e42ed
minor edits ( #486 )
...
* adding comments to d2interface for linter
* moved d2render renderer interfaces and types into d2interface
2020-06-29 00:41:58 -04:00
Tim Sarbin
255ffc75da
Fixed lint issues ( #484 )
2020-06-28 22:32:34 -04:00
Tim Sarbin
1b614ddb3a
Made animation loaders public. ( #481 )
...
* Updated ebiten reference
* Made animation loaders public
2020-06-28 12:10:25 -04: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
Alex Yatskov
418c798c2c
Add RenderFromOrigin method to Animation ( #317 )
...
* Configuration cleanup
* Cleanup
* Add RenderFromOrigin option
2020-02-24 23:04:01 -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
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
Alex Yatskov
1983ec395d
Cleanup error handling ( #303 )
2020-02-09 14:12:04 -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
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