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
oakes
814a06101a
Make body-type private again
2014-04-24 21:18:18 -04:00
oakes
fcf9169c9a
Update pref! docstring
2014-04-24 14:40:33 -04:00
oakes
c5b67ed7a9
Add pref! macro
2014-04-24 14:34:28 -04:00
oakes
f0f33fe2d9
Allow input->screen and screen->input to work without a camera
2014-04-22 14:06:55 -04:00
oakes
b1df0d0ee7
Clean up screen function execution code
2014-04-22 13:56:12 -04:00
oakes
f92cc42fa1
Allow shape entities to coexist with texture entities
2014-04-21 22:36:10 -04:00
oakes
7ff6ab60f4
Move wrapper function so it can catch errors in lazy seqs
2014-04-21 16:41:25 -04:00
oakes
6f89bec8b8
Improve body-def
2014-04-21 13:19:00 -04:00
oakes
644617df7e
Remove unnecessary nil check
2014-04-20 22:34:20 -04:00
oakes
6131b99776
Make step! a proper multi-arity function
2014-04-20 22:32:00 -04:00