Commit Graph

349 Commits

Author SHA1 Message Date
oakes
cf7fb7911f Allow width and height to work without a camera 2014-05-23 13:54:49 -04:00
oakes
dc54957bae Improve docstring and symbol names 2014-05-23 12:04:06 -04:00
oakes
02fb380c58 Remove origin-x/origin-y and add scale-x/scale-y to shape 2014-05-23 03:20:00 -04:00
oakes
1c878bf078 Revert "Remove origin-x and origin-y from shape"
This reverts commit 5e89e9fead.
2014-05-23 03:01:22 -04:00
oakes
5e89e9fead Remove origin-x and origin-y from shape 2014-05-23 02:53:03 -04:00
oakes
bfd9f71b47 Don't re-evaluate the first arg passed to model 2014-05-22 16:14:35 -04:00
oakes
0cb0af6fb7 Improve documentation of model 2014-05-22 02:42:35 -04:00
oakes
b59f2f8e55 Allow model position to be set without assoc 2014-05-22 02:09:30 -04:00
oakes
57673614d4 Allow ModelInstance constructors to work 2014-05-21 22:18:10 -04:00
oakes
88bb6e54e3 Clarify conditional logic 2014-05-21 22:17:03 -04:00
oakes
9ddc6017ab Allow tracking timers globally 2014-05-21 16:11:25 -04:00
oakes
9601600051 If a timer already exists with a given id, stop and replace it with the new one 2014-05-20 18:16:17 -04:00
oakes
a529a19ef2 Add run! function 2014-05-20 03:42:20 -04:00
oakes
aed7e8e57e Pass metadata the wrapper function so it knows which screen function is running 2014-05-17 23:26:21 -04:00
oakes
edde8e507f Fix typo 2014-05-16 18:37:47 -04:00
oakes
02bfa2393c Remove loader macros and improve docstrings 2014-05-16 18:24:43 -04:00
oakes
a8ea005a63 Add actor! and actor? to play-clj.ui 2014-05-16 15:03:27 -04:00
oakes
63ed203edd Pass custom resolver to all loaders in asset-manager 2014-05-15 00:14:27 -04:00
oakes
617bc85148 Support :angle, :origin-x, and :origin-y in actor and shape entities 2014-05-11 20:04:25 -04:00
oakes
d85bf4aed4 Skip entities that don't have bodies 2014-05-11 15:45:14 -04:00
oakes
0bb64820af Convert between radians and degrees and update the origin x/y 2014-05-11 15:38:14 -04:00
oakes
6729d0a32b Update angle in 2D physics 2014-05-11 14:59:10 -04:00
oakes
9b0604fa42 Clarify the render-sorted! docstring 2014-05-11 13:54:58 -04:00
oakes
5a6bf81f5f Improve wording and add more tips to the defscreen docstring 2014-05-10 16:03:49 -04:00
oakes
4f9d300e0b Only create input listeners when screen is first created 2014-05-10 13:11:53 -04:00
oakes
c2565e86f2 Move ui listeners to bottom of file 2014-05-10 12:58:32 -04:00
oakes
7315e1ad1d Move ui listener macros to ui.clj 2014-05-10 12:54:02 -04:00
oakes
e0deae642a Store all listeners in the screen atom and add macros to call methods on them 2014-05-10 12:37:55 -04:00
oakes
7e5b8738f0 Improve defscreen docstring 2014-05-10 03:59:38 -04:00
oakes
8932480dbe Mention :on-timer in the defscreen docstring 2014-05-10 01:04:01 -04:00
oakes
ffec7a11ab Make the camera position functions work on vector-2 and vector-3 objects 2014-05-09 21:42:11 -04:00
oakes
a1f269a0bf Start transitioning :keycode to :key so it is consistent with :button 2014-05-09 20:42:17 -04:00
oakes
0c23bf45f0 Pass actors in screen map using a consistent keyword 2014-05-08 03:14:39 -04:00
oakes
355abaecab Add all defscreen functions to docstring 2014-05-07 23:11:04 -04:00
oakes
4d95faa698 Make hyphenation consistent 2014-05-07 23:10:39 -04:00
oakes
e24f676a36 Move set-asset-manager! function 2014-05-05 22:09:55 -04:00
oakes
05070cefa1 Fix capitalization 2014-05-04 18:57:42 -04:00
oakes
073c7cda85 Add check-box? function 2014-05-04 18:56:32 -04:00
oakes
64739c2714 Allow shape position to be changed 2014-05-03 22:35:47 -04:00
oakes
c3c1e032e2 Calculate origin-y by the height 2014-05-03 02:31:59 -04:00
oakes
af71458eb6 Improve texture docstring 2014-05-03 01:43:51 -04:00
oakes
7cba84db08 Cast draw inputs to floats 2014-05-03 00:36:52 -04:00
oakes
7d10ed7bac Add bang to side-effecting function 2014-05-01 03:46:20 -04:00
oakes
603c73e337 Improve docstring 2014-04-30 18:36:01 -04:00
oakes
348612b62f Add global asset manager 2014-04-30 18:18:00 -04:00
oakes
332f83c6ca Fix container constructor 2014-04-27 22:08:23 -04:00
Mitchell Kember
74d3287544 Add support for Container entities 2014-04-27 21:39:11 -04:00
oakes
8231db2eba Add skin! macro 2014-04-27 19:37:49 -04:00
Corey
db91bab951 Added scaling/rotation to entity drawing
use fields :scale-x :scale-y :origin-x :origin-x and :angle to scale/rotate entities
when angle and both scales are not set, this will still use the simpler drawing
2014-04-27 18:57:45 -04:00
oakes
95d1479d86 Update template versions and remove body-type from physics.clj 2014-04-24 21:28:23 -04:00