Commit Graph

464 Commits

Author SHA1 Message Date
3b9972e958 Merge branch 'fix-input-issue' 2015-03-07 08:04:02 -08:00
4120eed58a Fixes memory leak and input issue.
The input issue is caused by the fact that the previous screen is
still rendered, even after .setScreen is called. Executing on
the gl thread fixes this.

The documentation says that old screens need to be disposed manually.
This instantly freed up a lot of memory when running my game.
2015-03-07 08:01:32 -08:00
de5b1944c0 Merge branch 'master' of https://github.com/oakes/play-clj 2015-03-07 07:57:43 -08:00
a78b703b8d hacks to support a map as entities. 2015-03-04 13:37:06 -08:00
Felix Andrews
b734f0c0ae draw map layers in their correct order when using :with or :without options. 2015-03-04 22:32:02 +08:00
oakes
eabdaa3339 Make sure actors have a stage before trying to draw them 2015-02-28 23:55:44 -05:00
oakes
8cd2e32553 Add a new arity to direction! and improve documentation of position! 2015-02-27 00:35:10 -05:00
942b3ae7f4 fixes for resizing. 2015-02-23 16:45:31 -08:00
082f814cc2 Merge remote-tracking branch 'oakes/master' 2015-02-20 11:33:32 -08:00
oakes
99402624a1 Add up! and make a few aesthetic changes 2015-02-18 19:34:42 -05:00
Kamn
4806f6d6c4 Added the ability to get the up vector of a camera. I didn't add the set ability yet. 2015-02-16 18:05:38 -07:00
oakes
e1757cb504 Use different array constructor 2015-02-11 21:58:25 -05:00
oakes
4324344263 Remove assertion 2015-02-11 20:40:07 -05:00
oakes
8de6baeae2 Add assertions 2015-02-11 19:22:45 -05:00
oakes
5c69689d37 Update libGDX to 1.5.3 2015-02-11 14:55:20 -05:00
Kamn
8ee6596cd5 Fixed issue where passing in a Vector3 to position! will throw and IllegalAccess error 2015-01-11 20:14:18 -07:00
oakes
bfaa4c9cc1 Update to libGDX 1.5.0 2014-12-15 13:22:20 -05:00
oakes
5b874400d4 Remove confusing info in defscreen docstring 2014-12-15 13:03:16 -05:00
oakes
7c5d7985e3 Mention (game :x) and (game :y) in defscreen docstring 2014-11-06 13:08:08 -05:00
oakes
06a28157f5 Remove breakage exceptions and make (game :x) and (game :y) equivalent to (game :point-x) and (game :point-y) 2014-11-04 16:58:58 -05:00
oakes
e7ca9139c9 Make music* take a string and fix docstrings 2014-11-04 16:43:55 -05:00
60f9ddac93 Merge branch 'add_music' 2014-11-04 12:48:03 -08:00
eb78a44f79 adding music 2014-11-04 12:46:48 -08:00
2549f632cd making alpha work. 2014-11-04 12:35:12 -08:00
=
fd16a41cce hack for making centering work. 2014-11-04 12:34:28 -08:00
oakes
a7964fcfb8 Remove type hints due to Android dexing error 2014-10-17 11:58:16 -04:00
oakes
26c2a2f890 Revert "Add input processors backwards"
This reverts commit e50bf569d1.
2014-10-17 11:27:08 -04:00
oakes
7197a864da Cast unit to float in tiled map constructors 2014-10-12 21:34:06 -04:00
oakes
e50bf569d1 Add input processors backwards 2014-10-12 18:33:59 -04:00
oakes
00fced3317 Move the tiled-map* conditional to the renderer constructors 2014-09-27 00:40:48 -04:00
oakes
5d90389c27 Add pixmap-format and a new arity to pixmap* 2014-09-26 23:56:34 -04:00
oakes
f10639ed99 Only allow string paths when loading assets 2014-09-26 23:26:38 -04:00
oakes
5f5e1e6e8b Break skin initialization into separate function 2014-09-24 12:18:56 -04:00
oakes
c6baf326ff Fix how asset manager loads sounds 2014-09-24 12:07:39 -04:00
oakes
84e1359198 Fix conditional that throws exception 2014-09-24 11:36:24 -04:00
oakes
c5d105aaf6 Fix how asset manager loads bitmap font 2014-09-23 16:36:46 -04:00
oakes
7a83c3bf9f Load skin with asset manager 2014-09-23 15:54:59 -04:00
oakes
6d184d8b98 Change how recording is started 2014-09-23 05:39:07 -04:00
oakes
cb1af60e5a Revert "Make cell! private"
This reverts commit b58b2155bb.
2014-09-22 22:25:04 -04:00
oakes
b58b2155bb Make cell! private 2014-09-22 22:21:25 -04:00
oakes
e171777a2e Rename draw-entity! to draw! to reduce redundancy 2014-09-22 20:58:31 -04:00
oakes
822d6772c5 Remove run! function 2014-09-20 14:12:09 -04:00
oakes
b6417e10bb Fix exception text 2014-09-19 17:58:32 -04:00
oakes
63f7aaa70a Don't save duplicate entities vectors in timeline 2014-09-19 14:46:25 -04:00
oakes
ab3ad38890 Add time travel 2014-09-19 12:24:49 -04:00
oakes
1a9edceab9 Make update-fn! take variadic args 2014-09-18 16:06:26 -04:00
oakes
d38c1fe5ff Throw exception for breaking change 2014-09-18 13:16:34 -04:00
oakes
d1974d5068 Remove radius arg from circle-shape 2014-09-18 12:22:40 -04:00
kul
c20d8c678d unqote path in texture-atlas macro. 2014-09-18 10:23:40 +05:30
oakes
d36a87bff5 Throw exception in deprecated functions 2014-09-17 14:11:18 -04:00