Tim Sarbin
5bfec3ccb0
Removed render singleton. Updated refs.
2020-07-03 14:00:56 -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
3f575cf1d8
Removed audio singleton ( #482 )
2020-06-28 19:31:10 -04:00
Tim Sarbin
226181ffcc
UI fixes ( #461 )
2020-06-25 17:28:48 -04:00
Natureknight
b60465fd6c
render the run button the UI, and allow the user to toggle it with their mouse, in addition to the R key on the keyboard ( #400 ) ( #443 )
2020-06-24 15:23:38 -04:00
David Carrell
37ae98d81b
Abstract away remaining ebiten references ( #409 )
...
* 337 - remove ebiten from character selection
* 337 - abstract d2input away from ebiten implementation
* WIP 337 - remove ebiten use from d2ui
* 337 - fix accidental left->right change
* 337 - fix ui button selection bugs
* 337 - fix textbox bugs
* 337 - fix scrollbar bugs
* 337 - address PR comments
* 337 - fix invalid hero selection bug
Co-authored-by: David Carrell <carrelda@Davids-MacBook-Pro.local>
2020-06-23 18:12:08 -04:00
Ziemas
15b78372b2
Update textboxes in their advance function ( #407 )
...
Fixes wonky input
2020-06-22 23:51:23 -04:00
Tim Sarbin
912aaf044c
Re-tooled rendering engine ( #379 )
2020-06-21 18:40:37 -04:00
Tim Sarbin
2da08884c4
Added multiplayer support ( #336 )
2020-06-18 14:11:04 -04:00
Tim Sarbin
16dc775be1
Renamed scene to screen to avoid confusion of intent. ( #334 )
2020-06-13 20:36:20 -04:00
Robin Eklind
ff4f0b0bfa
all: use goimports to format code and fix two minor typos in comments ( #326 )
...
Typos located using misspell: https://github.com/client9/misspell
Formatting done using goimports: https://godoc.org/golang.org/x/tools/cmd/goimports
2020-04-11 14:56:47 -04:00
Alex Yatskov
1983ec395d
Cleanup error handling ( #303 )
2020-02-09 14:12:04 -05:00
Alex Yatskov
5e958b9174
Scene and GUI rework ( #300 )
2020-02-08 21:02:37 -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
Tim Sarbin
2461142fbd
Minor changes to project layout ( #276 )
...
* Minor changes to reduce interdependencies on modules.
2020-01-31 23:18:11 -05:00