joybox 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (353) hide show
  1. data/.travis.yml +3 -0
  2. data/Gemfile +2 -2
  3. data/Gemfile.lock +4 -4
  4. data/README.md +66 -22
  5. data/Rakefile +22 -4
  6. data/app/ios/app_delegate.rb +48 -0
  7. data/app/osx/app_delegate.rb +26 -0
  8. data/app/osx/layers/game_layer.rb +5 -0
  9. data/app/osx/menu.rb +51 -0
  10. data/command/command/image.rb +26 -0
  11. data/command/command/string.rb +15 -0
  12. data/command/command/template.rb +59 -0
  13. data/command/command/tmx.rb +75 -0
  14. data/command/joybox_generate_command.rb +64 -110
  15. data/command/joybox_retina_command.rb +87 -0
  16. data/command/{joybox/templates → templates}/layer.erb +0 -0
  17. data/command/{joybox/templates → templates}/layer_spec.erb +0 -0
  18. data/command/{joybox/templates → templates}/scene.erb +0 -0
  19. data/command/{joybox/templates → templates}/scene_spec.erb +0 -0
  20. data/command/{joybox/templates → templates}/sprite.erb +0 -0
  21. data/command/{joybox/templates → templates}/sprite_spec.erb +0 -0
  22. data/ext/extconf.rb +34 -0
  23. data/joybox.gemspec +103 -50
  24. data/lib/joybox.rb +2 -0
  25. data/lib/joybox/joybox-ios.rb +18 -3
  26. data/lib/joybox/joybox-osx.rb +18 -2
  27. data/lib/joybox/version.rb +1 -1
  28. data/motion/joybox-ios/common/cg_point.rb +46 -16
  29. data/motion/joybox-ios/common/device.rb +56 -0
  30. data/motion/joybox-ios/common/ui_touch.rb +0 -2
  31. data/motion/joybox-ios/configuration/configuration.rb +10 -40
  32. data/motion/joybox-ios/configuration/file_utils.rb +0 -4
  33. data/motion/joybox-ios/configuration/gl_view.rb +14 -20
  34. data/motion/joybox-ios/configuration/texture_2d.rb +0 -4
  35. data/motion/joybox-ios/core/layer.rb +2 -8
  36. data/motion/joybox-ios/debug/proxy_view.rb +5 -5
  37. data/motion/joybox-ios/debug/{node.rb → repl.rb} +25 -19
  38. data/motion/joybox-ios/director.rb +15 -4
  39. data/motion/joybox-osx/common/ats_point.rb +45 -15
  40. data/motion/joybox-osx/common/device.rb +30 -0
  41. data/motion/joybox-osx/common/ns_event.rb +0 -1
  42. data/motion/joybox-osx/configuration/configuration.rb +6 -26
  43. data/motion/joybox-osx/configuration/gl_view.rb +16 -14
  44. data/motion/joybox-osx/core/layer.rb +45 -26
  45. data/motion/joybox-osx/debug/proxy_view.rb +5 -5
  46. data/motion/joybox-osx/debug/{node.rb → repl.rb} +13 -7
  47. data/motion/joybox-osx/director.rb +4 -3
  48. data/motion/joybox/actions/animate.rb +0 -1
  49. data/motion/joybox/actions/bezier.rb +2 -9
  50. data/motion/joybox/actions/blink.rb +1 -4
  51. data/motion/joybox/actions/callback.rb +19 -0
  52. data/motion/joybox/actions/d3/flip.rb +27 -0
  53. data/motion/joybox/actions/d3/jump.rb +30 -0
  54. data/motion/joybox/actions/d3/lens.rb +30 -0
  55. data/motion/joybox/actions/d3/shake.rb +32 -0
  56. data/motion/joybox/actions/d3/shatter.rb +30 -0
  57. data/motion/joybox/actions/d3/wave.rb +33 -0
  58. data/motion/joybox/actions/delay.rb +19 -0
  59. data/motion/joybox/actions/ease.rb +3 -21
  60. data/motion/joybox/actions/fade.rb +30 -6
  61. data/motion/joybox/actions/jump.rb +0 -5
  62. data/motion/joybox/actions/liquid.rb +28 -0
  63. data/motion/joybox/actions/move.rb +2 -9
  64. data/motion/joybox/actions/place.rb +0 -2
  65. data/motion/joybox/actions/repeat.rb +0 -2
  66. data/motion/joybox/actions/rotate.rb +2 -9
  67. data/motion/joybox/actions/scale.rb +2 -9
  68. data/motion/joybox/actions/sequence.rb +0 -1
  69. data/motion/joybox/actions/shuffle.rb +26 -0
  70. data/motion/joybox/actions/skew.rb +2 -11
  71. data/motion/joybox/actions/spawn.rb +0 -1
  72. data/motion/joybox/actions/split.rb +24 -0
  73. data/motion/joybox/actions/tint.rb +0 -5
  74. data/motion/joybox/actions/turn.rb +24 -0
  75. data/motion/joybox/actions/twirl.rb +30 -0
  76. data/motion/joybox/actions/visibility.rb +21 -0
  77. data/motion/joybox/actions/wave.rb +32 -0
  78. data/motion/joybox/animations/animation.rb +7 -11
  79. data/motion/joybox/audio/audio.rb +31 -0
  80. data/motion/joybox/audio/audio_effect.rb +69 -0
  81. data/motion/joybox/audio/background_audio.rb +77 -0
  82. data/motion/joybox/common/{gc_size.rb → cg_size.rb} +13 -12
  83. data/motion/joybox/common/color.rb +4 -13
  84. data/motion/joybox/common/initialize.rb +11 -0
  85. data/motion/joybox/common/ns_array.rb +15 -0
  86. data/motion/joybox/common/ns_string.rb +7 -0
  87. data/motion/joybox/common/numeric.rb +13 -4
  88. data/motion/joybox/common/screen.rb +4 -12
  89. data/motion/joybox/configuration/debug.rb +29 -0
  90. data/motion/joybox/core/layer.rb +0 -24
  91. data/motion/joybox/core/layer_color.rb +47 -0
  92. data/motion/joybox/core/node.rb +18 -8
  93. data/motion/joybox/core/scene.rb +0 -5
  94. data/motion/joybox/core/sprite.rb +43 -25
  95. data/motion/joybox/core/sprite_batch.rb +15 -6
  96. data/motion/joybox/core/sprite_frame_cache.rb +9 -58
  97. data/motion/joybox/debug/physics.rb +40 -0
  98. data/motion/joybox/debug/physics_draw.rb +191 -0
  99. data/motion/joybox/joybox.rb +9 -1
  100. data/motion/joybox/macros.rb +13 -13
  101. data/motion/joybox/physics/aabb.rb +28 -0
  102. data/motion/joybox/physics/body.rb +163 -68
  103. data/motion/joybox/physics/chain_shape.rb +71 -0
  104. data/motion/joybox/physics/circle_shape.rb +31 -0
  105. data/motion/joybox/physics/edge_shape.rb +37 -0
  106. data/motion/joybox/physics/filter.rb +17 -0
  107. data/motion/joybox/physics/fixture.rb +52 -0
  108. data/motion/joybox/physics/mass_data.rb +19 -0
  109. data/motion/joybox/physics/physics_sprite.rb +50 -16
  110. data/motion/joybox/physics/polygon_shape.rb +54 -0
  111. data/motion/joybox/physics/profile.rb +14 -0
  112. data/motion/joybox/physics/ray_cast_input.rb +30 -0
  113. data/motion/joybox/physics/ray_cast_output.rb +17 -0
  114. data/motion/joybox/physics/shape.rb +61 -0
  115. data/motion/joybox/physics/transform.rb +17 -0
  116. data/motion/joybox/physics/world.rb +101 -30
  117. data/motion/joybox/tmx/object_layer.rb +12 -0
  118. data/motion/joybox/tmx/tile_layer.rb +74 -0
  119. data/motion/joybox/tmx/tile_map.rb +112 -0
  120. data/motion/joybox/tmx/tile_set.rb +26 -0
  121. data/motion/joybox/tmx/tmx.rb +16 -0
  122. data/motion/joybox/ui/label.rb +44 -16
  123. data/motion/joybox/ui/menu.rb +7 -9
  124. data/motion/joybox/ui/menu_image.rb +11 -8
  125. data/motion/joybox/ui/menu_label.rb +14 -13
  126. data/resources/Default-568h@2x.png +0 -0
  127. data/resources/animation_frames-hd.plist +126 -0
  128. data/resources/animation_frames-ipadhd.plist +126 -0
  129. data/resources/animation_frames.plist +126 -0
  130. data/resources/animation_sprite_sheet-hd.png +0 -0
  131. data/resources/animation_sprite_sheet-ipadhd.png +0 -0
  132. data/resources/animation_sprite_sheet.png +0 -0
  133. data/resources/fps_images-hd.png +0 -0
  134. data/resources/fps_images-ipadhd.png +0 -0
  135. data/resources/fps_images.png +0 -0
  136. data/resources/sprite.png +0 -0
  137. data/resources/sprite_inverted.png +0 -0
  138. data/resources/sprite_sheet.png +0 -0
  139. data/spec/motion/joybox-ios/common/screen_spec.rb +21 -0
  140. data/spec/{main_spec.rb → motion/joybox-ios/main_spec.rb} +6 -2
  141. data/spec/motion/joybox-ios/ui/label_spec.rb +20 -0
  142. data/spec/motion/joybox-ios/ui/menu_label_spec.rb +15 -0
  143. data/spec/motion/joybox-ios/ui/menu_spec.rb +87 -0
  144. data/spec/motion/joybox-osx/common/screen_spec.rb +21 -0
  145. data/spec/motion/joybox-osx/main_spec.rb +13 -0
  146. data/spec/motion/joybox-osx/ui/label_spec.rb +18 -0
  147. data/spec/motion/joybox-osx/ui/menu_label_spec.rb +13 -0
  148. data/spec/motion/joybox-osx/ui/menu_spec.rb +87 -0
  149. data/spec/motion/joybox/actions/actions_spec.rb +11 -0
  150. data/spec/motion/joybox/actions/bezier_spec.rb +37 -0
  151. data/spec/motion/joybox/actions/blink_spec.rb +16 -0
  152. data/spec/motion/joybox/actions/fade_spec.rb +49 -0
  153. data/spec/motion/joybox/actions/jump_spec.rb +37 -0
  154. data/spec/motion/joybox/actions/move_spec.rb +37 -0
  155. data/spec/motion/joybox/actions/place_spec.rb +12 -0
  156. data/spec/motion/joybox/actions/rotate_spec.rb +35 -0
  157. data/spec/motion/joybox/actions/scale_spec.rb +43 -0
  158. data/spec/motion/joybox/actions/skew_spec.rb +43 -0
  159. data/spec/motion/joybox/common/cg_size_spec.rb +29 -0
  160. data/spec/motion/joybox/common/color_spec.rb +31 -0
  161. data/spec/motion/joybox/common/ns_string_spec.rb +8 -0
  162. data/spec/motion/joybox/common/numeric_spec.rb +13 -0
  163. data/spec/motion/joybox/core/node_spec.rb +36 -0
  164. data/spec/motion/joybox/core/sprite_batch_spec.rb +34 -0
  165. data/spec/motion/joybox/core/sprite_frame_cache_spec.rb +111 -0
  166. data/spec/motion/joybox/core/sprite_spec.rb +121 -0
  167. data/spec/motion/joybox/macros_spec.rb +280 -0
  168. data/spec/motion/joybox/physics/aabb_spec.rb +17 -0
  169. data/spec/motion/joybox/physics/body_spec.rb +318 -0
  170. data/spec/motion/joybox/physics/chain_shape_spec.rb +80 -0
  171. data/spec/motion/joybox/physics/circle_shape_spec.rb +63 -0
  172. data/spec/motion/joybox/physics/edge_shape_spec.rb +48 -0
  173. data/spec/motion/joybox/physics/fixture_spec.rb +106 -0
  174. data/spec/motion/joybox/physics/mass_data_spec.rb +13 -0
  175. data/spec/motion/joybox/physics/physics_sprite_spec.rb +50 -0
  176. data/spec/motion/joybox/physics/polygon_shape_spec.rb +92 -0
  177. data/spec/motion/joybox/physics/ray_cast_input_spec.rb +17 -0
  178. data/spec/motion/joybox/physics/ray_cast_output_spec.rb +13 -0
  179. data/spec/motion/joybox/physics/shape_spec.rb +50 -0
  180. data/spec/motion/joybox/physics/transform_spec.rb +13 -0
  181. data/spec/motion/joybox/physics/world_spec.rb +228 -0
  182. data/spec/motion/joybox/ui/label_spec.rb +53 -0
  183. data/spec/motion/joybox/ui/menu_image_spec.rb +51 -0
  184. data/spec/motion/joybox/ui/menu_label_spec.rb +68 -0
  185. data/spec/motion/joybox/ui/menu_spec.rb +26 -0
  186. data/spec/spec_helpers/cg_point.rb +5 -0
  187. data/spec/spec_helpers/cg_point_spec.rb +14 -0
  188. data/template/joybox-ios-example-repl/files/.gitignore +16 -0
  189. data/template/joybox-ios/files/.gitignore +16 -0
  190. data/template/joybox-osx-example-repl/files/.gitignore +16 -0
  191. data/template/joybox-osx/files/.gitignore +16 -0
  192. data/vendor/vendor-ios/box_2d/box_2d.bridgesupport +1201 -85
  193. data/vendor/vendor-ios/box_2d/box_2d_include/B2DAABB.h +21 -0
  194. data/vendor/vendor-ios/box_2d/box_2d_include/B2DBody.h +58 -13
  195. data/vendor/vendor-ios/box_2d/box_2d_include/B2DBodyDef.h +44 -0
  196. data/vendor/vendor-ios/box_2d/box_2d_include/B2DBodyTypes.h +20 -0
  197. data/vendor/vendor-ios/box_2d/box_2d_include/B2DChainShape.h +29 -0
  198. data/vendor/vendor-ios/box_2d/box_2d_include/B2DCircleShape.h +7 -0
  199. data/vendor/vendor-ios/box_2d/box_2d_include/B2DColor.h +23 -0
  200. data/vendor/vendor-ios/box_2d/box_2d_include/B2DContactFilter.h +24 -0
  201. data/vendor/vendor-ios/box_2d/box_2d_include/B2DContactListener.h +1 -1
  202. data/vendor/vendor-ios/box_2d/box_2d_include/B2DDestructionListener.h +24 -0
  203. data/vendor/vendor-ios/box_2d/box_2d_include/B2DDraw.h +54 -0
  204. data/vendor/vendor-ios/box_2d/box_2d_include/B2DEdgeShape.h +13 -2
  205. data/vendor/vendor-ios/box_2d/box_2d_include/B2DFilter.h +23 -0
  206. data/vendor/vendor-ios/box_2d/box_2d_include/B2DFixture.h +47 -0
  207. data/vendor/vendor-ios/box_2d/box_2d_include/B2DFixtureDef.h +29 -0
  208. data/vendor/vendor-ios/box_2d/box_2d_include/B2DMassData.h +23 -0
  209. data/vendor/vendor-ios/box_2d/box_2d_include/B2DPolygonShape.h +14 -1
  210. data/vendor/vendor-ios/box_2d/box_2d_include/B2DProfile.h +31 -0
  211. data/vendor/vendor-ios/box_2d/box_2d_include/B2DQueryCallback.h +24 -0
  212. data/vendor/vendor-ios/box_2d/box_2d_include/B2DRayCastCallback.h +24 -0
  213. data/vendor/vendor-ios/box_2d/box_2d_include/B2DRayCastInput.h +23 -0
  214. data/vendor/vendor-ios/box_2d/box_2d_include/B2DRayCastOutput.h +21 -0
  215. data/vendor/vendor-ios/box_2d/box_2d_include/B2DShape.h +23 -3
  216. data/vendor/vendor-ios/box_2d/box_2d_include/B2DShapeTypes.h +22 -0
  217. data/vendor/vendor-ios/box_2d/box_2d_include/B2DTransform.h +21 -0
  218. data/vendor/vendor-ios/box_2d/box_2d_include/B2DWorld.h +40 -19
  219. data/vendor/vendor-ios/box_2d/libBox2D.a +0 -0
  220. data/vendor/vendor-ios/cocos_2d/cocos_2d.bridgesupport +808 -1578
  221. data/vendor/vendor-ios/cocos_2d/cocos_2d_include/CCActionEase.h +47 -0
  222. data/vendor/vendor-ios/cocos_2d/cocos_2d_include/CCFontDefinition.h +85 -0
  223. data/vendor/vendor-ios/cocos_2d/cocos_2d_include/CCLabelTTF.h +54 -6
  224. data/vendor/vendor-ios/cocos_2d/cocos_2d_include/CCMenuItem.h +1 -0
  225. data/vendor/vendor-ios/cocos_2d/cocos_2d_include/CCTMXLayer.h +2 -2
  226. data/vendor/vendor-ios/cocos_2d/cocos_2d_include/CCTexture2D.h +4 -0
  227. data/vendor/vendor-ios/cocos_2d/cocos_2d_include/ccTypes.h +51 -1
  228. data/vendor/vendor-ios/cocos_2d/libcocos2d.a +0 -0
  229. data/vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader.bridgesupport +510 -0
  230. data/vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCBAnimationManager.h +149 -0
  231. data/vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCBKeyframe.h +40 -0
  232. data/vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCBReader.h +176 -0
  233. data/vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCBSequence.h +49 -0
  234. data/vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCBSequenceProperty.h +38 -0
  235. data/vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCNode+CCBRelativePositioning.h +65 -0
  236. data/vendor/vendor-ios/cocos_builder_reader/libCocosBuilderReader.a +0 -0
  237. data/vendor/vendor-ios/cocos_denshion/cocos_denshion.bridgesupport +1001 -0
  238. data/vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CDAudioManager.h +243 -0
  239. data/vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CDConfig.h +60 -0
  240. data/vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CDOpenALSupport.h +77 -0
  241. data/vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CDXMacOSXSupport.h +232 -0
  242. data/vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CDXPropertyModifierAction.h +45 -0
  243. data/vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CocosDenshion.h +440 -0
  244. data/vendor/vendor-ios/cocos_denshion/cocos_denshion_include/SimpleAudioEngine.h +90 -0
  245. data/vendor/vendor-ios/cocos_denshion/libCocosDenshion.a +0 -0
  246. data/vendor/vendor-ios/kazmath/kazmath.bridgesupport +865 -0
  247. data/vendor/vendor-ios/kazmath/kazmath_include/GL/mat4stack.h +51 -0
  248. data/vendor/vendor-ios/kazmath/kazmath_include/GL/matrix.h +58 -0
  249. data/vendor/vendor-ios/kazmath/kazmath_include/aabb.h +53 -0
  250. data/vendor/vendor-ios/kazmath/kazmath_include/kazmath.h +39 -0
  251. data/vendor/vendor-ios/kazmath/kazmath_include/mat3.h +75 -0
  252. data/vendor/vendor-ios/kazmath/kazmath_include/mat4.h +93 -0
  253. data/vendor/vendor-ios/kazmath/kazmath_include/neon_matrix_impl.h +41 -0
  254. data/vendor/vendor-ios/kazmath/kazmath_include/plane.h +70 -0
  255. data/vendor/vendor-ios/kazmath/kazmath_include/quaternion.h +113 -0
  256. data/vendor/vendor-ios/kazmath/kazmath_include/ray2.h +50 -0
  257. data/vendor/vendor-ios/kazmath/kazmath_include/utility.h +74 -0
  258. data/vendor/vendor-ios/kazmath/kazmath_include/vec2.h +64 -0
  259. data/vendor/vendor-ios/kazmath/kazmath_include/vec3.h +68 -0
  260. data/vendor/vendor-ios/kazmath/kazmath_include/vec4.h +68 -0
  261. data/vendor/vendor-ios/kazmath/libkazmath.a +0 -0
  262. data/vendor/vendor-osx/box_2d/box_2d.bridgesupport +1199 -83
  263. data/vendor/vendor-osx/box_2d/box_2d_include/B2DAABB.h +21 -0
  264. data/vendor/vendor-osx/box_2d/box_2d_include/B2DBody.h +58 -13
  265. data/vendor/vendor-osx/box_2d/box_2d_include/B2DBodyDef.h +44 -0
  266. data/vendor/vendor-osx/box_2d/box_2d_include/B2DBodyTypes.h +20 -0
  267. data/vendor/vendor-osx/box_2d/box_2d_include/B2DChainShape.h +29 -0
  268. data/vendor/vendor-osx/box_2d/box_2d_include/B2DCircleShape.h +7 -0
  269. data/vendor/vendor-osx/box_2d/box_2d_include/B2DColor.h +23 -0
  270. data/vendor/vendor-osx/box_2d/box_2d_include/B2DContactFilter.h +24 -0
  271. data/vendor/vendor-osx/box_2d/box_2d_include/B2DContactListener.h +1 -1
  272. data/vendor/vendor-osx/box_2d/box_2d_include/B2DDestructionListener.h +24 -0
  273. data/vendor/vendor-osx/box_2d/box_2d_include/B2DDraw.h +54 -0
  274. data/vendor/vendor-osx/box_2d/box_2d_include/B2DEdgeShape.h +13 -2
  275. data/vendor/vendor-osx/box_2d/box_2d_include/B2DFilter.h +23 -0
  276. data/vendor/vendor-osx/box_2d/box_2d_include/B2DFixture.h +47 -0
  277. data/vendor/vendor-osx/box_2d/box_2d_include/B2DFixtureDef.h +29 -0
  278. data/vendor/vendor-osx/box_2d/box_2d_include/B2DMassData.h +23 -0
  279. data/vendor/vendor-osx/box_2d/box_2d_include/B2DPolygonShape.h +14 -1
  280. data/vendor/vendor-osx/box_2d/box_2d_include/B2DProfile.h +31 -0
  281. data/vendor/vendor-osx/box_2d/box_2d_include/B2DQueryCallback.h +24 -0
  282. data/vendor/vendor-osx/box_2d/box_2d_include/B2DRayCastCallback.h +24 -0
  283. data/vendor/vendor-osx/box_2d/box_2d_include/B2DRayCastInput.h +23 -0
  284. data/vendor/vendor-osx/box_2d/box_2d_include/B2DRayCastOutput.h +21 -0
  285. data/vendor/vendor-osx/box_2d/box_2d_include/B2DShape.h +23 -3
  286. data/vendor/vendor-osx/box_2d/box_2d_include/B2DShapeTypes.h +22 -0
  287. data/vendor/vendor-osx/box_2d/box_2d_include/B2DTransform.h +21 -0
  288. data/vendor/vendor-osx/box_2d/box_2d_include/B2DWorld.h +40 -19
  289. data/vendor/vendor-osx/box_2d/libBox2D.a +0 -0
  290. data/vendor/vendor-osx/cocos_2d/cocos_2d.bridgesupport +2820 -2633
  291. data/vendor/vendor-osx/cocos_2d/cocos_2d_include/CCActionEase.h +47 -0
  292. data/vendor/vendor-osx/cocos_2d/cocos_2d_include/CCFontDefinition.h +85 -0
  293. data/vendor/vendor-osx/cocos_2d/cocos_2d_include/CCLabelTTF.h +54 -6
  294. data/vendor/vendor-osx/cocos_2d/cocos_2d_include/CCMenuItem.h +1 -0
  295. data/vendor/vendor-osx/cocos_2d/cocos_2d_include/CCTMXLayer.h +2 -2
  296. data/vendor/vendor-osx/cocos_2d/cocos_2d_include/CCTexture2D.h +4 -0
  297. data/vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCDirectorIOS.h +111 -0
  298. data/vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCES2Renderer.h +83 -0
  299. data/vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCESRenderer.h +54 -0
  300. data/vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCGLView.h +175 -0
  301. data/vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCTouchDelegateProtocol.h +75 -0
  302. data/vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCTouchDispatcher.h +120 -0
  303. data/vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCTouchHandler.h +93 -0
  304. data/vendor/vendor-osx/cocos_2d/cocos_2d_include/ccTypes.h +65 -1
  305. data/vendor/vendor-osx/cocos_2d/libcocos2d.a +0 -0
  306. data/vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader.bridgesupport +510 -0
  307. data/vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCBAnimationManager.h +149 -0
  308. data/vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCBKeyframe.h +40 -0
  309. data/vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCBReader.h +176 -0
  310. data/vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCBSequence.h +49 -0
  311. data/vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCBSequenceProperty.h +38 -0
  312. data/vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCNode+CCBRelativePositioning.h +65 -0
  313. data/vendor/vendor-osx/cocos_builder_reader/libCocosBuilderReader.a +0 -0
  314. data/vendor/vendor-osx/cocos_denshion/cocos_denshion.bridgesupport +1001 -0
  315. data/vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CDAudioManager.h +243 -0
  316. data/vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CDConfig.h +60 -0
  317. data/vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CDOpenALSupport.h +77 -0
  318. data/vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CDXMacOSXSupport.h +232 -0
  319. data/vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CDXPropertyModifierAction.h +45 -0
  320. data/vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CocosDenshion.h +440 -0
  321. data/vendor/vendor-osx/cocos_denshion/cocos_denshion_include/SimpleAudioEngine.h +90 -0
  322. data/vendor/vendor-osx/cocos_denshion/libCocosDenshion.a +0 -0
  323. data/vendor/vendor-osx/kazmath/kazmath.bridgesupport +865 -0
  324. data/vendor/vendor-osx/kazmath/kazmath_include/GL/mat4stack.h +51 -0
  325. data/vendor/vendor-osx/kazmath/kazmath_include/GL/matrix.h +58 -0
  326. data/vendor/vendor-osx/kazmath/kazmath_include/aabb.h +53 -0
  327. data/vendor/vendor-osx/kazmath/kazmath_include/kazmath.h +39 -0
  328. data/vendor/vendor-osx/kazmath/kazmath_include/mat3.h +75 -0
  329. data/vendor/vendor-osx/kazmath/kazmath_include/mat4.h +93 -0
  330. data/vendor/vendor-osx/kazmath/kazmath_include/neon_matrix_impl.h +41 -0
  331. data/vendor/vendor-osx/kazmath/kazmath_include/plane.h +70 -0
  332. data/vendor/vendor-osx/kazmath/kazmath_include/quaternion.h +113 -0
  333. data/vendor/vendor-osx/kazmath/kazmath_include/ray2.h +50 -0
  334. data/vendor/vendor-osx/kazmath/kazmath_include/utility.h +74 -0
  335. data/vendor/vendor-osx/kazmath/kazmath_include/vec2.h +64 -0
  336. data/vendor/vendor-osx/kazmath/kazmath_include/vec3.h +68 -0
  337. data/vendor/vendor-osx/kazmath/kazmath_include/vec4.h +68 -0
  338. data/vendor/vendor-osx/kazmath/libkazmath.a +0 -0
  339. metadata +353 -57
  340. checksums.yaml +0 -15
  341. data/bin/joybox +0 -49
  342. data/command/joybox/USAGE +0 -24
  343. data/motion/joybox-ios/configuration/debug.rb +0 -27
  344. data/motion/joybox-ios/debug/debug.rb +0 -10
  345. data/motion/joybox-osx/configuration/debug.rb +0 -27
  346. data/motion/joybox-osx/configuration/sprite_view.rb +0 -91
  347. data/motion/joybox-osx/debug/debug.rb +0 -10
  348. data/motion/joybox/core/ns_object.rb +0 -8
  349. data/spec/lib/joybox/cocos2d/cocos2d_spec.rb +0 -7
  350. data/spec/lib/joybox/cocos2d/macros_spec.rb +0 -37
  351. data/vendor/vendor-ios/cocos_2d/cocos_2d_include/cocos2d-ios-exceptions.bridgesupport +0 -39
  352. data/vendor/vendor-ios/cocos_2d/cocos_2d_include/gen_cocos2d_bridgesupport.sh +0 -17
  353. data/vendor/vendor-ios/cocos_2d/cocos_2d_include/gen_cocos2d_complement.sh +0 -17
@@ -0,0 +1,113 @@
1
+ /*
2
+ Copyright (c) 2008, Luke Benstead.
3
+ All rights reserved.
4
+
5
+ Redistribution and use in source and binary forms, with or without modification,
6
+ are permitted provided that the following conditions are met:
7
+
8
+ * Redistributions of source code must retain the above copyright notice,
9
+ this list of conditions and the following disclaimer.
10
+ * Redistributions in binary form must reproduce the above copyright notice,
11
+ this list of conditions and the following disclaimer in the documentation
12
+ and/or other materials provided with the distribution.
13
+
14
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
15
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
18
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
20
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
21
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
23
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24
+ */
25
+
26
+ #ifndef QUATERNION_H_INCLUDED
27
+ #define QUATERNION_H_INCLUDED
28
+
29
+ #ifdef __cplusplus
30
+ extern "C" {
31
+ #endif
32
+
33
+ #include "utility.h"
34
+
35
+ struct kmMat4;
36
+ struct kmMat3;
37
+ struct kmVec3;
38
+
39
+ typedef struct kmQuaternion {
40
+ kmScalar x;
41
+ kmScalar y;
42
+ kmScalar z;
43
+ kmScalar w;
44
+ } kmQuaternion;
45
+
46
+ kmQuaternion* const kmQuaternionConjugate(kmQuaternion* pOut, const kmQuaternion* pIn); ///< Returns pOut, sets pOut to the conjugate of pIn
47
+
48
+ const kmScalar kmQuaternionDot(const kmQuaternion* q1, const kmQuaternion* q2); ///< Returns the dot product of the 2 quaternions
49
+
50
+ kmQuaternion* kmQuaternionExp(kmQuaternion* pOut, const kmQuaternion* pIn); ///< Returns the exponential of the quaternion
51
+
52
+ ///< Makes the passed quaternion an identity quaternion
53
+
54
+ kmQuaternion* kmQuaternionIdentity(kmQuaternion* pOut);
55
+
56
+ ///< Returns the inverse of the passed Quaternion
57
+
58
+ kmQuaternion* kmQuaternionInverse(kmQuaternion* pOut,
59
+ const kmQuaternion* pIn);
60
+
61
+ ///< Returns true if the quaternion is an identity quaternion
62
+
63
+ int kmQuaternionIsIdentity(const kmQuaternion* pIn);
64
+
65
+ ///< Returns the length of the quaternion
66
+
67
+ kmScalar kmQuaternionLength(const kmQuaternion* pIn);
68
+
69
+ ///< Returns the length of the quaternion squared (prevents a sqrt)
70
+
71
+ kmScalar kmQuaternionLengthSq(const kmQuaternion* pIn);
72
+
73
+ ///< Returns the natural logarithm
74
+
75
+ kmQuaternion* kmQuaternionLn(kmQuaternion* pOut, const kmQuaternion* pIn);
76
+
77
+ ///< Multiplies 2 quaternions together
78
+
79
+ kmQuaternion* kmQuaternionMultiply(kmQuaternion* pOut, const kmQuaternion* q1, const kmQuaternion* q2);
80
+
81
+ ///< Normalizes a quaternion
82
+
83
+ kmQuaternion* kmQuaternionNormalize(kmQuaternion* pOut, const kmQuaternion* pIn);
84
+
85
+ ///< Rotates a quaternion around an axis
86
+
87
+ kmQuaternion* kmQuaternionRotationAxis(kmQuaternion* pOut, const struct kmVec3* pV, kmScalar angle);
88
+
89
+ ///< Creates a quaternion from a rotation matrix
90
+
91
+ kmQuaternion* kmQuaternionRotationMatrix(kmQuaternion* pOut, const struct kmMat3* pIn);
92
+
93
+ ///< Create a quaternion from yaw, pitch and roll
94
+
95
+ kmQuaternion* kmQuaternionRotationYawPitchRoll(kmQuaternion* pOut, kmScalar yaw, kmScalar pitch, kmScalar roll);
96
+ ///< Interpolate between 2 quaternions
97
+ kmQuaternion* kmQuaternionSlerp(kmQuaternion* pOut, const kmQuaternion* q1, const kmQuaternion* q2, kmScalar t);
98
+
99
+ ///< Get the axis and angle of rotation from a quaternion
100
+ void kmQuaternionToAxisAngle(const kmQuaternion* pIn, struct kmVec3* pVector, kmScalar* pAngle);
101
+
102
+ ///< Scale a quaternion
103
+ kmQuaternion* kmQuaternionScale(kmQuaternion* pOut, const kmQuaternion* pIn, kmScalar s);
104
+ kmQuaternion* kmQuaternionAssign(kmQuaternion* pOut, const kmQuaternion* pIn);
105
+ kmQuaternion* kmQuaternionAdd(kmQuaternion* pOut, const kmQuaternion* pQ1, const kmQuaternion* pQ2);
106
+ kmQuaternion* kmQuaternionRotationBetweenVec3(kmQuaternion* pOut, const struct kmVec3* vec1, const struct kmVec3* vec2, const struct kmVec3* fallback);
107
+ struct kmVec3* kmQuaternionMultiplyVec3(struct kmVec3* pOut, const kmQuaternion* q, const struct kmVec3* v);
108
+
109
+ #ifdef __cplusplus
110
+ }
111
+ #endif
112
+
113
+ #endif
@@ -0,0 +1,50 @@
1
+ /*
2
+ Copyright (c) 2011, Luke Benstead.
3
+ All rights reserved.
4
+
5
+ Redistribution and use in source and binary forms, with or without modification,
6
+ are permitted provided that the following conditions are met:
7
+
8
+ * Redistributions of source code must retain the above copyright notice,
9
+ this list of conditions and the following disclaimer.
10
+ * Redistributions in binary form must reproduce the above copyright notice,
11
+ this list of conditions and the following disclaimer in the documentation
12
+ and/or other materials provided with the distribution.
13
+
14
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
15
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
18
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
20
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
21
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
23
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24
+ */
25
+
26
+ #ifndef RAY_2_H
27
+ #define RAY_2_H
28
+
29
+ #include "utility.h"
30
+ #include "vec2.h"
31
+
32
+ #ifdef __cplusplus
33
+ extern "C" {
34
+ #endif
35
+
36
+ typedef struct kmRay2 {
37
+ kmVec2 start;
38
+ kmVec2 dir;
39
+ } kmRay2;
40
+
41
+ void kmRay2Fill(kmRay2* ray, kmScalar px, kmScalar py, kmScalar vx, kmScalar vy);
42
+ kmBool kmRay2IntersectLineSegment(const kmRay2* ray, const kmVec2* p1, const kmVec2* p2, kmVec2* intersection);
43
+ kmBool kmRay2IntersectTriangle(const kmRay2* ray, const kmVec2* p1, const kmVec2* p2, const kmVec2* p3, kmVec2* intersection, kmVec2* normal_out);
44
+ kmBool kmRay2IntersectCircle(const kmRay2* ray, const kmVec2 centre, const kmScalar radius, kmVec2* intersection);
45
+
46
+ #ifdef __cplusplus
47
+ }
48
+ #endif
49
+
50
+ #endif
@@ -0,0 +1,74 @@
1
+ /*
2
+ Copyright (c) 2008, Luke Benstead.
3
+ All rights reserved.
4
+
5
+ Redistribution and use in source and binary forms, with or without modification,
6
+ are permitted provided that the following conditions are met:
7
+
8
+ * Redistributions of source code must retain the above copyright notice,
9
+ this list of conditions and the following disclaimer.
10
+ * Redistributions in binary form must reproduce the above copyright notice,
11
+ this list of conditions and the following disclaimer in the documentation
12
+ and/or other materials provided with the distribution.
13
+
14
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
15
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
18
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
20
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
21
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
23
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24
+ */
25
+
26
+ #ifndef UTILITY_H_INCLUDED
27
+ #define UTILITY_H_INCLUDED
28
+
29
+ #include <math.h>
30
+
31
+ #ifndef kmScalar
32
+ #define kmScalar float
33
+ #endif
34
+
35
+ #ifndef kmBool
36
+ #define kmBool unsigned char
37
+ #endif
38
+
39
+ #ifndef kmEnum
40
+ #define kmEnum unsigned int
41
+ #endif
42
+
43
+ #ifndef KM_FALSE
44
+ #define KM_FALSE 0
45
+ #endif
46
+
47
+ #ifndef KM_TRUE
48
+ #define KM_TRUE 1
49
+ #endif
50
+
51
+ #define kmPI 3.141592f
52
+ #define kmPIOver180 0.017453f // PI / 180
53
+ #define kmPIUnder180 57.295779f // 180 / PI
54
+ #define kmEpsilon 1.0 / 64.0
55
+
56
+
57
+
58
+ #ifdef __cplusplus
59
+ extern "C" {
60
+ #endif
61
+
62
+ extern kmScalar kmSQR(kmScalar s);
63
+ extern kmScalar kmDegreesToRadians(kmScalar degrees);
64
+ extern kmScalar kmRadiansToDegrees(kmScalar radians);
65
+
66
+ extern kmScalar min(kmScalar lhs, kmScalar rhs);
67
+ extern kmScalar max(kmScalar lhs, kmScalar rhs);
68
+ extern kmBool kmAlmostEqual(kmScalar lhs, kmScalar rhs);
69
+
70
+ #ifdef __cplusplus
71
+ }
72
+ #endif
73
+
74
+ #endif /* UTILITY_H_INCLUDED */
@@ -0,0 +1,64 @@
1
+ /*
2
+ Copyright (c) 2008, Luke Benstead.
3
+ All rights reserved.
4
+
5
+ Redistribution and use in source and binary forms, with or without modification,
6
+ are permitted provided that the following conditions are met:
7
+
8
+ * Redistributions of source code must retain the above copyright notice,
9
+ this list of conditions and the following disclaimer.
10
+ * Redistributions in binary form must reproduce the above copyright notice,
11
+ this list of conditions and the following disclaimer in the documentation
12
+ and/or other materials provided with the distribution.
13
+
14
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
15
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
18
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
20
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
21
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
23
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24
+ */
25
+
26
+ #ifndef VEC2_H_INCLUDED
27
+ #define VEC2_H_INCLUDED
28
+
29
+ struct kmMat3;
30
+
31
+ #ifndef kmScalar
32
+ #define kmScalar float
33
+ #endif
34
+
35
+ #pragma pack(push) /* push current alignment to stack */
36
+ #pragma pack(1) /* set alignment to 1 byte boundary */
37
+ typedef struct kmVec2 {
38
+ kmScalar x;
39
+ kmScalar y;
40
+ } kmVec2;
41
+
42
+ #pragma pack(pop)
43
+
44
+ #ifdef __cplusplus
45
+ extern "C" {
46
+ #endif
47
+ kmVec2* kmVec2Fill(kmVec2* pOut, kmScalar x, kmScalar y);
48
+ kmScalar kmVec2Length(const kmVec2* pIn); ///< Returns the length of the vector
49
+ kmScalar kmVec2LengthSq(const kmVec2* pIn); ///< Returns the square of the length of the vector
50
+ kmVec2* kmVec2Normalize(kmVec2* pOut, const kmVec2* pIn); ///< Returns the vector passed in set to unit length
51
+ kmVec2* kmVec2Add(kmVec2* pOut, const kmVec2* pV1, const kmVec2* pV2); ///< Adds 2 vectors and returns the result
52
+ kmScalar kmVec2Dot(const kmVec2* pV1, const kmVec2* pV2); /** Returns the Dot product which is the cosine of the angle between the two vectors multiplied by their lengths */
53
+ kmVec2* kmVec2Subtract(kmVec2* pOut, const kmVec2* pV1, const kmVec2* pV2); ///< Subtracts 2 vectors and returns the result
54
+ kmVec2* kmVec2Transform(kmVec2* pOut, const kmVec2* pV1, const struct kmMat3* pM); /** Transform the Vector */
55
+ kmVec2* kmVec2TransformCoord(kmVec2* pOut, const kmVec2* pV, const struct kmMat3* pM); ///<Transforms a 2D vector by a given matrix, projecting the result back into w = 1.
56
+ kmVec2* kmVec2Scale(kmVec2* pOut, const kmVec2* pIn, const kmScalar s); ///< Scales a vector to length s
57
+ int kmVec2AreEqual(const kmVec2* p1, const kmVec2* p2); ///< Returns 1 if both vectors are equal
58
+
59
+ #ifdef __cplusplus
60
+ }
61
+ #endif
62
+
63
+
64
+ #endif // VEC2_H_INCLUDED
@@ -0,0 +1,68 @@
1
+ /*
2
+ Copyright (c) 2008, Luke Benstead.
3
+ All rights reserved.
4
+
5
+ Redistribution and use in source and binary forms, with or without modification,
6
+ are permitted provided that the following conditions are met:
7
+
8
+ * Redistributions of source code must retain the above copyright notice,
9
+ this list of conditions and the following disclaimer.
10
+ * Redistributions in binary form must reproduce the above copyright notice,
11
+ this list of conditions and the following disclaimer in the documentation
12
+ and/or other materials provided with the distribution.
13
+
14
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
15
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
18
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
20
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
21
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
23
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24
+ */
25
+
26
+ #ifndef VEC3_H_INCLUDED
27
+ #define VEC3_H_INCLUDED
28
+
29
+ #include <assert.h>
30
+
31
+ #ifndef kmScalar
32
+ #define kmScalar float
33
+ #endif
34
+
35
+ struct kmMat4;
36
+
37
+ typedef struct kmVec3 {
38
+ kmScalar x;
39
+ kmScalar y;
40
+ kmScalar z;
41
+ } kmVec3;
42
+
43
+ #ifdef __cplusplus
44
+ extern "C" {
45
+ #endif
46
+
47
+ kmVec3* kmVec3Fill(kmVec3* pOut, kmScalar x, kmScalar y, kmScalar z);
48
+ kmScalar kmVec3Length(const kmVec3* pIn); /** Returns the length of the vector */
49
+ kmScalar kmVec3LengthSq(const kmVec3* pIn); /** Returns the square of the length of the vector */
50
+ kmVec3* kmVec3Normalize(kmVec3* pOut, const kmVec3* pIn); /** Returns the vector passed in set to unit length */
51
+ kmVec3* kmVec3Cross(kmVec3* pOut, const kmVec3* pV1, const kmVec3* pV2); /** Returns a vector perpendicular to 2 other vectors */
52
+ kmScalar kmVec3Dot(const kmVec3* pV1, const kmVec3* pV2); /** Returns the cosine of the angle between 2 vectors */
53
+ kmVec3* kmVec3Add(kmVec3* pOut, const kmVec3* pV1, const kmVec3* pV2); /** Adds 2 vectors and returns the result */
54
+ kmVec3* kmVec3Subtract(kmVec3* pOut, const kmVec3* pV1, const kmVec3* pV2); /** Subtracts 2 vectors and returns the result */
55
+ kmVec3* kmVec3Transform(kmVec3* pOut, const kmVec3* pV1, const struct kmMat4* pM); /** Transforms a vector (assuming w=1) by a given matrix */
56
+ kmVec3* kmVec3TransformNormal(kmVec3* pOut, const kmVec3* pV, const struct kmMat4* pM);/**Transforms a 3D normal by a given matrix */
57
+ kmVec3* kmVec3TransformCoord(kmVec3* pOut, const kmVec3* pV, const struct kmMat4* pM); /**Transforms a 3D vector by a given matrix, projecting the result back into w = 1. */
58
+ kmVec3* kmVec3Scale(kmVec3* pOut, const kmVec3* pIn, const kmScalar s); /** Scales a vector to length s */
59
+ int kmVec3AreEqual(const kmVec3* p1, const kmVec3* p2);
60
+ kmVec3* kmVec3InverseTransform(kmVec3* pOut, const kmVec3* pV, const struct kmMat4* pM);
61
+ kmVec3* kmVec3InverseTransformNormal(kmVec3* pOut, const kmVec3* pVect, const struct kmMat4* pM);
62
+ kmVec3* kmVec3Assign(kmVec3* pOut, const kmVec3* pIn);
63
+ kmVec3* kmVec3Zero(kmVec3* pOut);
64
+
65
+ #ifdef __cplusplus
66
+ }
67
+ #endif
68
+ #endif /* VEC3_H_INCLUDED */
@@ -0,0 +1,68 @@
1
+ /*
2
+ Copyright (c) 2008, Luke Benstead.
3
+ All rights reserved.
4
+
5
+ Redistribution and use in source and binary forms, with or without modification,
6
+ are permitted provided that the following conditions are met:
7
+
8
+ * Redistributions of source code must retain the above copyright notice,
9
+ this list of conditions and the following disclaimer.
10
+ * Redistributions in binary form must reproduce the above copyright notice,
11
+ this list of conditions and the following disclaimer in the documentation
12
+ and/or other materials provided with the distribution.
13
+
14
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
15
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
18
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
20
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
21
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
23
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24
+ */
25
+
26
+ #ifndef VEC4_H_INCLUDED
27
+ #define VEC4_H_INCLUDED
28
+
29
+ #include "utility.h"
30
+
31
+ struct kmMat4;
32
+
33
+ #pragma pack(push) /* push current alignment to stack */
34
+ #pragma pack(1) /* set alignment to 1 byte boundary */
35
+
36
+ typedef struct kmVec4 {
37
+ kmScalar x;
38
+ kmScalar y;
39
+ kmScalar z;
40
+ kmScalar w;
41
+ } kmVec4;
42
+
43
+ #pragma pack(pop)
44
+
45
+ #ifdef __cplusplus
46
+ extern "C" {
47
+ #endif
48
+
49
+ kmVec4* kmVec4Fill(kmVec4* pOut, kmScalar x, kmScalar y, kmScalar z, kmScalar w);
50
+ kmVec4* kmVec4Add(kmVec4* pOut, const kmVec4* pV1, const kmVec4* pV2);
51
+ kmScalar kmVec4Dot(const kmVec4* pV1, const kmVec4* pV2);
52
+ kmScalar kmVec4Length(const kmVec4* pIn);
53
+ kmScalar kmVec4LengthSq(const kmVec4* pIn);
54
+ kmVec4* kmVec4Lerp(kmVec4* pOut, const kmVec4* pV1, const kmVec4* pV2, kmScalar t);
55
+ kmVec4* kmVec4Normalize(kmVec4* pOut, const kmVec4* pIn);
56
+ kmVec4* kmVec4Scale(kmVec4* pOut, const kmVec4* pIn, const kmScalar s); ///< Scales a vector to length s
57
+ kmVec4* kmVec4Subtract(kmVec4* pOut, const kmVec4* pV1, const kmVec4* pV2);
58
+ kmVec4* kmVec4Transform(kmVec4* pOut, const kmVec4* pV, const struct kmMat4* pM);
59
+ kmVec4* kmVec4TransformArray(kmVec4* pOut, unsigned int outStride,
60
+ const kmVec4* pV, unsigned int vStride, const struct kmMat4* pM, unsigned int count);
61
+ int kmVec4AreEqual(const kmVec4* p1, const kmVec4* p2);
62
+ kmVec4* kmVec4Assign(kmVec4* pOut, const kmVec4* pIn);
63
+
64
+ #ifdef __cplusplus
65
+ }
66
+ #endif
67
+
68
+ #endif // VEC4_H_INCLUDED
metadata CHANGED
@@ -1,18 +1,22 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: joybox
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Juan José Karam
9
+ - Gabriel Sosa
10
+ - Contributors
8
11
  autorequire:
9
12
  bindir: bin
10
13
  cert_chain: []
11
- date: 2013-05-13 00:00:00.000000000 Z
14
+ date: 2013-08-02 00:00:00.000000000 Z
12
15
  dependencies:
13
16
  - !ruby/object:Gem::Dependency
14
17
  name: rake
15
18
  requirement: !ruby/object:Gem::Requirement
19
+ none: false
16
20
  requirements:
17
21
  - - ! '>='
18
22
  - !ruby/object:Gem::Version
@@ -20,6 +24,7 @@ dependencies:
20
24
  type: :runtime
21
25
  prerelease: false
22
26
  version_requirements: !ruby/object:Gem::Requirement
27
+ none: false
23
28
  requirements:
24
29
  - - ! '>='
25
30
  - !ruby/object:Gem::Version
@@ -27,6 +32,7 @@ dependencies:
27
32
  - !ruby/object:Gem::Dependency
28
33
  name: rspec
29
34
  requirement: !ruby/object:Gem::Requirement
35
+ none: false
30
36
  requirements:
31
37
  - - ! '>='
32
38
  - !ruby/object:Gem::Version
@@ -34,20 +40,20 @@ dependencies:
34
40
  type: :development
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
43
+ none: false
37
44
  requirements:
38
45
  - - ! '>='
39
46
  - !ruby/object:Gem::Version
40
47
  version: '0'
41
- description: ! ' A Cocos2D & Box2D DSL for RubyMotion
42
-
43
- '
48
+ description: A Cocos2D & Box2D Wrapper for creating video games using RubyMotion
44
49
  email: juanjokaram@gmail.com
45
- executables:
46
- - joybox
47
- extensions: []
50
+ executables: []
51
+ extensions:
52
+ - ext/extconf.rb
48
53
  extra_rdoc_files: []
49
54
  files:
50
55
  - .gitignore
56
+ - .travis.yml
51
57
  - Gemfile
52
58
  - Gemfile.lock
53
59
  - LICENSE
@@ -55,85 +61,192 @@ files:
55
61
  - LICENSE_Cocos2D
56
62
  - README.md
57
63
  - Rakefile
58
- - bin/joybox
59
- - command/joybox/USAGE
60
- - command/joybox/templates/layer.erb
61
- - command/joybox/templates/layer_spec.erb
62
- - command/joybox/templates/scene.erb
63
- - command/joybox/templates/scene_spec.erb
64
- - command/joybox/templates/sprite.erb
65
- - command/joybox/templates/sprite_spec.erb
64
+ - app/ios/app_delegate.rb
65
+ - app/osx/app_delegate.rb
66
+ - app/osx/layers/game_layer.rb
67
+ - app/osx/menu.rb
68
+ - command/command/image.rb
69
+ - command/command/string.rb
70
+ - command/command/template.rb
71
+ - command/command/tmx.rb
66
72
  - command/joybox_generate_command.rb
73
+ - command/joybox_retina_command.rb
74
+ - command/templates/layer.erb
75
+ - command/templates/layer_spec.erb
76
+ - command/templates/scene.erb
77
+ - command/templates/scene_spec.erb
78
+ - command/templates/sprite.erb
79
+ - command/templates/sprite_spec.erb
80
+ - ext/extconf.rb
67
81
  - joybox.gemspec
68
82
  - lib/joybox.rb
69
83
  - lib/joybox/joybox-ios.rb
70
84
  - lib/joybox/joybox-osx.rb
71
85
  - lib/joybox/version.rb
72
86
  - motion/joybox-ios/common/cg_point.rb
87
+ - motion/joybox-ios/common/device.rb
73
88
  - motion/joybox-ios/common/ui_touch.rb
74
89
  - motion/joybox-ios/configuration/configuration.rb
75
- - motion/joybox-ios/configuration/debug.rb
76
90
  - motion/joybox-ios/configuration/file_utils.rb
77
91
  - motion/joybox-ios/configuration/gl_view.rb
78
92
  - motion/joybox-ios/configuration/texture_2d.rb
79
93
  - motion/joybox-ios/core/layer.rb
80
- - motion/joybox-ios/debug/debug.rb
81
- - motion/joybox-ios/debug/node.rb
82
94
  - motion/joybox-ios/debug/proxy_view.rb
95
+ - motion/joybox-ios/debug/repl.rb
83
96
  - motion/joybox-ios/director.rb
84
97
  - motion/joybox-osx/common/ats_point.rb
98
+ - motion/joybox-osx/common/device.rb
85
99
  - motion/joybox-osx/common/ns_event.rb
86
100
  - motion/joybox-osx/configuration/configuration.rb
87
- - motion/joybox-osx/configuration/debug.rb
88
101
  - motion/joybox-osx/configuration/gl_view.rb
89
- - motion/joybox-osx/configuration/sprite_view.rb
90
102
  - motion/joybox-osx/core/layer.rb
91
- - motion/joybox-osx/debug/debug.rb
92
- - motion/joybox-osx/debug/node.rb
93
103
  - motion/joybox-osx/debug/proxy_view.rb
104
+ - motion/joybox-osx/debug/repl.rb
94
105
  - motion/joybox-osx/director.rb
95
106
  - motion/joybox/actions/actions.rb
96
107
  - motion/joybox/actions/animate.rb
97
108
  - motion/joybox/actions/bezier.rb
98
109
  - motion/joybox/actions/blink.rb
110
+ - motion/joybox/actions/callback.rb
111
+ - motion/joybox/actions/d3/flip.rb
112
+ - motion/joybox/actions/d3/jump.rb
113
+ - motion/joybox/actions/d3/lens.rb
114
+ - motion/joybox/actions/d3/shake.rb
115
+ - motion/joybox/actions/d3/shatter.rb
116
+ - motion/joybox/actions/d3/wave.rb
117
+ - motion/joybox/actions/delay.rb
99
118
  - motion/joybox/actions/ease.rb
100
119
  - motion/joybox/actions/fade.rb
101
120
  - motion/joybox/actions/jump.rb
121
+ - motion/joybox/actions/liquid.rb
102
122
  - motion/joybox/actions/move.rb
103
123
  - motion/joybox/actions/place.rb
104
124
  - motion/joybox/actions/repeat.rb
105
125
  - motion/joybox/actions/rotate.rb
106
126
  - motion/joybox/actions/scale.rb
107
127
  - motion/joybox/actions/sequence.rb
128
+ - motion/joybox/actions/shuffle.rb
108
129
  - motion/joybox/actions/skew.rb
109
130
  - motion/joybox/actions/spawn.rb
131
+ - motion/joybox/actions/split.rb
110
132
  - motion/joybox/actions/tint.rb
133
+ - motion/joybox/actions/turn.rb
134
+ - motion/joybox/actions/twirl.rb
135
+ - motion/joybox/actions/visibility.rb
136
+ - motion/joybox/actions/wave.rb
111
137
  - motion/joybox/animations/animation.rb
138
+ - motion/joybox/audio/audio.rb
139
+ - motion/joybox/audio/audio_effect.rb
140
+ - motion/joybox/audio/background_audio.rb
141
+ - motion/joybox/common/cg_size.rb
112
142
  - motion/joybox/common/color.rb
113
- - motion/joybox/common/gc_size.rb
143
+ - motion/joybox/common/initialize.rb
144
+ - motion/joybox/common/ns_array.rb
114
145
  - motion/joybox/common/ns_set.rb
146
+ - motion/joybox/common/ns_string.rb
115
147
  - motion/joybox/common/numeric.rb
116
148
  - motion/joybox/common/screen.rb
149
+ - motion/joybox/configuration/debug.rb
117
150
  - motion/joybox/core/layer.rb
151
+ - motion/joybox/core/layer_color.rb
118
152
  - motion/joybox/core/node.rb
119
- - motion/joybox/core/ns_object.rb
120
153
  - motion/joybox/core/scene.rb
121
154
  - motion/joybox/core/sprite.rb
122
155
  - motion/joybox/core/sprite_batch.rb
123
156
  - motion/joybox/core/sprite_frame_cache.rb
157
+ - motion/joybox/debug/physics.rb
158
+ - motion/joybox/debug/physics_draw.rb
124
159
  - motion/joybox/joybox.rb
125
160
  - motion/joybox/macros.rb
161
+ - motion/joybox/physics/aabb.rb
126
162
  - motion/joybox/physics/body.rb
163
+ - motion/joybox/physics/chain_shape.rb
164
+ - motion/joybox/physics/circle_shape.rb
165
+ - motion/joybox/physics/edge_shape.rb
166
+ - motion/joybox/physics/filter.rb
167
+ - motion/joybox/physics/fixture.rb
168
+ - motion/joybox/physics/mass_data.rb
127
169
  - motion/joybox/physics/physics_sprite.rb
170
+ - motion/joybox/physics/polygon_shape.rb
171
+ - motion/joybox/physics/profile.rb
172
+ - motion/joybox/physics/ray_cast_input.rb
173
+ - motion/joybox/physics/ray_cast_output.rb
174
+ - motion/joybox/physics/shape.rb
175
+ - motion/joybox/physics/transform.rb
128
176
  - motion/joybox/physics/world.rb
177
+ - motion/joybox/tmx/object_layer.rb
178
+ - motion/joybox/tmx/tile_layer.rb
179
+ - motion/joybox/tmx/tile_map.rb
180
+ - motion/joybox/tmx/tile_set.rb
181
+ - motion/joybox/tmx/tmx.rb
129
182
  - motion/joybox/ui/label.rb
130
183
  - motion/joybox/ui/menu.rb
131
184
  - motion/joybox/ui/menu_image.rb
132
185
  - motion/joybox/ui/menu_label.rb
133
186
  - motion/joybox/ui/ui.rb
134
- - spec/lib/joybox/cocos2d/cocos2d_spec.rb
135
- - spec/lib/joybox/cocos2d/macros_spec.rb
136
- - spec/main_spec.rb
187
+ - resources/Default-568h@2x.png
188
+ - resources/animation_frames-hd.plist
189
+ - resources/animation_frames-ipadhd.plist
190
+ - resources/animation_frames.plist
191
+ - resources/animation_sprite_sheet-hd.png
192
+ - resources/animation_sprite_sheet-ipadhd.png
193
+ - resources/animation_sprite_sheet.png
194
+ - resources/fps_images-hd.png
195
+ - resources/fps_images-ipadhd.png
196
+ - resources/fps_images.png
197
+ - resources/sprite.png
198
+ - resources/sprite_inverted.png
199
+ - resources/sprite_sheet.png
200
+ - spec/motion/joybox-ios/common/screen_spec.rb
201
+ - spec/motion/joybox-ios/main_spec.rb
202
+ - spec/motion/joybox-ios/ui/label_spec.rb
203
+ - spec/motion/joybox-ios/ui/menu_label_spec.rb
204
+ - spec/motion/joybox-ios/ui/menu_spec.rb
205
+ - spec/motion/joybox-osx/common/screen_spec.rb
206
+ - spec/motion/joybox-osx/main_spec.rb
207
+ - spec/motion/joybox-osx/ui/label_spec.rb
208
+ - spec/motion/joybox-osx/ui/menu_label_spec.rb
209
+ - spec/motion/joybox-osx/ui/menu_spec.rb
210
+ - spec/motion/joybox/actions/actions_spec.rb
211
+ - spec/motion/joybox/actions/bezier_spec.rb
212
+ - spec/motion/joybox/actions/blink_spec.rb
213
+ - spec/motion/joybox/actions/fade_spec.rb
214
+ - spec/motion/joybox/actions/jump_spec.rb
215
+ - spec/motion/joybox/actions/move_spec.rb
216
+ - spec/motion/joybox/actions/place_spec.rb
217
+ - spec/motion/joybox/actions/rotate_spec.rb
218
+ - spec/motion/joybox/actions/scale_spec.rb
219
+ - spec/motion/joybox/actions/skew_spec.rb
220
+ - spec/motion/joybox/common/cg_size_spec.rb
221
+ - spec/motion/joybox/common/color_spec.rb
222
+ - spec/motion/joybox/common/ns_string_spec.rb
223
+ - spec/motion/joybox/common/numeric_spec.rb
224
+ - spec/motion/joybox/core/node_spec.rb
225
+ - spec/motion/joybox/core/sprite_batch_spec.rb
226
+ - spec/motion/joybox/core/sprite_frame_cache_spec.rb
227
+ - spec/motion/joybox/core/sprite_spec.rb
228
+ - spec/motion/joybox/macros_spec.rb
229
+ - spec/motion/joybox/physics/aabb_spec.rb
230
+ - spec/motion/joybox/physics/body_spec.rb
231
+ - spec/motion/joybox/physics/chain_shape_spec.rb
232
+ - spec/motion/joybox/physics/circle_shape_spec.rb
233
+ - spec/motion/joybox/physics/edge_shape_spec.rb
234
+ - spec/motion/joybox/physics/fixture_spec.rb
235
+ - spec/motion/joybox/physics/mass_data_spec.rb
236
+ - spec/motion/joybox/physics/physics_sprite_spec.rb
237
+ - spec/motion/joybox/physics/polygon_shape_spec.rb
238
+ - spec/motion/joybox/physics/ray_cast_input_spec.rb
239
+ - spec/motion/joybox/physics/ray_cast_output_spec.rb
240
+ - spec/motion/joybox/physics/shape_spec.rb
241
+ - spec/motion/joybox/physics/transform_spec.rb
242
+ - spec/motion/joybox/physics/world_spec.rb
243
+ - spec/motion/joybox/ui/label_spec.rb
244
+ - spec/motion/joybox/ui/menu_image_spec.rb
245
+ - spec/motion/joybox/ui/menu_label_spec.rb
246
+ - spec/motion/joybox/ui/menu_spec.rb
247
+ - spec/spec_helpers/cg_point.rb
248
+ - spec/spec_helpers/cg_point_spec.rb
249
+ - template/joybox-ios-example-repl/files/.gitignore
137
250
  - template/joybox-ios-example-repl/files/Rakefile.erb
138
251
  - template/joybox-ios-example-repl/files/app/app_delegate.rb
139
252
  - template/joybox-ios-example-repl/files/app/layers/actions_layer.rb
@@ -150,6 +263,7 @@ files:
150
263
  - template/joybox-ios-example-repl/files/spec/layers/background_layer_spec.rb
151
264
  - template/joybox-ios-example-repl/files/spec/main_spec.rb
152
265
  - template/joybox-ios-example-repl/files/spec/scenes/game_scene_spec.rb
266
+ - template/joybox-ios/files/.gitignore
153
267
  - template/joybox-ios/files/Rakefile.erb
154
268
  - template/joybox-ios/files/app/app_delegate.rb
155
269
  - template/joybox-ios/files/resources/Default-568h@2x.png
@@ -157,6 +271,7 @@ files:
157
271
  - template/joybox-ios/files/resources/fps_images-ipadhd.png
158
272
  - template/joybox-ios/files/resources/fps_images.png
159
273
  - template/joybox-ios/files/spec/main_spec.rb.erb
274
+ - template/joybox-osx-example-repl/files/.gitignore
160
275
  - template/joybox-osx-example-repl/files/Rakefile.erb
161
276
  - template/joybox-osx-example-repl/files/app/app_delegate.rb
162
277
  - template/joybox-osx-example-repl/files/app/layers/actions_layer.rb
@@ -175,6 +290,7 @@ files:
175
290
  - template/joybox-osx-example-repl/files/spec/layers/background_layer_spec.rb
176
291
  - template/joybox-osx-example-repl/files/spec/main_spec.rb
177
292
  - template/joybox-osx-example-repl/files/spec/scenes/game_scene_spec.rb
293
+ - template/joybox-osx/files/.gitignore
178
294
  - template/joybox-osx/files/Rakefile.erb
179
295
  - template/joybox-osx/files/app/app_delegate.rb
180
296
  - template/joybox-osx/files/app/layers/default_layer.rb
@@ -185,12 +301,31 @@ files:
185
301
  - template/joybox-osx/files/resources/fps_images.png
186
302
  - template/joybox-osx/files/spec/main_spec.rb.erb
187
303
  - vendor/vendor-ios/box_2d/box_2d.bridgesupport
304
+ - vendor/vendor-ios/box_2d/box_2d_include/B2DAABB.h
188
305
  - vendor/vendor-ios/box_2d/box_2d_include/B2DBody.h
306
+ - vendor/vendor-ios/box_2d/box_2d_include/B2DBodyDef.h
307
+ - vendor/vendor-ios/box_2d/box_2d_include/B2DBodyTypes.h
308
+ - vendor/vendor-ios/box_2d/box_2d_include/B2DChainShape.h
189
309
  - vendor/vendor-ios/box_2d/box_2d_include/B2DCircleShape.h
310
+ - vendor/vendor-ios/box_2d/box_2d_include/B2DColor.h
311
+ - vendor/vendor-ios/box_2d/box_2d_include/B2DContactFilter.h
190
312
  - vendor/vendor-ios/box_2d/box_2d_include/B2DContactListener.h
313
+ - vendor/vendor-ios/box_2d/box_2d_include/B2DDestructionListener.h
314
+ - vendor/vendor-ios/box_2d/box_2d_include/B2DDraw.h
191
315
  - vendor/vendor-ios/box_2d/box_2d_include/B2DEdgeShape.h
316
+ - vendor/vendor-ios/box_2d/box_2d_include/B2DFilter.h
317
+ - vendor/vendor-ios/box_2d/box_2d_include/B2DFixture.h
318
+ - vendor/vendor-ios/box_2d/box_2d_include/B2DFixtureDef.h
319
+ - vendor/vendor-ios/box_2d/box_2d_include/B2DMassData.h
192
320
  - vendor/vendor-ios/box_2d/box_2d_include/B2DPolygonShape.h
321
+ - vendor/vendor-ios/box_2d/box_2d_include/B2DProfile.h
322
+ - vendor/vendor-ios/box_2d/box_2d_include/B2DQueryCallback.h
323
+ - vendor/vendor-ios/box_2d/box_2d_include/B2DRayCastCallback.h
324
+ - vendor/vendor-ios/box_2d/box_2d_include/B2DRayCastInput.h
325
+ - vendor/vendor-ios/box_2d/box_2d_include/B2DRayCastOutput.h
193
326
  - vendor/vendor-ios/box_2d/box_2d_include/B2DShape.h
327
+ - vendor/vendor-ios/box_2d/box_2d_include/B2DShapeTypes.h
328
+ - vendor/vendor-ios/box_2d/box_2d_include/B2DTransform.h
194
329
  - vendor/vendor-ios/box_2d/box_2d_include/B2DWorld.h
195
330
  - vendor/vendor-ios/box_2d/libBox2D.a
196
331
  - vendor/vendor-ios/cocos_2d/cocos_2d.bridgesupport
@@ -217,6 +352,7 @@ files:
217
352
  - vendor/vendor-ios/cocos_2d/cocos_2d_include/CCDirector.h
218
353
  - vendor/vendor-ios/cocos_2d/cocos_2d_include/CCDrawNode.h
219
354
  - vendor/vendor-ios/cocos_2d/cocos_2d_include/CCDrawingPrimitives.h
355
+ - vendor/vendor-ios/cocos_2d/cocos_2d_include/CCFontDefinition.h
220
356
  - vendor/vendor-ios/cocos_2d/cocos_2d_include/CCGLProgram.h
221
357
  - vendor/vendor-ios/cocos_2d/cocos_2d_include/CCGrabber.h
222
358
  - vendor/vendor-ios/cocos_2d/cocos_2d_include/CCGrid.h
@@ -308,18 +444,67 @@ files:
308
444
  - vendor/vendor-ios/cocos_2d/cocos_2d_include/ccShader_Position_uColor_vert.h
309
445
  - vendor/vendor-ios/cocos_2d/cocos_2d_include/ccShaders.h
310
446
  - vendor/vendor-ios/cocos_2d/cocos_2d_include/ccTypes.h
311
- - vendor/vendor-ios/cocos_2d/cocos_2d_include/cocos2d-ios-exceptions.bridgesupport
312
447
  - vendor/vendor-ios/cocos_2d/cocos_2d_include/cocos2d.h
313
- - vendor/vendor-ios/cocos_2d/cocos_2d_include/gen_cocos2d_bridgesupport.sh
314
- - vendor/vendor-ios/cocos_2d/cocos_2d_include/gen_cocos2d_complement.sh
315
448
  - vendor/vendor-ios/cocos_2d/libcocos2d.a
449
+ - vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader.bridgesupport
450
+ - vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCBAnimationManager.h
451
+ - vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCBKeyframe.h
452
+ - vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCBReader.h
453
+ - vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCBSequence.h
454
+ - vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCBSequenceProperty.h
455
+ - vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCNode+CCBRelativePositioning.h
456
+ - vendor/vendor-ios/cocos_builder_reader/libCocosBuilderReader.a
457
+ - vendor/vendor-ios/cocos_denshion/cocos_denshion.bridgesupport
458
+ - vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CDAudioManager.h
459
+ - vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CDConfig.h
460
+ - vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CDOpenALSupport.h
461
+ - vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CDXMacOSXSupport.h
462
+ - vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CDXPropertyModifierAction.h
463
+ - vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CocosDenshion.h
464
+ - vendor/vendor-ios/cocos_denshion/cocos_denshion_include/SimpleAudioEngine.h
465
+ - vendor/vendor-ios/cocos_denshion/libCocosDenshion.a
466
+ - vendor/vendor-ios/kazmath/kazmath.bridgesupport
467
+ - vendor/vendor-ios/kazmath/kazmath_include/GL/mat4stack.h
468
+ - vendor/vendor-ios/kazmath/kazmath_include/GL/matrix.h
469
+ - vendor/vendor-ios/kazmath/kazmath_include/aabb.h
470
+ - vendor/vendor-ios/kazmath/kazmath_include/kazmath.h
471
+ - vendor/vendor-ios/kazmath/kazmath_include/mat3.h
472
+ - vendor/vendor-ios/kazmath/kazmath_include/mat4.h
473
+ - vendor/vendor-ios/kazmath/kazmath_include/neon_matrix_impl.h
474
+ - vendor/vendor-ios/kazmath/kazmath_include/plane.h
475
+ - vendor/vendor-ios/kazmath/kazmath_include/quaternion.h
476
+ - vendor/vendor-ios/kazmath/kazmath_include/ray2.h
477
+ - vendor/vendor-ios/kazmath/kazmath_include/utility.h
478
+ - vendor/vendor-ios/kazmath/kazmath_include/vec2.h
479
+ - vendor/vendor-ios/kazmath/kazmath_include/vec3.h
480
+ - vendor/vendor-ios/kazmath/kazmath_include/vec4.h
481
+ - vendor/vendor-ios/kazmath/libkazmath.a
316
482
  - vendor/vendor-osx/box_2d/box_2d.bridgesupport
483
+ - vendor/vendor-osx/box_2d/box_2d_include/B2DAABB.h
317
484
  - vendor/vendor-osx/box_2d/box_2d_include/B2DBody.h
485
+ - vendor/vendor-osx/box_2d/box_2d_include/B2DBodyDef.h
486
+ - vendor/vendor-osx/box_2d/box_2d_include/B2DBodyTypes.h
487
+ - vendor/vendor-osx/box_2d/box_2d_include/B2DChainShape.h
318
488
  - vendor/vendor-osx/box_2d/box_2d_include/B2DCircleShape.h
489
+ - vendor/vendor-osx/box_2d/box_2d_include/B2DColor.h
490
+ - vendor/vendor-osx/box_2d/box_2d_include/B2DContactFilter.h
319
491
  - vendor/vendor-osx/box_2d/box_2d_include/B2DContactListener.h
492
+ - vendor/vendor-osx/box_2d/box_2d_include/B2DDestructionListener.h
493
+ - vendor/vendor-osx/box_2d/box_2d_include/B2DDraw.h
320
494
  - vendor/vendor-osx/box_2d/box_2d_include/B2DEdgeShape.h
495
+ - vendor/vendor-osx/box_2d/box_2d_include/B2DFilter.h
496
+ - vendor/vendor-osx/box_2d/box_2d_include/B2DFixture.h
497
+ - vendor/vendor-osx/box_2d/box_2d_include/B2DFixtureDef.h
498
+ - vendor/vendor-osx/box_2d/box_2d_include/B2DMassData.h
321
499
  - vendor/vendor-osx/box_2d/box_2d_include/B2DPolygonShape.h
500
+ - vendor/vendor-osx/box_2d/box_2d_include/B2DProfile.h
501
+ - vendor/vendor-osx/box_2d/box_2d_include/B2DQueryCallback.h
502
+ - vendor/vendor-osx/box_2d/box_2d_include/B2DRayCastCallback.h
503
+ - vendor/vendor-osx/box_2d/box_2d_include/B2DRayCastInput.h
504
+ - vendor/vendor-osx/box_2d/box_2d_include/B2DRayCastOutput.h
322
505
  - vendor/vendor-osx/box_2d/box_2d_include/B2DShape.h
506
+ - vendor/vendor-osx/box_2d/box_2d_include/B2DShapeTypes.h
507
+ - vendor/vendor-osx/box_2d/box_2d_include/B2DTransform.h
323
508
  - vendor/vendor-osx/box_2d/box_2d_include/B2DWorld.h
324
509
  - vendor/vendor-osx/box_2d/libBox2D.a
325
510
  - vendor/vendor-osx/cocos_2d/cocos_2d.bridgesupport
@@ -345,6 +530,7 @@ files:
345
530
  - vendor/vendor-osx/cocos_2d/cocos_2d_include/CCDirector.h
346
531
  - vendor/vendor-osx/cocos_2d/cocos_2d_include/CCDrawNode.h
347
532
  - vendor/vendor-osx/cocos_2d/cocos_2d_include/CCDrawingPrimitives.h
533
+ - vendor/vendor-osx/cocos_2d/cocos_2d_include/CCFontDefinition.h
348
534
  - vendor/vendor-osx/cocos_2d/cocos_2d_include/CCGLProgram.h
349
535
  - vendor/vendor-osx/cocos_2d/cocos_2d_include/CCGrabber.h
350
536
  - vendor/vendor-osx/cocos_2d/cocos_2d_include/CCGrid.h
@@ -392,6 +578,13 @@ files:
392
578
  - vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/Mac/CCEventDispatcher.h
393
579
  - vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/Mac/CCGLView.h
394
580
  - vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/Mac/CCWindow.h
581
+ - vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCDirectorIOS.h
582
+ - vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCES2Renderer.h
583
+ - vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCESRenderer.h
584
+ - vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCGLView.h
585
+ - vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCTouchDelegateProtocol.h
586
+ - vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCTouchDispatcher.h
587
+ - vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCTouchHandler.h
395
588
  - vendor/vendor-osx/cocos_2d/cocos_2d_include/Support/CCArray.h
396
589
  - vendor/vendor-osx/cocos_2d/cocos_2d_include/Support/CCFileUtils.h
397
590
  - vendor/vendor-osx/cocos_2d/cocos_2d_include/Support/CCProfiling.h
@@ -431,49 +624,152 @@ files:
431
624
  - vendor/vendor-osx/cocos_2d/cocos_2d_include/ccTypes.h
432
625
  - vendor/vendor-osx/cocos_2d/cocos_2d_include/cocos2d.h
433
626
  - vendor/vendor-osx/cocos_2d/libcocos2d.a
627
+ - vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader.bridgesupport
628
+ - vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCBAnimationManager.h
629
+ - vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCBKeyframe.h
630
+ - vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCBReader.h
631
+ - vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCBSequence.h
632
+ - vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCBSequenceProperty.h
633
+ - vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCNode+CCBRelativePositioning.h
634
+ - vendor/vendor-osx/cocos_builder_reader/libCocosBuilderReader.a
635
+ - vendor/vendor-osx/cocos_denshion/cocos_denshion.bridgesupport
636
+ - vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CDAudioManager.h
637
+ - vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CDConfig.h
638
+ - vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CDOpenALSupport.h
639
+ - vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CDXMacOSXSupport.h
640
+ - vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CDXPropertyModifierAction.h
641
+ - vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CocosDenshion.h
642
+ - vendor/vendor-osx/cocos_denshion/cocos_denshion_include/SimpleAudioEngine.h
643
+ - vendor/vendor-osx/cocos_denshion/libCocosDenshion.a
644
+ - vendor/vendor-osx/kazmath/kazmath.bridgesupport
645
+ - vendor/vendor-osx/kazmath/kazmath_include/GL/mat4stack.h
646
+ - vendor/vendor-osx/kazmath/kazmath_include/GL/matrix.h
647
+ - vendor/vendor-osx/kazmath/kazmath_include/aabb.h
648
+ - vendor/vendor-osx/kazmath/kazmath_include/kazmath.h
649
+ - vendor/vendor-osx/kazmath/kazmath_include/mat3.h
650
+ - vendor/vendor-osx/kazmath/kazmath_include/mat4.h
651
+ - vendor/vendor-osx/kazmath/kazmath_include/neon_matrix_impl.h
652
+ - vendor/vendor-osx/kazmath/kazmath_include/plane.h
653
+ - vendor/vendor-osx/kazmath/kazmath_include/quaternion.h
654
+ - vendor/vendor-osx/kazmath/kazmath_include/ray2.h
655
+ - vendor/vendor-osx/kazmath/kazmath_include/utility.h
656
+ - vendor/vendor-osx/kazmath/kazmath_include/vec2.h
657
+ - vendor/vendor-osx/kazmath/kazmath_include/vec3.h
658
+ - vendor/vendor-osx/kazmath/kazmath_include/vec4.h
659
+ - vendor/vendor-osx/kazmath/libkazmath.a
434
660
  homepage: http://joybox.io
435
661
  licenses:
436
662
  - MIT
437
- metadata: {}
438
- post_install_message: ! " ** Joybox 1.0.0 **\n\n * Added REPL Support for iOS
439
- and OSX :D\n * NOTE: If the iOS simulator starts on landscape orientation,
440
- please rotate and return it.\n (cmd + => and cmd + <=)\n * Added
441
- REPL Example Template. Use 'motion create --template=joybox-ios-example-repl <name>'
442
- or\n 'motion create --template=joybox-osx-example-repl <name>'\n * IMPORTANT:
443
- Typo fix in World class (Joybox, Box2D and Website), changing to continuous_physics
444
- the configuration, thank you David Czarnecki!\n * IMPORTANT: Typo fix in Macros,
445
- changing jbpLenght to jpbLength, thank you David Czarnecki!\n * Added: Clear
446
- extra lines in iOS Template. Thank you Willrax!\n * Added: Examples iPhone 5
447
- support\n * Added: iOS Template iPhone 5 support\n * Joybox is stopping the
448
- madness! Thanks all for your support!\n\n 0\n 101\n
449
- \ 01010\n 1010101\n 010101010\n
450
- \ 10101010101\n 0101010101010\n 101010101010101\n
451
- \ 01010101010101010\n 1010101010101010101\n 010101010101010101010\n
452
- \ 1 1\n 010 010\n 10101
453
- \ 10101\n 0101010 0101010\n 101010101
454
- \ 101010101\n 01010101010 01010101010\n 1010101010101
455
- \ 1010101010101\n 010101010101010 010101010101010\n 10101010101010101
456
- \ 10101010101010101\n 0101010101010101010 0101010101010101010\n 1010101010101010101011101010101010101010101\n\n"
663
+ post_install_message: ! " = Joybox 1.1.0 =\n\n Contributors\n * Kenichi Yonekawa,
664
+ yonekawa\n * Earl St Sauver, estsauver\n * Denis Laprise, nside\n * Franklin
665
+ Webber, burtlo\n * Andrew Currie, AndrewCurrie\n * Jamon Holmgren, jamonholmgren\n
666
+ \ * Christopher David Yudichak, TheOddLinguist\n * Donald Hutchison, rkachowski\n
667
+ \ * Didier Prophete, dprophete \n * Severin Schoepke, severin\n * awdogsgo2heaven\n
668
+ \ * Juha Litola, jlitola\n * David Padilla, dabit \n * PanPan, ippan\n * Keyvan
669
+ Fatehi, keyvanfatehi\n * n-studio\n\n Physics\n * Support for all Shapes and
670
+ Listeners.\n\n * Filters, AABB computations, Queries and Ray Casts.\n\n * Collision
671
+ support for Physics Sprites.\n\n * Experimental support for actions on Physics
672
+ Sprites.\n\n * Physics Debug Draw.\n\n Effects and Background Music\n * AudioEffect
673
+ and BackgroundAudio to playback background music and special effects.\n\n Tile
674
+ Maps Support\n * Support for TMX Maps using the TileMap class.\n\n Actions\n *
675
+ Complete actions\n\n Gestures\n * Support the default gestures on OSX.\n\n Commands\n
676
+ \ * Adds joybox:retina command to create a Retina version of a TMX Map. \n\n Sprites\n
677
+ \ * Support for custom options on the Sprite initialization.\n\n Source Code\n
678
+ \ * The commands and templates now install automatically.\n\n * Added 218 specifications
679
+ and 617 requirements.\n\n Critical Changes\n * Node: The method add_childs is
680
+ now add_children.\n\n * SpriteFrameCache: The method where now starts from 1 instead
681
+ of 0.\n\n * Animation: The delay method is now delay_units, and total_delay is
682
+ now delay_per_unit.\n\n * Menu: The method align_items_in_columns now receive an
683
+ array for defining how many columns and \n how many items in which of them.\n\n
684
+ \ * Physics: Now every object returns their values in pixel coordinates and degrees,
685
+ if you still \n need to use the metric values you can access them with
686
+ the prefix metric_. \n For example: metric_position.\n\n * World: The
687
+ Method continuos_physics is now deprecated.\n\n * Physics Collisions: Now for use
688
+ when_collide method of the World instance, you need to pass an \n instance
689
+ of a PhysicsSprite and it will return in the block the colliding \n physics
690
+ sprite if available, or the body that is colliding.\n\n * Point: The methods to
691
+ and from pixel coordinates are now inverted, there was an incorrect naming.\n\n
692
+ \ 00000000000000111111111111110000000000000000000000000000000000\n 00000000000000000111111111111111111111100000000000000000000000\n
693
+ \ 00000000000000000011111111111111111111111111111110000000000000\n 00000000000000111111111111111111111111111111111111111000000000\n
694
+ \ 00000000000001111111111111111111111111111111111111111111000000\n 00000001100001111111111110000000111111111111111111111111000000\n
695
+ \ 00000011111001111111111100000000011111111111111111111110000000\n 00000011111111111111111000000000001111111111111111111000000000\n
696
+ \ 00000011111111111111111000000000011111111111111111100000000000\n 00000001111111111111111110000000111111111111111110000000000000\n
697
+ \ 00000001111110011111111111111111111111111111100000000000000000\n 00000001111100011111111111111111111111111000000000000000000000\n
698
+ \ 00000000011000001111111111111111111110000000000000000000000000\n 00000000000000000111111111111111110000000000000000000000000000\n
699
+ \ 00000000000000000000000111111111000000000000000000000000000000\n 00000000000000000000011111111000000000000000000000000000000000\n
700
+ \ 00000000000000000001111100000000000000000000000000000000000000\n\n"
457
701
  rdoc_options: []
458
702
  require_paths:
459
703
  - lib
704
+ - motion
705
+ - vendor
706
+ - command
707
+ - template
460
708
  required_ruby_version: !ruby/object:Gem::Requirement
709
+ none: false
461
710
  requirements:
462
711
  - - ! '>='
463
712
  - !ruby/object:Gem::Version
464
713
  version: '0'
465
714
  required_rubygems_version: !ruby/object:Gem::Requirement
715
+ none: false
466
716
  requirements:
467
717
  - - ! '>='
468
718
  - !ruby/object:Gem::Version
469
719
  version: '0'
470
720
  requirements: []
471
721
  rubyforge_project:
472
- rubygems_version: 2.0.3
722
+ rubygems_version: 1.8.23
473
723
  signing_key:
474
- specification_version: 4
475
- summary: A Cocos2D & Box2D DSL for RubyMotion
724
+ specification_version: 3
725
+ summary: A Cocos2D & Box2D Wrapper for RubyMotion
476
726
  test_files:
477
- - spec/lib/joybox/cocos2d/cocos2d_spec.rb
478
- - spec/lib/joybox/cocos2d/macros_spec.rb
479
- - spec/main_spec.rb
727
+ - spec/motion/joybox-ios/common/screen_spec.rb
728
+ - spec/motion/joybox-ios/main_spec.rb
729
+ - spec/motion/joybox-ios/ui/label_spec.rb
730
+ - spec/motion/joybox-ios/ui/menu_label_spec.rb
731
+ - spec/motion/joybox-ios/ui/menu_spec.rb
732
+ - spec/motion/joybox-osx/common/screen_spec.rb
733
+ - spec/motion/joybox-osx/main_spec.rb
734
+ - spec/motion/joybox-osx/ui/label_spec.rb
735
+ - spec/motion/joybox-osx/ui/menu_label_spec.rb
736
+ - spec/motion/joybox-osx/ui/menu_spec.rb
737
+ - spec/motion/joybox/actions/actions_spec.rb
738
+ - spec/motion/joybox/actions/bezier_spec.rb
739
+ - spec/motion/joybox/actions/blink_spec.rb
740
+ - spec/motion/joybox/actions/fade_spec.rb
741
+ - spec/motion/joybox/actions/jump_spec.rb
742
+ - spec/motion/joybox/actions/move_spec.rb
743
+ - spec/motion/joybox/actions/place_spec.rb
744
+ - spec/motion/joybox/actions/rotate_spec.rb
745
+ - spec/motion/joybox/actions/scale_spec.rb
746
+ - spec/motion/joybox/actions/skew_spec.rb
747
+ - spec/motion/joybox/common/cg_size_spec.rb
748
+ - spec/motion/joybox/common/color_spec.rb
749
+ - spec/motion/joybox/common/ns_string_spec.rb
750
+ - spec/motion/joybox/common/numeric_spec.rb
751
+ - spec/motion/joybox/core/node_spec.rb
752
+ - spec/motion/joybox/core/sprite_batch_spec.rb
753
+ - spec/motion/joybox/core/sprite_frame_cache_spec.rb
754
+ - spec/motion/joybox/core/sprite_spec.rb
755
+ - spec/motion/joybox/macros_spec.rb
756
+ - spec/motion/joybox/physics/aabb_spec.rb
757
+ - spec/motion/joybox/physics/body_spec.rb
758
+ - spec/motion/joybox/physics/chain_shape_spec.rb
759
+ - spec/motion/joybox/physics/circle_shape_spec.rb
760
+ - spec/motion/joybox/physics/edge_shape_spec.rb
761
+ - spec/motion/joybox/physics/fixture_spec.rb
762
+ - spec/motion/joybox/physics/mass_data_spec.rb
763
+ - spec/motion/joybox/physics/physics_sprite_spec.rb
764
+ - spec/motion/joybox/physics/polygon_shape_spec.rb
765
+ - spec/motion/joybox/physics/ray_cast_input_spec.rb
766
+ - spec/motion/joybox/physics/ray_cast_output_spec.rb
767
+ - spec/motion/joybox/physics/shape_spec.rb
768
+ - spec/motion/joybox/physics/transform_spec.rb
769
+ - spec/motion/joybox/physics/world_spec.rb
770
+ - spec/motion/joybox/ui/label_spec.rb
771
+ - spec/motion/joybox/ui/menu_image_spec.rb
772
+ - spec/motion/joybox/ui/menu_label_spec.rb
773
+ - spec/motion/joybox/ui/menu_spec.rb
774
+ - spec/spec_helpers/cg_point.rb
775
+ - spec/spec_helpers/cg_point_spec.rb