Commit Graph

90 Commits

Author SHA1 Message Date
cha0s
ab689beee9 refactor: safer fromJSON 2019-03-21 23:40:03 -05:00
cha0s
07491fabdf refactor: use Vector.mixin 2019-03-21 23:39:46 -05:00
cha0s
14d07c195c fix: vector mixin was broked 2019-03-21 23:39:09 -05:00
cha0s
0de58ff338 refactor: Vector mixin 2019-03-21 23:13:46 -05:00
cha0s
25809f5b31 fix: prune duplicate entity results from quad tree 2019-03-21 20:13:53 -05:00
cha0s
bb02bed6a5 refactor: Listed handles quadtree nodes, 4 points for bounds 2019-03-21 20:07:32 -05:00
cha0s
006b9a742e chore: dead code 2019-03-21 18:41:46 -05:00
cha0s
4e5c4abe8c fix: map uuid before adding entity 2019-03-21 18:30:44 -05:00
cha0s
e31d7be41a EntityList::destroy 2019-03-21 01:32:49 -05:00
cha0s
10be72e6fa fix: this animation 2019-03-21 01:32:39 -05:00
cha0s
fd24ca6c7c refactor: better interface 2019-03-21 01:14:24 -05:00
cha0s
4da1b827d5 feat: custom entity list locator 2019-03-21 00:41:25 -05:00
cha0s
f2dba0a801 refactor: no nasty params 2019-03-21 00:36:06 -05:00
cha0s
6d169ad5f4 chore: not abstract enough 2019-03-21 00:31:27 -05:00
cha0s
880f428f3a refactor: more sensible traitAdded interface 2019-03-21 00:15:15 -05:00
cha0s
01b5598379 chore: open it, close it 2019-03-21 00:09:17 -05:00
cha0s
188008fbc2 chore: if you open it, close it 2019-03-20 23:23:34 -05:00
cha0s
119edf2e47 chore: remove old junk 2019-03-20 23:02:42 -05:00
cha0s
03dcc84ca0 fix: addTrait default to empty json 2019-03-20 23:00:42 -05:00
cha0s
30e286b68c refactor: calculate offsets upfront 2019-03-20 21:58:14 -05:00
cha0s
5a5169bf34 feat: uuidMapping exposure 2019-03-20 21:07:57 -05:00
cha0s
76a444f233 feat: Controllable 2019-03-20 21:07:47 -05:00
cha0s
103b6d4899 feat: Pictured 2019-03-20 20:15:04 -05:00
cha0s
c92ca306b4 chore: formatting 2019-03-20 19:49:03 -05:00
cha0s
4e54e474f9 chore: remove dead 2019-03-20 19:48:31 -05:00
cha0s
412f65cae1 chore: whitespace 2019-03-20 19:31:35 -05:00
cha0s
e74922fb2a fix: Animated wasn't setting animations' direction upfront 2019-03-20 19:23:32 -05:00
cha0s
3f3903c882 feat: Listed trait 2019-03-20 18:35:33 -05:00
cha0s
2872f729ff feat: EntityList QuadTree 2019-03-20 18:35:19 -05:00
cha0s
482c5db374 refactor: QuadTree moved to math 2019-03-20 18:34:13 -05:00
cha0s
2da9d73525 feat: QuadTree 2019-03-20 18:33:59 -05:00
cha0s
d4951fd641 refactor: synchronizer in its own file 2019-03-20 18:33:13 -05:00
cha0s
8f7e8bb5f0 refactor: trait actions -> methods 2019-03-20 18:32:54 -05:00
cha0s
d257ea4161 feat: Entity::hasTrait 2019-03-20 18:27:06 -05:00
cha0s
cc95512f39 feat: cache resources 2019-03-20 18:26:55 -05:00
cha0s
6a791b4dc6 chore: add quadtree 2019-03-20 01:08:51 -05:00
cha0s
f2b056f4e4 refactor: self-contained base texture cache 2019-03-20 00:25:18 -05:00
cha0s
c0fd9ad546 feat: entity z-sorting 2019-03-19 21:27:41 -05:00
cha0s
7902311131 feat: animation offset 2019-03-19 21:11:04 -05:00
cha0s
fff621be50 feat: Renderable::zIndex with automatic dirty marking and sorting 2019-03-19 21:02:43 -05:00
cha0s
6e0b192671 refactor: animation swapping helpers 2019-03-19 20:58:19 -05:00
cha0s
3b0efe4e9b refactor: restructure traits, no autoregister 2019-03-19 19:52:00 -05:00
cha0s
a02353f95a feat: destroy renderables 2019-03-19 18:29:11 -05:00
cha0s
72459bc0a9 refactor: animated trait uses Animation 2019-03-19 18:06:08 -05:00
cha0s
042e6ae071 feat: AnimationView 2019-03-19 18:05:58 -05:00
cha0s
a4b0c9dd22 feat: timing 2019-03-19 18:05:42 -05:00
cha0s
2a9d60006d refactor: automatic read/load for Resource 2019-03-19 18:05:12 -05:00
cha0s
ef0b526374 fix: Vector.mul 2019-03-19 18:04:51 -05:00
cha0s
21c56ced91 refactor: hasGraphics 2019-03-19 18:04:37 -05:00
cha0s
53f9b10eee fix: positionChanged arg order 2019-03-19 18:02:45 -05:00