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
oakes
bf0ea4f435
Improve docstring for shape
2014-04-20 22:19:14 -04:00
oakes
62c287f53b
Adjust docstrings and make other small fixes
2014-04-20 21:54:53 -04:00
oakes
c90b607cf2
Update select-box docstring
2014-04-20 19:02:57 -04:00
oakes
515ed8d3f7
Don't return lazy seq and fix select-box
2014-04-20 18:52:00 -04:00
oakes
694d63448c
Use reflection to avoid static initializer in g2d-physics
2014-04-20 17:56:00 -04:00
oakes
0e1930f68e
Move symbol
2014-04-20 11:41:44 -04:00
oakes
c60abc6a96
Target Java 6 and fix a few docstrings
2014-04-19 20:57:45 -04:00
oakes
b7967992c6
Add internal namespace for physics
2014-04-19 19:12:31 -04:00
oakes
ab1936c84b
Remove multimethod use from the physics libraries
2014-04-19 18:36:30 -04:00
oakes
3bf79d72e4
Put common physics code into separate namespace
2014-04-19 17:16:33 -04:00